diff options
author | Sergei Golubchik <sergii@pisem.net> | 2014-07-27 21:02:00 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2014-07-27 21:02:00 +0200 |
commit | a6071cc596fe37ef02e5639042de124f0c11b3b3 (patch) | |
tree | ac551d570d7053a9f948d8415c8fe31ee49375d7 /mysql-test | |
parent | 1987819281eba73cac7ff04082f8f9c024b7a54f (diff) | |
download | mariadb-git-a6071cc596fe37ef02e5639042de124f0c11b3b3.tar.gz |
MDEV-6082 Assertion `0' fails in TC_LOG_DUMMY::log_and_order on DML after installing TokuDB at runtime on server with disabled InnoDB
We don't support changing tc_log implementation at run time.
If the first XA-capable engine is loaded with INSTALL PLUGIN - disable its
XA capabilities with a warning
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/r/innodb_load_xa.result | 7 | ||||
-rw-r--r-- | mysql-test/t/innodb_load_xa.opt | 1 | ||||
-rw-r--r-- | mysql-test/t/innodb_load_xa.test | 11 |
3 files changed, 19 insertions, 0 deletions
diff --git a/mysql-test/r/innodb_load_xa.result b/mysql-test/r/innodb_load_xa.result new file mode 100644 index 00000000000..7ce2fb6c48f --- /dev/null +++ b/mysql-test/r/innodb_load_xa.result @@ -0,0 +1,7 @@ +install plugin innodb soname 'ha_innodb'; +Warnings: +Warning 1105 Cannot enable tc-log at run-time. XA features of InnoDB are disabled +select engine,support,transactions,xa from information_schema.engines where engine='innodb'; +engine support transactions xa +InnoDB YES YES NO +uninstall plugin innodb; diff --git a/mysql-test/t/innodb_load_xa.opt b/mysql-test/t/innodb_load_xa.opt new file mode 100644 index 00000000000..4ff27e659ce --- /dev/null +++ b/mysql-test/t/innodb_load_xa.opt @@ -0,0 +1 @@ +--ignore-builtin-innodb --loose-innodb --log-bin diff --git a/mysql-test/t/innodb_load_xa.test b/mysql-test/t/innodb_load_xa.test new file mode 100644 index 00000000000..ab2204133a2 --- /dev/null +++ b/mysql-test/t/innodb_load_xa.test @@ -0,0 +1,11 @@ +# +# MDEV-6082 Assertion `0' fails in TC_LOG_DUMMY::log_and_order on DML after installing TokuDB at runtime on server with disabled InnoDB +# +--source include/not_embedded.inc + +if (!$HA_INNODB_SO) { + --skip Need InnoDB plugin +} +install plugin innodb soname 'ha_innodb'; +select engine,support,transactions,xa from information_schema.engines where engine='innodb'; +uninstall plugin innodb; |