Update of /cvsroot/monetdb/sql/src/backends/monet5
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv4801
Modified Files:
sql_result.mx
Log Message:
Initialize your world before using it.
U sql_result.mx
Index: sql_result.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet5/sql_result.mx,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -d -r1.89 -r1.90
--- sql_result.mx 27 Jun 2008 20:46:11 -0000 1.89
+++ sql_result.mx 29 Jun 2008 11:45:58 -0000 1.90
@@ -438,6 +438,7 @@
stream *out = m->scanner.ws;
dec_format *dec;
+ memset((char*) &as, 0, sizeof(as));
as.nr_attrs = list_length(t->columns.set);
as.nr = sz;
as.offset = offset;
@@ -479,7 +480,7 @@
}
}
if (TABLETcreate_bats(&as, (sz<0)?1000:sz) >= 0) {
- if (TABLETload_file(&as, bs, out, (size_t) 0, (size_t)
i, 0, INT_MAX) >= 0)
+ if (TABLETload_file(&as, bs, out) >= 0)
bats = TABLETcollect_bats(&as);
}
if (as.error)
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins