Update of /cvsroot/monetdb/sql/src/backends/monet5
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv18002

Modified Files:
        sql.mx 
Log Message:
Advance too,.... how sloppy one can be.


Index: sql.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet5/sql.mx,v
retrieving revision 1.378
retrieving revision 1.379
diff -u -d -r1.378 -r1.379
--- sql.mx      27 Dec 2009 22:56:44 -0000      1.378
+++ sql.mx      27 Dec 2009 23:06:36 -0000      1.379
@@ -3210,14 +3210,14 @@
        bn->T->nonil= b->T->nonil;
        if ( b->T->nonil){
                for (; p<q; p++)
-                       *o = (@1)*p;
+                       *o++ = (@1)*p;
        } else{
                for (; p<q; p++)
                if (*p == @2_nil) {
-                       *o = @1_nil;
+                       *o++ = @1_nil;
                        bn->T->nonil= FALSE;
                } else
-                       *o = (@1)*p;
+                       *o++ = (@1)*p;
        }
        BATsetcount(bn, BATcount(b));
     bn->tsorted = 0;
@@ -3274,7 +3274,7 @@
                        val = *p;
                        /* see if the number fits in the data type */
                        if ((@3)(@1)val > (@3) g...@1_min && val > (@3) 
g...@1_min && val <= (@3) g...@1_max)   {
-                               *o = (@1)val;
+                               *o++ = (@1)val;
                        } else {
                                msg= createException(SQL, "convert", "value (" 
@4 ") exceeds limits of type @1", val);
                                break;
@@ -3283,13 +3283,13 @@
        } else{
                for (; p<q; p++)
                if (*p == @2_nil) {
-                       *o = @1_nil;
+                       *o++ = @1_nil;
                        bn->T->nonil= FALSE;
                } else {
                        val = *p;
                        /* see if the number fits in the data type */
                        if ((@3)(@1)val > (@3) g...@1_min && val > (@3) 
g...@1_min && val <= (@3) g...@1_max)   {
-                               *o = (@1)val;
+                               *o++ = (@1)val;
                        } else {
                                msg= createException(SQL, "convert", "value (" 
@4 ") exceeds limits of type @1", val);
                                break;


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to