diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2021-05-10 09:09:50 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2021-05-10 09:09:50 +0300 |
commit | 98e6159892ae36d4ab82ce8f43b7e7bc0ab6bfa2 (patch) | |
tree | a9cd2b7610de5500583fe726a97fb8705bc6ccec /mysql-test/main/xa.result | |
parent | 72753d2b65fe375d23954b877a48350adadeb4e4 (diff) | |
parent | d0785f773188b5f0eebb3135b320b2bac628f2f2 (diff) | |
download | mariadb-git-98e6159892ae36d4ab82ce8f43b7e7bc0ab6bfa2.tar.gz |
Merge 10.2 into 10.3
Diffstat (limited to 'mysql-test/main/xa.result')
-rw-r--r-- | mysql-test/main/xa.result | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/mysql-test/main/xa.result b/mysql-test/main/xa.result index f02cb17b6ac..4717d51b09c 100644 --- a/mysql-test/main/xa.result +++ b/mysql-test/main/xa.result @@ -371,6 +371,32 @@ XA ROLLBACK 'xid'; DROP TABLE t1; disconnect con1; connection default; +# +# XA states and SHOW commands +# +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'; +Variable_name Value +select table_name,table_comment from information_schema.tables where table_schema='test'; +table_name t1 +table_comment +select table_name,table_rows,table_comment from information_schema.tables where table_schema='test'; +table_name t1 +table_rows NULL +table_comment XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state +Warnings: +Level Warning +Code 1399 +Message XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state +xa commit 'foo'; +drop table t1; +# +# End of 10.2 tests +# XA BEGIN 'xid'; CREATE TEMPORARY SEQUENCE s; ERROR XAE07: XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state |