Update of /cvsroot/monetdb/sql/src/server
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv30726/src/server

Modified Files:
        sql_parser.mx 
Log Message:
propagated changes of Thursday Sep 03 2009 - Friday Sep 04 2009
from the Aug2009 branch to the development trunk

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/09/03 - nielsnes: src/server/sql_parser.mx,1.312.2.6
use long's instead of ints for 'restart with'
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Index: sql_parser.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/server/sql_parser.mx,v
retrieving revision 1.316
retrieving revision 1.317
diff -u -d -r1.316 -r1.317
--- sql_parser.mx       7 Aug 2009 13:31:12 -0000       1.316
+++ sql_parser.mx       4 Sep 2009 11:52:48 -0000       1.317
@@ -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

Reply via email to