Changeset: bfbf2f2bfbf8 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=bfbf2f2bfbf8
Modified Files:
        MonetDB5/src/optimizer/opt_mapreduce.mx
        sql/src/backends/monet5/sql_scenario.mx
Branch: default
Log Message:

improve comment not to mislead the future reader


diffs (31 lines):

diff -r f5552be7a3b2 -r bfbf2f2bfbf8 MonetDB5/src/optimizer/opt_mapreduce.mx
--- a/MonetDB5/src/optimizer/opt_mapreduce.mx   Fri Dec 17 16:59:23 2010 +0100
+++ b/MonetDB5/src/optimizer/opt_mapreduce.mx   Fri Dec 17 17:06:01 2010 +0100
@@ -54,8 +54,6 @@
 
 @:exportOptimizer(mapreduce)@
 
-#define OPTDEBUGmapreduce  if ( optDebug & ((lng)1 <<DEBUG_OPT_MAPREDUCE) )
-
 #endif
 @c
 #include "mal_config.h"
diff -r f5552be7a3b2 -r bfbf2f2bfbf8 sql/src/backends/monet5/sql_scenario.mx
--- a/sql/src/backends/monet5/sql_scenario.mx   Fri Dec 17 16:59:23 2010 +0100
+++ b/sql/src/backends/monet5/sql_scenario.mx   Fri Dec 17 17:06:01 2010 +0100
@@ -597,10 +597,11 @@
 }
 
 /* #define _SQL_COMPILE */
-...@-
-BEWARE, the SQLstatementIntern turns off the autocommit mode.
-It is contrary to normal behavior.
-...@c
+
+/*
+BEWARE: SQLstatementIntern only commits after all statements found
+in expr are executed, when autocommit mode is enabled.
+*/
 str
 SQLstatementIntern(Client c, str *expr, str nme, int execute, bit output)
 {
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to