Update of /cvsroot/monetdb/sql/src/backends/monet5
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14554
Modified Files:
sql_result.mx
Log Message:
This should fix the loading issues.
Still have to look into why sometimes a timeout occurs.
U sql_result.mx
Index: sql_result.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet5/sql_result.mx,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -d -r1.86 -r1.87
--- sql_result.mx 19 Jun 2008 06:04:02 -0000 1.86
+++ sql_result.mx 19 Jun 2008 09:45:14 -0000 1.87
@@ -442,6 +442,8 @@
as.nr = sz;
as.offset = offset;
as.error = NULL;
+ as.tryall = 0;
+ as.complaints= NULL;
fmt = as.format = (Column *) GDKmalloc(sizeof(Column) *
(as.nr_attrs + 1));
dec = (dec_format*) GDKmalloc(sizeof(dec_format) * (as.nr_attrs
+ 1));
@@ -475,7 +477,7 @@
}
}
if (TABLETcreate_bats(&as, (sz<0)?1000:sz) >= 0) {
- if (TABLETload_file(&as, bs, out,0, i) >= 0)
+ if (TABLETload_file(&as, bs, out, (size_t) 0, (size_t)
i) >= 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