diff options
author | Sergei Golubchik <serg@mariadb.org> | 2018-05-06 22:46:56 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2018-05-08 10:48:13 +0200 |
commit | 34045af03f25fc2edd7c0c8db054e505f271513c (patch) | |
tree | 25f14d17460cf65238657b1e87afe4fec5fd4d90 /mysql-test/t | |
parent | 087ea8f820f46e200a2f8f84328c078555dda45f (diff) | |
download | mariadb-git-34045af03f25fc2edd7c0c8db054e505f271513c.tar.gz |
MDEV-15216 Assertion `! is_set() || m_can_overwrite_status' failed in Diagnostics_area::set_error_status upon operation inside XA
don't implicitly commit or rollback in mysql_admin_table()
unless the statement has CF_IMPLICIT_COMMIT_END flag.
Diffstat (limited to 'mysql-test/t')
-rw-r--r-- | mysql-test/t/assign_key_cache.test | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/t/assign_key_cache.test b/mysql-test/t/assign_key_cache.test new file mode 100644 index 00000000000..401e7bf9138 --- /dev/null +++ b/mysql-test/t/assign_key_cache.test @@ -0,0 +1,13 @@ +# +# MDEV-15216 Assertion `! is_set() || m_can_overwrite_status' failed in Diagnostics_area::set_error_status upon operation inside XA +# +--source include/have_partition.inc +set global my_cache.key_buffer_size = 1024*1024; +create table t1 (i int) engine=myisam partition by hash (i) partitions 2; +xa start 'xid'; +cache index t1 partition (non_existing_partition) in my_cache; +cache index t1 partition (p1) in my_cache; +xa end 'xid'; +xa rollback 'xid'; +drop table t1; +set global my_cache.key_buffer_size = 0; |