summaryrefslogtreecommitdiff
path: root/mysql-test/main/long_unique_bugs.test
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2019-02-27 15:43:57 -0500
committerSergei Golubchik <serg@mariadb.org>2019-02-27 23:27:43 -0500
commit9fd3e810e8af49105b65578292d271cca23f2c34 (patch)
tree5092af54f5dc1b44730b5ca8212228c5f91e1fad /mysql-test/main/long_unique_bugs.test
parent304f0084ef86b712358393b3b673e88612320957 (diff)
downloadmariadb-git-9fd3e810e8af49105b65578292d271cca23f2c34.tar.gz
MDEV-18747 InnoDB: Failing assertion: table->get_ref_count() == 0 upon dropping temporary table with unique blob
delete update handler clone also for temporary tables
Diffstat (limited to 'mysql-test/main/long_unique_bugs.test')
-rw-r--r--mysql-test/main/long_unique_bugs.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/main/long_unique_bugs.test b/mysql-test/main/long_unique_bugs.test
index 6220a22e759..f00b3171a54 100644
--- a/mysql-test/main/long_unique_bugs.test
+++ b/mysql-test/main/long_unique_bugs.test
@@ -56,3 +56,11 @@ update t1 set f = 'foo';
select * from t1;
select pk, f, row_end > DATE'2030-01-01' from t1 for system_time all;
drop table t1;
+
+#
+# MDEV-18747 InnoDB: Failing assertion: table->get_ref_count() == 0 upon dropping temporary table with unique blob
+#
+create temporary table t1 (f blob, unique(f)) engine=innodb;
+insert into t1 values (1);
+replace into t1 values (1);
+drop table t1;