This commit is contained in:
brianb
2004-02-08 22:29:56 +00:00
parent 94b114c0d9
commit df4a73b45b
3 changed files with 2 additions and 3 deletions

View File

@@ -12,6 +12,7 @@ Sun Feb 8 13:02:56 EST 2004 Brian Bruns <brian@bruns.com>
* src/sql/parser.y: * src/sql/parser.y:
* src/sql/mdbsql.c: added mdb_sql_eval_expr() to support 0=1 literal comparison * src/sql/mdbsql.c: added mdb_sql_eval_expr() to support 0=1 literal comparison
* src/libmdb/sargs.c: check for null node->col (literal comparision) * src/libmdb/sargs.c: check for null node->col (literal comparision)
* src/sql/Makefile.am: change hardcoded bison reference to @YACC@
Fri Feb 6 18:08:59 EST 2004 Brian Bruns <brian@bruns.com> Fri Feb 6 18:08:59 EST 2004 Brian Bruns <brian@bruns.com>

View File

@@ -13,8 +13,6 @@ typedef struct {
GPtrArray *columns; GPtrArray *columns;
int num_tables; int num_tables;
GPtrArray *tables; GPtrArray *tables;
//int num_sargs;
//GPtrArray *sargs;
MdbTableDef *cur_table; MdbTableDef *cur_table;
MdbSargNode *sarg_tree; MdbSargNode *sarg_tree;
GList *sarg_stack; GList *sarg_stack;

View File

@@ -3,7 +3,7 @@ libmdbsql_la_SOURCES= mdbsql.c parser.y lexer.l
INCLUDES = -I$(top_srcdir)/include $(GLIB_CFLAGS) INCLUDES = -I$(top_srcdir)/include $(GLIB_CFLAGS)
LIBS = $(GLIB_LIBS) LIBS = $(GLIB_LIBS)
LDADD = ../libmdb/libmdb.la LDADD = ../libmdb/libmdb.la
YACC = bison -y -d YACC = @YACC@ -d
dist-hook: dist-hook:
rm -f $(distdir)/parser.c $(distdir)/parser.h $(distdir)/lexer.c rm -f $(distdir)/parser.c $(distdir)/parser.h $(distdir)/lexer.c