diff options
author | Sergei Golubchik <serg@mariadb.org> | 2016-07-12 12:13:31 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2016-07-12 12:13:31 +0200 |
commit | 4e19aa386493fcf0613049b47cbb9b151e2d3e8d (patch) | |
tree | ad6254e816a5953bcbfbbfc9c311a8d2bbdbba95 | |
parent | 97ded96a33abb98190537e10e94c7dadf5bd0a5f (diff) | |
download | mariadb-git-4e19aa386493fcf0613049b47cbb9b151e2d3e8d.tar.gz |
MDEV-10318 unset params in --ps --embedded
add a test case
-rw-r--r-- | mysql-test/r/ps_1general.result | 2 | ||||
-rw-r--r-- | mysql-test/t/ps_1general.test | 7 |
2 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/r/ps_1general.result b/mysql-test/r/ps_1general.result index 0a3d16cf48e..cc31944fd1f 100644 --- a/mysql-test/r/ps_1general.result +++ b/mysql-test/r/ps_1general.result @@ -788,3 +788,5 @@ execute stmt1; 1 drop prepare stmt1; drop table t1; +select ?+1; +Got one of the listed errors diff --git a/mysql-test/t/ps_1general.test b/mysql-test/t/ps_1general.test index 812b1b5ff94..7b7b87ef851 100644 --- a/mysql-test/t/ps_1general.test +++ b/mysql-test/t/ps_1general.test @@ -936,3 +936,10 @@ drop table t1; # Matthias # End of 4.1 tests + +# +# MDEV-10318 unset params in --ps --embedded +# +--error ER_PARSE_ERROR,2031 +select ?+1; + |