Changeset: c8532004665e for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=c8532004665e
Modified Files:
MonetDB5/src/mal/mal_instruction.mx
Branch: Oct2010
Log Message:
Don't access value that doesn't exist.
diffs (12 lines):
diff -r c4ef06d86a7d -r c8532004665e MonetDB5/src/mal/mal_instruction.mx
--- a/MonetDB5/src/mal/mal_instruction.mx Sat Oct 09 15:35:58 2010 +0200
+++ b/MonetDB5/src/mal/mal_instruction.mx Mon Oct 11 14:20:38 2010 +0200
@@ -2643,7 +2643,7 @@
advance(t,base,len);
}
/* @:performanceData@ */
- if (isTmpVar(mb, getArg(p, 0))) {
+ if (p->argc > 0 && isTmpVar(mb, getArg(p, 0))) {
if (isVarUsed(mb, getDestVar(p))) {
snprintf(nmebuf, PATHLENGTH, "%c%d", TMPMARKER,
getVarTmp(mb, getArg(p, 0)));
} else
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list