Changeset: 7e2a2426e682 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=7e2a2426e682
Modified Files:
        monetdb5/optimizer/opt_support.c
Branch: Aug2011
Log Message:

Partial transplant of changeset fbe3bda547b2 .
This fixes bug 2883.


diffs (12 lines):

diff --git a/monetdb5/optimizer/opt_support.c b/monetdb5/optimizer/opt_support.c
--- a/monetdb5/optimizer/opt_support.c
+++ b/monetdb5/optimizer/opt_support.c
@@ -1205,7 +1205,7 @@ hasSideEffects(InstrPtr p, int strict)
                /* the update instructions for SQL has side effects.
                   whether this is relevant should be explicitly checked
                   in the environment of the call */
-               if (isUpdateInstruction(p)) return FALSE;
+               if (isUpdateInstruction(p)) return TRUE;
                return TRUE;
        }
        if( getModuleId(p) == languageRef){
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to