Changeset: 88ca76eb17a7 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=88ca76eb17a7 Modified Files: MonetDB5/src/optimizer/opt_mapreduce.mx Branch: default Log Message:
allow more precisely to enable debugging diffs (30 lines): diff -r 892fc9b323aa -r 88ca76eb17a7 MonetDB5/src/optimizer/opt_mapreduce.mx --- a/MonetDB5/src/optimizer/opt_mapreduce.mx Thu May 20 18:18:33 2010 +0200 +++ b/MonetDB5/src/optimizer/opt_mapreduce.mx Thu May 20 20:33:00 2010 +0200 @@ -129,8 +129,6 @@ #include "mal_interpreter.h" #include "remote.h" -/* #define _DEBUG_OPT_MAPREDUCE*/ - @- The work distribution assumes that we know at compile time the number of nodes participating in the cloud setting. @@ -328,7 +326,7 @@ getArg(p, 0) = lcol->val1; } -#ifdef _DEBUG_OPT_MAPREDUCE +#if defined(_DEBUG_OPT_MAPREDUCE) && _DEBUG_OPT_MAPREDUCE == 0 chkProgram(cntxt->nspace, mb); printFunction(cntxt->fdout, mb, 0, LIST_MAL_STMT); #endif @@ -411,7 +409,7 @@ (void)stk; /* useless, is NULL */ (void)pc; -#ifdef _DEBUG_OPT_MAPREDUCE +#if defined(_DEBUG_OPT_MAPREDUCE) && _DEBUG_OPT_MAPREDUCE == 0 printFunction(cntxt->fdout, mb, 0, LIST_MAL_ALL); #endif _______________________________________________ Checkin-list mailing list Checkin-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/checkin-list