summaryrefslogtreecommitdiff
path: root/mysql-test/r/statistics_close.result
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2018-05-23 11:26:49 +0300
committerMonty <monty@mariadb.org>2018-05-23 11:26:49 +0300
commita816aa066e5c879a92819d694a93d245e6ec6e47 (patch)
tree47adefae278ea6f6dfe95b6b32be22d4da7a34be /mysql-test/r/statistics_close.result
parent908676dfd9d981fd0f37a7cf9332abac522f1936 (diff)
downloadmariadb-git-a816aa066e5c879a92819d694a93d245e6ec6e47.tar.gz
Fixed ASAN heap-use-after-free handler::ha_index_or_rnd_end
MDEV-16123 ASAN heap-use-after-free handler::ha_index_or_rnd_end MDEV-13828 Segmentation fault on RENAME TABLE Problem was that destructor called methods for closed table. Fixed by removing code in destructor.
Diffstat (limited to 'mysql-test/r/statistics_close.result')
-rw-r--r--mysql-test/r/statistics_close.result6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/r/statistics_close.result b/mysql-test/r/statistics_close.result
new file mode 100644
index 00000000000..348681c3311
--- /dev/null
+++ b/mysql-test/r/statistics_close.result
@@ -0,0 +1,6 @@
+CREATE TABLE t1 (i int);
+RENAME TABLE t1 TO t2;
+FLUSH TABLES;
+DROP TABLE IF EXISTS t1, t2;
+Warnings:
+Note 1051 Unknown table 'test.t1'