Changeset: b2c8467b4043 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=b2c8467b4043
Modified Files:
MonetDB5/src/modules/mal/tablet_sql.mx
Branch: Jun2010
Log Message:
If only one thread, don't reorder work.
This should make that the test sql/src/test/copy/Tests/overflow_error.sql
becomes stable.
diffs (12 lines):
diff -r 1976120a95df -r b2c8467b4043 MonetDB5/src/modules/mal/tablet_sql.mx
--- a/MonetDB5/src/modules/mal/tablet_sql.mx Mon Jul 05 10:44:53 2010 +0200
+++ b/MonetDB5/src/modules/mal/tablet_sql.mx Mon Jul 05 12:28:45 2010 +0200
@@ -377,7 +377,7 @@
if ( task->rounds > 8 )
return;
/* simple round robin the first time */
- if ( task->rounds++ == 0){
+ if ( threads == 1 || task->rounds++ == 0){
for ( i=j=0; i < nr_attrs; i++, j++)
ptask[ j % threads].cols[i] = task->cols[i];
return;
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list