Changeset: 7d5ac3caeb59 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=7d5ac3caeb59
Modified Files:
        monetdb5/mal/mal_interpreter.c
Branch: embedded
Log Message:

small fix, no input stream in embedded mode


diffs (12 lines):

diff --git a/monetdb5/mal/mal_interpreter.c b/monetdb5/mal/mal_interpreter.c
--- a/monetdb5/mal/mal_interpreter.c
+++ b/monetdb5/mal/mal_interpreter.c
@@ -553,7 +553,7 @@ str runMALsequence(Client cntxt, MalBlkP
                //Ensure we spread system resources over multiple users as well.
                runtimeProfileBegin(cntxt, mb, stk, pci, &runtimeProfile);
                if (runtimeProfile.ticks > lastcheck + CHECKINTERVAL) {
-                       if (!mnstr_isalive(cntxt->fdin->s)) {
+                       if (cntxt->fdin && !mnstr_isalive(cntxt->fdin->s)) {
                                cntxt->mode = FINISHCLIENT;
                                stkpc = stoppc;
                                ret= createException(MAL, "mal.interpreter", 
"prematurely stopped client");
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to