Changeset: 41bc59416878 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/41bc59416878
Modified Files:
        monetdb5/mal/mal_runtime.c
Branch: Sep2022
Log Message:

Use .stk field instead of .query to check for empty QRYqueue record.


diffs (12 lines):

diff --git a/monetdb5/mal/mal_runtime.c b/monetdb5/mal/mal_runtime.c
--- a/monetdb5/mal/mal_runtime.c
+++ b/monetdb5/mal/mal_runtime.c
@@ -233,7 +233,7 @@ runtimeProfileInit(Client cntxt, MalBlkP
                size_t j = qlast;
                if (++qlast >= qsize)
                        qlast = 0;
-               if (QRYqueue[j].query == NULL ||
+               if (QRYqueue[j].stk == NULL ||
                        QRYqueue[j].status == 0 ||
                        (QRYqueue[j].status[0] != 'r' &&
                         QRYqueue[j].status[0] != 'p')) {
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to