summaryrefslogtreecommitdiff
path: root/storage/tokudb/mysql-test/rpl/t
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-09-09 13:59:38 +0200
committerSergei Golubchik <sergii@pisem.net>2013-09-09 13:59:38 +0200
commit9a3b9a541659f9d2637614df417a39d5508abeaa (patch)
tree5df6de4ffdeae387d6610f8b8462ca292b97cd7a /storage/tokudb/mysql-test/rpl/t
parentd29f874db18068926ee899c532b25d0c8872f5dd (diff)
downloadmariadb-git-9a3b9a541659f9d2637614df417a39d5508abeaa.tar.gz
tokudb test suites
Diffstat (limited to 'storage/tokudb/mysql-test/rpl/t')
-rw-r--r--storage/tokudb/mysql-test/rpl/t/tokudb_innodb_xa_crash-slave.opt1
-rw-r--r--storage/tokudb/mysql-test/rpl/t/tokudb_innodb_xa_crash.test25
2 files changed, 26 insertions, 0 deletions
diff --git a/storage/tokudb/mysql-test/rpl/t/tokudb_innodb_xa_crash-slave.opt b/storage/tokudb/mysql-test/rpl/t/tokudb_innodb_xa_crash-slave.opt
new file mode 100644
index 00000000000..978dfbc809e
--- /dev/null
+++ b/storage/tokudb/mysql-test/rpl/t/tokudb_innodb_xa_crash-slave.opt
@@ -0,0 +1 @@
+--log-slave-updates=0 \ No newline at end of file
diff --git a/storage/tokudb/mysql-test/rpl/t/tokudb_innodb_xa_crash.test b/storage/tokudb/mysql-test/rpl/t/tokudb_innodb_xa_crash.test
new file mode 100644
index 00000000000..97818a597e2
--- /dev/null
+++ b/storage/tokudb/mysql-test/rpl/t/tokudb_innodb_xa_crash.test
@@ -0,0 +1,25 @@
+--source include/master-slave.inc
+--source include/have_tokudb.inc
+--source include/have_innodb.inc
+
+eval CREATE TABLE t1(`a` INT) ENGINE=TokuDB;
+eval CREATE TABLE t2(`a` INT) ENGINE=InnoDB;
+
+connection master;
+begin;
+insert into t1 values (1);
+insert into t2 values (1);
+commit;
+
+sync_slave_with_master;
+
+--echo TABLES t1 and t2 must be equal otherwise an error will be thrown.
+let $diff_tables= master:test.t1, slave:test.t1;
+source include/diff_tables.inc;
+
+let $diff_tables= master:test.t2, slave:test.t2;
+source include/diff_tables.inc;
+
+connection master;
+drop table t1,t2;
+--source include/rpl_end.inc