Update of /cvsroot/monetdb/sql/src/backends/monet5
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv5670/src/backends/monet5

Modified Files:
      Tag: Nov2008
        sql.mx 
Log Message:
properly check for bats (use isaBatType instead of == TYPE_bat)
for mal variables


U sql.mx
Index: sql.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet5/sql.mx,v
retrieving revision 1.295.2.2
retrieving revision 1.295.2.3
diff -u -d -r1.295.2.2 -r1.295.2.3
--- sql.mx      7 Jan 2009 14:16:42 -0000       1.295.2.2
+++ sql.mx      13 Jan 2009 12:27:28 -0000      1.295.2.3
@@ -1737,7 +1737,7 @@
        (void) cntxt;
        if (msg)
                return msg;
-       if (mtype == TYPE_bat) {
+       if (isaBatType(mtype)) {
                bat *order_bid = (bat *)getArgReference(stk, pci, 6);
                if ((order = BATdescriptor(*order_bid)) == NULL ) {
                                throw(SQL, "sql.resultSet", "Cannot access 
descriptor");


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to