Changeset: baa134c5e752 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=baa134c5e752
Modified Files:
        monetdb5/mal/mal_instruction.c
Branch: default
Log Message:

A more soft termination.


diffs (13 lines):

diff --git a/monetdb5/mal/mal_instruction.c b/monetdb5/mal/mal_instruction.c
--- a/monetdb5/mal/mal_instruction.c
+++ b/monetdb5/mal/mal_instruction.c
@@ -463,7 +463,8 @@ newInstructionArgs(MalBlkPtr mb, str mod
                 * Furthermore, failure to allocate such a small data structure 
indicates we are in serious trouble.
                 * The only way out is declare it a fatal error, terminate the 
system to avoid crashes in all kind of places.
                 */
-               GDKfatal("newInstruction:" SQLSTATE(HY013) MAL_MALLOC_FAIL);
+               GDKerror("newInstruction:" SQLSTATE(HY013) MAL_MALLOC_FAIL);
+               mal_exit(1);
        }
        p->maxarg = args;
        p->typechk = TYPE_UNKNOWN;
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to