Skip to content

Commit 4e19aa3

Browse files
committed
MDEV-10318 unset params in --ps --embedded
add a test case
1 parent 97ded96 commit 4e19aa3

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

mysql-test/r/ps_1general.result

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -788,3 +788,5 @@ execute stmt1;
788788
1
789789
drop prepare stmt1;
790790
drop table t1;
791+
select ?+1;
792+
Got one of the listed errors

mysql-test/t/ps_1general.test

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -936,3 +936,10 @@ drop table t1;
936936
# Matthias
937937

938938
# End of 4.1 tests
939+
940+
#
941+
# MDEV-10318 unset params in --ps --embedded
942+
#
943+
--error ER_PARSE_ERROR,2031
944+
select ?+1;
945+

0 commit comments

Comments
 (0)