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

Modified Files:
      Tag: Feb2010
        sql_atom.mx 
Log Message:

purely for consistency with similar code elsewhere:
replace "ATOMstorage(a->data.vtype) < TYPE_str"
     by "ATOMextern(a->data.vtype) == 0"


Index: sql_atom.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/server/sql_atom.mx,v
retrieving revision 1.70.2.1
retrieving revision 1.70.2.2
diff -u -d -r1.70.2.1 -r1.70.2.2
--- sql_atom.mx 16 Feb 2010 15:20:40 -0000      1.70.2.1
+++ sql_atom.mx 21 Mar 2010 11:15:30 -0000      1.70.2.2
@@ -277,7 +277,7 @@
                        VALset(&a->data, a->data.vtype, p);
                        a->destroy = 1;
 
-                       if (p && ATOMstorage(a->data.vtype) < TYPE_str)
+                       if (p && ATOMextern(a->data.vtype) == 0)
                                GDKfree(p);
                        /*_DELETE(val);*/
                }


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to