Changeset: a4f844538f0c for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a4f844538f0c
Modified Files:
monetdb5/mal/mal_interpreter.mx
Branch: Mar2011
Log Message:
just in case: added another defensive assertion before dereferencing
InstrPtr.fcn
diffs (11 lines):
diff --git a/monetdb5/mal/mal_interpreter.mx b/monetdb5/mal/mal_interpreter.mx
--- a/monetdb5/mal/mal_interpreter.mx
+++ b/monetdb5/mal/mal_interpreter.mx
@@ -2001,6 +2001,7 @@
{
@:safeTarget(@1)@
/* improve performance with 20 ms/1M calls*/
+ assert(pci->fcn != NULL);
switch(pci->argc){
case 0 : ret = (str) (*pci->fcn)(); break;
case 1 : ret = (str) (*pci->fcn)(
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list