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

Modified Files:
      Tag: Nov2009
        sql_scan.mx 
Log Message:
propagated changes of Monday Nov 02 2009
from the Aug2009 branch to the Nov2009 branch

  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2009/11/02 - sjoerd: src/server/sql_scan.mx,1.151.2.3
  Protect against realloc failure in bstreams.
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Index: sql_scan.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/server/sql_scan.mx,v
retrieving revision 1.155.2.1
retrieving revision 1.155.2.2
diff -u -d -r1.155.2.1 -r1.155.2.2
--- sql_scan.mx 30 Oct 2009 21:38:04 -0000      1.155.2.1
+++ sql_scan.mx 2 Nov 2009 09:06:08 -0000       1.155.2.2
@@ -428,10 +428,9 @@
 
        s->rs->pos += s->yycur;
        /* completely eat the query including white space after the ; */
-       cur = s->rs->buf[s->rs->pos];
-       while (s->rs->pos < s->rs->len && isspace(cur)) {
+       while (s->rs->pos < s->rs->len &&
+              (cur = s->rs->buf[s->rs->pos], isspace(cur))) {
                s->rs->pos++;
-               cur = s->rs->buf[s->rs->pos];
        }
        /*assert(s->rs->pos <= s->rs->len);*/
        s->yycur = 0;


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to