Changeset: 18d67a337836 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=18d67a337836
Modified Files:
sql/backends/monet5/sql.mx
Branch: Feb2013
Log Message:
RAstatement(): keep and restore cntxt->glb around MSinitClientPrg()
just as with SQLstatementIntern()
diffs (19 lines):
diff --git a/sql/backends/monet5/sql.mx b/sql/backends/monet5/sql.mx
--- a/sql/backends/monet5/sql.mx
+++ b/sql/backends/monet5/sql.mx
@@ -7664,6 +7664,7 @@ RAstatement(Client cntxt, MalBlkPtr mb,
int oldstop = cntxt->curprg->def->stop;
stmt *s;
char *msg;
+ MalStkPtr oldglb = cntxt->glb;
if (*opt)
rel = rel_optimizer(m, rel);
@@ -7681,6 +7682,7 @@ RAstatement(Client cntxt, MalBlkPtr mb,
resetMalBlk(cntxt->curprg->def, oldstop);
freeVariables(cntxt,cntxt->curprg->def, cntxt->glb,
oldvtop);
}
+ cntxt->glb = oldglb;
}
return msg;
}
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list