Changeset: 1d6e8def4946 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=1d6e8def4946
Modified Files:
        monetdb5/mal/mal_interpreter.c
Branch: Apr2019
Log Message:

Turn stopping a query into an error.
This fixes bug 6730.


diffs (13 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
@@ -544,7 +544,8 @@ str runMALsequence(Client cntxt, MalBlkP
                        if (stk->cmd == 'x' ) {
                                stk->cmd = 0;
                                stkpc = mb->stop;
-                               continue;
+                               ret= createException(MAL, "mal.interpreter", 
"prematurely stopped client");
+                               break;
                        }
                }
 
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to