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

Modified Files:
        sql_result.mx 
Log Message:
switched to using parallel loader only. Also for non file case.
Still some tests fail, but we want the same rules for csv data for
both files and stream input.


U sql_result.mx
Index: sql_result.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet5/sql_result.mx,v
retrieving revision 1.119
retrieving revision 1.120
diff -u -d -r1.119 -r1.120
--- sql_result.mx       4 Aug 2009 22:08:17 -0000       1.119
+++ sql_result.mx       7 Aug 2009 15:49:30 -0000       1.120
@@ -494,7 +494,7 @@
                        fmt[i].size = ATOMsize(fmt[i].adt);
                }
                if (TABLETcreate_bats(&as, (BUN) (sz < 0 ? 1000 : sz)) >= 0) {
-                       if (( getFile(bs->s) == NULL && 
TABLETload_file(&as,bs,out) != BUN_NONE) || SQLload_file(&as, bs, out, sep, 
rsep, *ssep, offset, sz) != BUN_NONE)
+                       if (SQLload_file(&as, bs, out, sep, rsep, *ssep, 
offset, sz) != BUN_NONE)
                                bats = TABLETcollect_bats(&as);
                }
                if (as.error)


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to