Changeset: ec940e6a2d53 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/ec940e6a2d53
Modified Files:
monetdb5/mal/mal_interpreter.c
Branch: Aug2024
Log Message:
Don't stop client when we get a query timeout.
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
@@ -591,7 +591,7 @@ runMALsequence(Client cntxt, MalBlkPtr m
runtimeProfileBegin(cntxt, mb, stk, pci, &runtimeProfile);
if (runtimeProfile.ticks > lastcheck + CHECKINTERVAL) {
if (cntxt->fdin && TIMEOUT_TEST(&cntxt->qryctx)) {
- if (cntxt->qryctx.endtime != QRY_INTERRUPT)
+ if (cntxt->qryctx.endtime != QRY_INTERRUPT &&
cntxt->qryctx.endtime != QRY_TIMEOUT)
cntxt->mode = FINISHCLIENT;
stkpc = stoppc;
ret = createException(MAL, "mal.interpreter",
"%s",
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]