summaryrefslogtreecommitdiff
path: root/mysql-test/t/binlog_stm_binlog.test
diff options
context:
space:
mode:
authorunknown <lars@mysql.com>2006-02-06 18:25:12 +0100
committerunknown <lars@mysql.com>2006-02-06 18:25:12 +0100
commit42cffe06dce1c188b64a3288455bee161dfe587f (patch)
treeedc2a50734294d7104b74b1ad112b76551063b08 /mysql-test/t/binlog_stm_binlog.test
parentdc5b10d3c0e9b5e82122ce718fcea99734df4d13 (diff)
downloadmariadb-git-42cffe06dce1c188b64a3288455bee161dfe587f.tar.gz
Two new tests for replace_regex
mysql-test/r/binlog_stm_binlog.result: Result mysql-test/r/mysqltest.result: Result mysql-test/t/binlog_stm_binlog.test: New test for replace_regex mysql-test/t/mysqltest.test: New test for replace_regex
Diffstat (limited to 'mysql-test/t/binlog_stm_binlog.test')
-rw-r--r--mysql-test/t/binlog_stm_binlog.test12
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/t/binlog_stm_binlog.test b/mysql-test/t/binlog_stm_binlog.test
index 6d3dce9a323..d608741da0b 100644
--- a/mysql-test/t/binlog_stm_binlog.test
+++ b/mysql-test/t/binlog_stm_binlog.test
@@ -1,6 +1,18 @@
+# REQUIREMENT
+# replace_regex should replace output of SHOW BINLOG EVENTS
+
+create table t1 (a int, b int) engine=innodb;
+begin;
+insert into t1 values (1,2);
+commit;
+--replace_regex /\/\* xid=.* \*\//\/* XID *\//
+show binlog events;
+drop table t1;
+
# This is a wrapper for binlog.test so that the same test case can be used
# For both statement and row based bin logs 9/19/2005 [jbm]
-- source include/not_embedded.inc
-- source include/have_binlog_format_statement.inc
-- source extra/binlog_tests/binlog.test
+