Changeset: 53b9409b9b17 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/53b9409b9b17
Modified Files:
        sql/backends/monet5/sql_gencode.c
Branch: Dec2025
Log Message:

Update client context query with prepared statement when executing it.
This causes both SIGUSR1 and tracer component SQL_EXECUTION at level
INFO to report the prepared query.


diffs (11 lines):

diff --git a/sql/backends/monet5/sql_gencode.c 
b/sql/backends/monet5/sql_gencode.c
--- a/sql/backends/monet5/sql_gencode.c
+++ b/sql/backends/monet5/sql_gencode.c
@@ -1010,6 +1010,7 @@ backend_dumpstmt_body(backend *be, MalBl
                                        qend--;
                                snprintf(buf, buf_sz, "%.*s %s", (int) qend+1, 
query, f->query);
                                query = buf;
+                               be->client->query = ma_strdup(m->sa, buf);
                        }
                }
                q = pushStr(mb, q, query);
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to