Changeset: 58c998382e04 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=58c998382e04
Modified Files:
        MonetDB5/src/optimizer/opt_mitosis.mx
Branch: default
Log Message:

Weird way to control mitosis.
This GDK environment variable is strange. No idea why/who put
it there, but it is certainly not a good way to control GDK testing.
It should also be removed from gdk_utils.


diffs (12 lines):

diff -r a9280bf0e521 -r 58c998382e04 MonetDB5/src/optimizer/opt_mitosis.mx
--- a/MonetDB5/src/optimizer/opt_mitosis.mx     Tue Oct 05 00:06:09 2010 +0200
+++ b/MonetDB5/src/optimizer/opt_mitosis.mx     Tue Oct 05 00:59:23 2010 +0200
@@ -148,7 +148,7 @@
                r= (BUN) (monet_memory /typewidth/GDKnr_threads); /* how much 
fits  */
                if (rowcnt > r )
                        pieces = (int) (rowcnt /r+1);
-               if (GDK_testing && pieces < GDKnr_threads )
+               if (pieces < GDKnr_threads )
                        pieces = GDKnr_threads;  /* split up anyway when 
testing */
                if (pieces > MAXSLICES)
                        pieces = MAXSLICES; /* cut off potential plan explosion 
*/
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to