summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Petrunia <psergey@askmonty.org>2018-03-28 14:28:58 +0300
committerSergei Petrunia <psergey@askmonty.org>2018-03-28 14:28:58 +0300
commit907aae2502ba1ac5ad5206251658c450e558d66e (patch)
treed27655947e971f6962eed5caa644d05d9cc0e16f
parent3b119d9d30f5149bc5e6297bec8ffbdd55892ec3 (diff)
downloadmariadb-git-907aae2502ba1ac5ad5206251658c450e558d66e.tar.gz
MDEV-15708: rocksdb.mariadb_plugin fails on winx64, Cannot enable tc-log at run-time
Ignore the warning. On Windows, Galera is not available so the server starts in non-XA mode when both MyRocks and InnoDB are disabled.
-rw-r--r--storage/rocksdb/mysql-test/rocksdb/t/mariadb_plugin.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/storage/rocksdb/mysql-test/rocksdb/t/mariadb_plugin.test b/storage/rocksdb/mysql-test/rocksdb/t/mariadb_plugin.test
index 303c4a5e0f9..cdff6859fe9 100644
--- a/storage/rocksdb/mysql-test/rocksdb/t/mariadb_plugin.test
+++ b/storage/rocksdb/mysql-test/rocksdb/t/mariadb_plugin.test
@@ -5,7 +5,14 @@
--echo # MDEV-14843: Assertion `s_tx_list.size() == 0' failed in myrocks::Rdb_transaction::term_mutex
--echo #
+#
+# On Linux, wsrep plugin is always loaded so XA is enabled at this point.
+# On Windows, there is no wsrep, so we get this warning:
+# Warning 1105 Cannot enable tc-log at run-time. XA features of ROCKSDB are disabled
+#
+--disable_warnings
INSTALL SONAME 'ha_rocksdb';
+--enable_warnings
CREATE TABLE t1 (i INT) ENGINE=RocksDB;
insert into t1 values (1);