Changeset: 37ad28092f31 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/37ad28092f31
Modified Files:
        sql/include/sql_catalog.h
        sql/storage/objectset.c
        sql/storage/store.c
        sql/test/BugTracker-2024/Tests/All
Branch: Aug2024
Log Message:

Merge with Dec2023


diffs (32 lines):

diff --git 
a/sql/test/BugTracker-2024/Tests/7537-prepare_stmt_with_dropped_table.test 
b/sql/test/BugTracker-2024/Tests/7537-prepare_stmt_with_dropped_table.test
new file mode 100644
--- /dev/null
+++ b/sql/test/BugTracker-2024/Tests/7537-prepare_stmt_with_dropped_table.test
@@ -0,0 +1,19 @@
+@connection(id=c1, username=monetdb, password=monetdb)
+statement ok
+create table t(c int)
+
+@connection(id=c1, username=monetdb, password=monetdb)
+statement ok
+prepare select c * ? from t
+
+@connection(id=c1, username=monetdb, password=monetdb)
+statement ok
+exec 0(1)
+
+@connection(id=c2, username=monetdb, password=monetdb)
+statement ok
+drop table t
+
+@connection(id=c1, username=monetdb, password=monetdb)
+statement error 42S02!SELECT: no such table 't'
+exec 0(1)
diff --git a/sql/test/BugTracker-2024/Tests/All 
b/sql/test/BugTracker-2024/Tests/All
--- a/sql/test/BugTracker-2024/Tests/All
+++ b/sql/test/BugTracker-2024/Tests/All
@@ -66,3 +66,4 @@ 7535-create-view-groupby-func
 7536-mclient-forgets-to-flush
 7538-reduce-cast
 7539-is-distinct-from
+7537-prepare_stmt_with_dropped_table
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to