Update of /cvsroot/monetdb/sql/src/server
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv16390/server
Modified Files:
Tag: Aug2009
sql_parser.mx
Log Message:
use long's instead of ints for 'restart with'
U sql_parser.mx
Index: sql_parser.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/server/sql_parser.mx,v
retrieving revision 1.312.2.5
retrieving revision 1.312.2.6
diff -u -d -r1.312.2.5 -r1.312.2.6
--- sql_parser.mx 6 Aug 2009 21:43:05 -0000 1.312.2.5
+++ sql_parser.mx 3 Sep 2009 20:42:56 -0000 1.312.2.6
@@ -1267,7 +1267,7 @@
*/
opt_start:
/* empty */ { $$ = 1; }
- | START WITH nonzero { $$ = $3; }
+ | START WITH poslng { $$ = $3; }
;
/*
@@ -1276,14 +1276,14 @@
* * -1 absent/empty
* * 0 no argument (only for RESTART)
* * 1 argument is a subquery
- * * 2 argument is simple int
+ * * 2 argument is simple lng
* - symbol: the symbol
*/
opt_restart:
/* empty */ { $$ = append_int(L(), -1); }
| RESTART { $$ = append_int(L(), 0); }
| RESTART WITH
- nonzero { $$ = append_int(append_int(L(), 2), $3); }
+ poslng { $$ = append_lng(append_int(L(), 2), $3); }
| RESTART WITH
subquery { $$ = append_symbol(append_int(L(), 1), $3); }
;
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins