diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-06-07 15:34:59 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-06-07 15:34:59 +0200 |
commit | 742899e59d4d1c4ec8d32c140fe7ac4b134757e4 (patch) | |
tree | d73caaee6cc88a1837f0e2674779472f8f4ef84d /mysql-test/suite/handler | |
parent | 6625fad8ca9fdb3e9b473bb597f93baa757366ea (diff) | |
download | mariadb-git-742899e59d4d1c4ec8d32c140fe7ac4b134757e4.tar.gz |
MDEV-4480 Assertion `inited == NONE' fails on closing a connection with open handler on temporary table
Diffstat (limited to 'mysql-test/suite/handler')
-rw-r--r-- | mysql-test/suite/handler/disconnect_4480.result | 5 | ||||
-rw-r--r-- | mysql-test/suite/handler/disconnect_4480.test | 10 |
2 files changed, 15 insertions, 0 deletions
diff --git a/mysql-test/suite/handler/disconnect_4480.result b/mysql-test/suite/handler/disconnect_4480.result new file mode 100644 index 00000000000..d0a67c72c05 --- /dev/null +++ b/mysql-test/suite/handler/disconnect_4480.result @@ -0,0 +1,5 @@ +create temporary table t1 as select 1; +handler t1 open; +handler t1 read next; +1 +1 diff --git a/mysql-test/suite/handler/disconnect_4480.test b/mysql-test/suite/handler/disconnect_4480.test new file mode 100644 index 00000000000..507249bd8bc --- /dev/null +++ b/mysql-test/suite/handler/disconnect_4480.test @@ -0,0 +1,10 @@ +# +# MDEV-4480 Assertion `inited == NONE' fails on closing a connection with open handler on temporary table +# + +--connect (con1,localhost,root,,) +create temporary table t1 as select 1; +handler t1 open; +handler t1 read next; +--disconnect con1 + |