Changeset: 1fec320a57c5 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=1fec320a57c5 Modified Files: monetdb5/mal/mal_session.c Branch: default Log Message:
Don't ignore MAL exceptions in embedded mode. We should never have MAL exceptions in embedded mode because we always have the same MAL files and we don't have any sockets to worry about; ignoring MAL exceptions usually leads to worse crashes later on so it is better to just stop. diffs (25 lines): diff --git a/monetdb5/mal/mal_session.c b/monetdb5/mal/mal_session.c --- a/monetdb5/mal/mal_session.c +++ b/monetdb5/mal/mal_session.c @@ -58,11 +58,19 @@ malBootstrap(void) } pushEndInstruction(c->curprg->def); chkProgram(c->fdout, c->nspace, c->curprg->def); - if (c->curprg->def->errors) + if (c->curprg->def->errors) { showErrors(c); +#ifdef HAVE_EMBEDDED + return 0; +#endif + } s = MALengine(c); - if (s != MAL_SUCCEED) + if (s != MAL_SUCCEED) { GDKfree(s); +#ifdef HAVE_EMBEDDED + return 0; +#endif + } return 1; } _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list