59 Commits

Author SHA1 Message Date
Jeff Garzik
ebcaf5895e emit() sweep: convert everything else, except for strange-func-call cases
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2009-11-08 23:33:06 -05:00
Jeff Garzik
dd1900b02b emit() sweep: converting several of the stragglers remaining
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2009-11-08 23:11:39 -05:00
Jeff Garzik
38ec0eb526 emit() sweep: convert expressions, values, DELETE and SELECT
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2009-11-08 22:19:53 -05:00
Jeff Garzik
5f11c7e1e0 emit() sweep: convert CREATE TABLE column definition/attribs/constraints
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2009-11-08 21:16:50 -05:00
Jeff Garzik
8948cfcb31 emit() sweep: basics of CREATE TABLE now converted to API form
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2009-11-08 19:32:25 -05:00
Jeff Garzik
af321368f2 Begin replacing emit() placeholders with API function calls
CREATE DATABASE, DROP DATABASE, DROP TABLE, sql statement, and list
of table names all have associated API calls.

Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2009-11-08 18:57:33 -05:00
Jeff Garzik
93996b7097 sql.y: support DROP DATABASE, DROP TABLE
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2009-11-08 18:31:04 -05:00
Jeff Garzik
b8dbe27f6c Makefile: create OBJS list, to ease addition of new .c modules
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2009-11-08 18:26:56 -05:00
Jeff Garzik
62870f4575 Check in SQL lexer and parser from John Levine's _Flex & Bison_ O'Reilly book
The only changes were those needed to make the newly renamed parser build,
makefile and header file name changes.

Book URL, which describes the parser's construction (chapter 4):
	http://oreilly.com/catalog/9780596155988

Software URL: ftp://ftp.iecc.com/pub/file/flexbison.zip

Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2009-11-08 17:34:31 -05:00