diff options
author | Aleksey Midenkov <midenok@gmail.com> | 2019-12-05 15:11:18 +0300 |
---|---|---|
committer | Aleksey Midenkov <midenok@gmail.com> | 2019-12-05 15:25:30 +0300 |
commit | d759f764f6b115ca7ad7644ae3ee2e19c71c6138 (patch) | |
tree | efd9fe9a25960de6fb2457094be38a1bf338b137 /mysql-test/suite/versioning/r | |
parent | c4ed1bee5b0dcaf878080d2bdc193f7d28cff78b (diff) | |
download | mariadb-git-d759f764f6b115ca7ad7644ae3ee2e19c71c6138.tar.gz |
MDEV-21233 Assertion `m_extra_cache' failed in ha_partition::late_extra_cache
Incorrect assertion of EXTRA_CACHE for
HA_EXTRA_PREPARE_FOR_UPDATE. The latter is related to read cache, but
must operate without it as a noop.
Related to Bug#55458 and MDEV-20441.
Diffstat (limited to 'mysql-test/suite/versioning/r')
-rw-r--r-- | mysql-test/suite/versioning/r/partition.result | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/suite/versioning/r/partition.result b/mysql-test/suite/versioning/r/partition.result index a6fa5fcf2ad..aa884743b2f 100644 --- a/mysql-test/suite/versioning/r/partition.result +++ b/mysql-test/suite/versioning/r/partition.result @@ -605,3 +605,12 @@ Table Op Msg_type Msg_text test.t1 check note Not supported for non-INTERVAL history partitions test.t1 check note The storage engine for the table doesn't support check drop table t1; +# +# MDEV-21233 Assertion `m_extra_cache' failed in ha_partition::late_extra_cache +# +create table t1 (id int, a varchar(8)) with system versioning partition by key (id) partitions 2; +insert into t1 values (1,'foo'),(2,'bar'); +create table t2 (b int); +insert into t2 values (1),(2); +update t1, t2 set a = 1; +drop table t1, t2; |