diff options
author | Bjorn Munch <Bjorn.Munch@sun.com> | 2010-01-06 12:56:22 +0100 |
---|---|---|
committer | Bjorn Munch <Bjorn.Munch@sun.com> | 2010-01-06 12:56:22 +0100 |
commit | ed64190b232ed23974bc0dc11e8b586d8bfb6c71 (patch) | |
tree | cfa7deb48dd35490016e27c8e225a81337fe03fb /mysql-test/t/mysqltest.test | |
parent | 90b24e992e7c55d76e8d35c419d55403b52d961f (diff) | |
download | mariadb-git-ed64190b232ed23974bc0dc11e8b586d8bfb6c71.tar.gz |
Bug #49269 mysqltest crashes on 'reap' if query executed after 'send'
Small amendment: ignore pending reap when switching connection, add test
Diffstat (limited to 'mysql-test/t/mysqltest.test')
-rw-r--r-- | mysql-test/t/mysqltest.test | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/t/mysqltest.test b/mysql-test/t/mysqltest.test index 45fc0715312..f3fea9348e4 100644 --- a/mysql-test/t/mysqltest.test +++ b/mysql-test/t/mysqltest.test @@ -1654,6 +1654,18 @@ EOF --exec $MYSQL_TEST < $MYSQLTEST_VARDIR/tmp/mysqltest.in 2>&1 remove_file $MYSQLTEST_VARDIR/tmp/mysqltest.in; +# 7. Test that stmt after send without reap IS allowed +# if we have switched connections + +connect (test_con1,localhost,root,,); +--send select * from t1; +connection default; +select 1; +connection test_con1; +select 2; +disconnect test_con1; +connection default; + drop table t1; # ---------------------------------------------------------------------------- |