diff options
author | Sergei Golubchik <serg@mariadb.org> | 2019-02-27 15:43:57 -0500 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2019-02-27 23:27:43 -0500 |
commit | 9fd3e810e8af49105b65578292d271cca23f2c34 (patch) | |
tree | 5092af54f5dc1b44730b5ca8212228c5f91e1fad /mysql-test/main | |
parent | 304f0084ef86b712358393b3b673e88612320957 (diff) | |
download | mariadb-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')
-rw-r--r-- | mysql-test/main/long_unique_bugs.result | 4 | ||||
-rw-r--r-- | mysql-test/main/long_unique_bugs.test | 8 |
2 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/main/long_unique_bugs.result b/mysql-test/main/long_unique_bugs.result index d81125eda91..05ddceb63f8 100644 --- a/mysql-test/main/long_unique_bugs.result +++ b/mysql-test/main/long_unique_bugs.result @@ -49,3 +49,7 @@ pk f row_end > DATE'2030-01-01' 1 foo 0 1 bar 0 drop table t1; +create temporary table t1 (f blob, unique(f)) engine=innodb; +insert into t1 values (1); +replace into t1 values (1); +drop table t1; 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; |