Changeset: 7b48eb76c4e2 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/7b48eb76c4e2
Added Files:
        sql/test/BugTracker-2024/Tests/7537-prepare_stmt_with_dropped_table.test
Modified Files:
        sql/test/BugTracker-2024/Tests/All
Branch: Dec2023
Log Message:

Add test for #7537


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
@@ -56,3 +56,4 @@ 7511-password-hash-missing-error
 7512-concurrent-globaltmp-instantiate-crash
 7513-uri-authority-parse-issue
 7528-jarowinkler-null
+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