Changeset: 599651c7b030 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/599651c7b030
Modified Files:
monetdb5/optimizer/opt_constants.c
Branch: default
Log Message:
I guess here the wrong variable was used. But the simple_plans test is still
failing
diffs (12 lines):
diff --git a/monetdb5/optimizer/opt_constants.c
b/monetdb5/optimizer/opt_constants.c
--- a/monetdb5/optimizer/opt_constants.c
+++ b/monetdb5/optimizer/opt_constants.c
@@ -60,7 +60,7 @@ OPTconstantsImplementation(Client cntxt,
if ( !q) {
continue;
}
- if ( getModuleId(p) == sqlRef && getFunctionId(p) != tidRef) {
+ if ( getModuleId(q) == sqlRef && getFunctionId(q) != tidRef) {
continue;
}
if( hasSideEffects(mb, q, 1) )
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list