src/inc/rql.h 1.2

1.2 2009/12/03 18:00:22 kent
Adding limit clause to RQL parsing.
Index: src/inc/rql.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/inc/rql.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -B -U 4 -r1.1 -r1.2
--- src/inc/rql.h	2 Dec 2009 19:09:53 -0000	1.1
+++ src/inc/rql.h	3 Dec 2009 18:00:22 -0000	1.2
@@ -83,9 +83,10 @@
     char *next;		/* Next in list */
     char *command;	/* Generally the first word in the statement. */
     struct slName *fieldList;	/* List of fields if any. */
     struct slName *tableList;	/* List of tables if any. */
-    struct rqlParse *whereClause;	/* Where clause if any - tokenized. */
+    struct rqlParse *whereClause;	/* Where clause if any - in parse tree. */
+    int limit;		/* If >= 0 then limits # of records returned. */
     };
 
 void rqlValDump(union rqlVal val, enum rqlType type, FILE *f);
 /* Dump out value to file. */