Changeset: f364c5c0886a for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=f364c5c0886a
Modified Files:
MonetDB5/src/optimizer/opt_macro.mx
Branch: Oct2010
Log Message:
Off-by-one error.
The limit here should be the same as the limit in malFcnMatch.
diffs (12 lines):
diff -r 0e326a2708d9 -r f364c5c0886a MonetDB5/src/optimizer/opt_macro.mx
--- a/MonetDB5/src/optimizer/opt_macro.mx Mon Oct 11 14:28:50 2010 +0200
+++ b/MonetDB5/src/optimizer/opt_macro.mx Mon Oct 11 14:30:24 2010 +0200
@@ -475,7 +475,7 @@
GDKfree(cvar);
return -1;
}
- lim = pc + mc->stop - 2;
+ lim = pc + mc->stop - 3;
k = 1;
for (i = pc; i < lim; i++, k++) {
p = getInstrPtr(mb, i);
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list