Changeset: dc247c82fba7 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=dc247c82fba7
Modified Files:
        sql/backends/monet5/sql_execute.c
Branch: Oct2020
Log Message:

fix bug 6981, ie don't clean the query cache on prepare statements


diffs (12 lines):

diff --git a/sql/backends/monet5/sql_execute.c 
b/sql/backends/monet5/sql_execute.c
--- a/sql/backends/monet5/sql_execute.c
+++ b/sql/backends/monet5/sql_execute.c
@@ -631,7 +631,7 @@ SQLengineIntern(Client c, backend *be)
                msg = SQLrun(c,m);
 
 cleanup_engine:
-       if (m->type == Q_SCHEMA && m->qc != NULL)
+       if (m->emode != m_prepare && m->type == Q_SCHEMA && m->qc != NULL)
                qc_clean(m->qc);
        if (msg) {
                /* don't print exception decoration, just the message */
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to