summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorIgor Babaev <igor@askmonty.org>2012-09-12 15:33:03 -0700
committerIgor Babaev <igor@askmonty.org>2012-09-12 15:33:03 -0700
commit32443e744d354fbba93c8761486462b5820b74bb (patch)
tree171189cb89aecda55fa5e302fc696455334182e1 /mysql-test
parent2bbcec41488ff4506cb848357086e8fb07a9648c (diff)
downloadmariadb-git-32443e744d354fbba93c8761486462b5820b74bb.tar.gz
Made the results from the stat_tables_rbr test to be not
dependent on the debug mode.
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/r/stat_tables_rbr.result2
-rw-r--r--mysql-test/t/stat_tables_rbr.test1
2 files changed, 2 insertions, 1 deletions
diff --git a/mysql-test/r/stat_tables_rbr.result b/mysql-test/r/stat_tables_rbr.result
index 0bcf5e9cb93..05c5d378bab 100644
--- a/mysql-test/r/stat_tables_rbr.result
+++ b/mysql-test/r/stat_tables_rbr.result
@@ -15,7 +15,7 @@ Table Op Msg_type Msg_text
test.t1 analyze status OK
SHOW BINLOG EVENTS;
Log_name Pos Event_type Server_id End_log_pos Info
-master-bin.000001 4 Format_desc 1 245 Server ver: 5.5.27-MariaDB-debug-log, Binlog ver: 4
+master-bin.000001 4 Format_desc 1 245 Server ver: #, Binlog ver: #
master-bin.000001 245 Query 1 345 use `test`; CREATE TABLE t1 (i INT) ENGINE=InnoDB
master-bin.000001 345 Query 1 424 use `test`; ANALYZE TABLE t1
master-bin.000001 424 Query 1 528 use `test`; DROP TABLE `t1` /* generated by server */
diff --git a/mysql-test/t/stat_tables_rbr.test b/mysql-test/t/stat_tables_rbr.test
index 9b08357f36e..4336c02c34b 100644
--- a/mysql-test/t/stat_tables_rbr.test
+++ b/mysql-test/t/stat_tables_rbr.test
@@ -23,6 +23,7 @@ SET use_stat_tables = PREFERABLY;
CREATE TABLE t1 ( a INT ) ENGINE=MyISAM PARTITION BY HASH(a) PARTITIONS 2;
ALTER TABLE t1 ANALYZE PARTITION p1;
+--replace_regex /\/\* xid=.* \*\//\/* XID *\// /Server ver: .*, Binlog ver: .*/Server ver: #, Binlog ver: #/ /table_id: [0-9]+/table_id: #/
SHOW BINLOG EVENTS;
SET use_stat_tables = DEFAULT;