Update of /cvsroot/monetdb/sql/src/backends/monet5
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv18104

Modified Files:
        sql_result.mx 
Log Message:
Pass the correct number of columns


U sql_result.mx
Index: sql_result.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet5/sql_result.mx,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -d -r1.92 -r1.93
--- sql_result.mx       25 Aug 2008 13:36:15 -0000      1.92
+++ sql_result.mx       28 Aug 2008 19:35:17 -0000      1.93
@@ -431,7 +431,7 @@
 
                memset((char*) &as, 0, sizeof(as));
                as.nr_attrs = list_length(t->columns.set);
-               as.nr = sz;
+               as.nr = (sz<1)?BUN_NONE:sz;
                as.offset = offset;
                as.error = NULL;
                as.tryall = 0;


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to