Changeset: cc7d44ba0790 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=cc7d44ba0790
Modified Files:
monetdb5/mal/mal_scenario.c
Branch: Apr2019
Log Message:
Move initialization to after call to setjmp.
diffs (17 lines):
diff --git a/monetdb5/mal/mal_scenario.c b/monetdb5/mal/mal_scenario.c
--- a/monetdb5/mal/mal_scenario.c
+++ b/monetdb5/mal/mal_scenario.c
@@ -526,11 +526,12 @@ runPhase(Client c, int phase)
static str
runScenarioBody(Client c, int once)
{
- str msg= MAL_SUCCEED;
+ str msg;
c->exception_buf_initialized = 1;
if (setjmp( c->exception_buf) < 0)
c->mode = FINISHCLIENT;
+ msg = MAL_SUCCEED;
while (c->mode > FINISHCLIENT && !GDKexiting()) {
// be aware that a MAL call may initialize a different scenario
if ( !c->state[0] && (msg = runPhase(c,
MAL_SCENARIO_INITCLIENT)) )
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list