summaryrefslogtreecommitdiff
path: root/mysql-test/main/xa.test
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2021-05-10 09:09:50 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2021-05-10 09:09:50 +0300
commit98e6159892ae36d4ab82ce8f43b7e7bc0ab6bfa2 (patch)
treea9cd2b7610de5500583fe726a97fb8705bc6ccec /mysql-test/main/xa.test
parent72753d2b65fe375d23954b877a48350adadeb4e4 (diff)
parentd0785f773188b5f0eebb3135b320b2bac628f2f2 (diff)
downloadmariadb-git-98e6159892ae36d4ab82ce8f43b7e7bc0ab6bfa2.tar.gz
Merge 10.2 into 10.3
Diffstat (limited to 'mysql-test/main/xa.test')
-rw-r--r--mysql-test/main/xa.test18
1 files changed, 18 insertions, 0 deletions
diff --git a/mysql-test/main/xa.test b/mysql-test/main/xa.test
index 9b0b54d0405..33d4f69b7d2 100644
--- a/mysql-test/main/xa.test
+++ b/mysql-test/main/xa.test
@@ -517,6 +517,24 @@ connection default;
--source include/wait_until_count_sessions.inc
+--echo #
+--echo # XA states and SHOW commands
+--echo #
+create table t1 (pk int primary key) engine=innodb;
+xa start 'foo';
+insert t1 set pk=1;
+xa end 'foo';
+xa prepare 'foo';
+show status like 'foo';
+--query_vertical select table_name,table_comment from information_schema.tables where table_schema='test'
+--query_vertical select table_name,table_rows,table_comment from information_schema.tables where table_schema='test'
+xa commit 'foo';
+drop table t1;
+
+--echo #
+--echo # End of 10.2 tests
+--echo #
+
#
# MDEV-22002 Assertion `!is_set() || (m_status == DA_OK_BULK && is_bulk_op())'
# failed upon CREATE TEMPORARY SEQUENCE under XA