Changeset: ca4c271bf930 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/ca4c271bf930
Modified Files:
monetdb5/mal/mal_interpreter.c
Branch: Mar2025
Log Message:
Fix some silly code.
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
@@ -620,7 +620,7 @@ runMALsequence(Client cntxt, MalBlkPtr m
/* if still the same, replace lastprint with
current
* time and print the query */
if (ATOMIC_CAS(&cntxt->lastprint, &lp, t)) {
- const char *q = cntxt->query ?
cntxt->query : NULL;
+ const char *q = cntxt->query;
TRC_INFO(MAL_SERVER,
"%s: query already
running " LLFMT "s: %.200s\n",
cntxt->mythread ?
cntxt->mythread : "?",
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]