Update of /cvsroot/monetdb/sql/src/backends/monet5
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv17548/src/backends/monet5
Modified Files:
sql_result.mx
Log Message:
Cast BUN_MAX and BUN_NONE to BUN and VAR_MAX to var_t.
Add casts where these values (actually only BUN_MAX) are used with a signed
type.
U sql_result.mx
Index: sql_result.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet5/sql_result.mx,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -d -r1.95 -r1.96
--- sql_result.mx 9 Sep 2008 08:16:31 -0000 1.95
+++ sql_result.mx 10 Sep 2008 20:10:46 -0000 1.96
@@ -431,7 +431,7 @@
memset((char*) &as, 0, sizeof(as));
as.nr_attrs = list_length(t->columns.set);
- as.nr = (sz<1)?BUN_NONE:sz;
+ as.nr = (sz<1)?BUN_NONE:(BUN)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