summaryrefslogtreecommitdiff
path: root/mysql-test/t
diff options
context:
space:
mode:
authorunknown <dlenev@brandersnatch.localdomain>2005-03-16 23:12:27 +0300
committerunknown <dlenev@brandersnatch.localdomain>2005-03-16 23:12:27 +0300
commitf9792042eb815d6b5e1e4dfe0da599b2e1599424 (patch)
tree7d21ca51ea671590b5d59fb9bdc812932e8dbfd5 /mysql-test/t
parent7fe43b71b93de2a48486b0a9cf34cded18273356 (diff)
downloadmariadb-git-f9792042eb815d6b5e1e4dfe0da599b2e1599424.tar.gz
Fixed binlog.test failure which occured after patch implementing
WL#874 "Extended LOAD DATA" was pushed. mysql-test/r/binlog.result: Addition of two new types of binary log events shifted binlog positions. Updated test's results and made it more robust for future similar changes. mysql-test/t/binlog.test: Addition of two new types of binary log events shifted binlog positions. Updated test's results and made it more robust for future similar changes.
Diffstat (limited to 'mysql-test/t')
-rw-r--r--mysql-test/t/binlog.test9
1 files changed, 6 insertions, 3 deletions
diff --git a/mysql-test/t/binlog.test b/mysql-test/t/binlog.test
index 5862861eaeb..2310e800df7 100644
--- a/mysql-test/t/binlog.test
+++ b/mysql-test/t/binlog.test
@@ -19,7 +19,8 @@ insert t2 values (5);
commit;
# first COMMIT must be Query_log_event, second - Xid_log_event
--replace_result "xid=18" "xid=11"
-show binlog events from 96;
+--replace_column 2 # 5 #
+show binlog events from 98;
drop table t1,t2;
#
@@ -40,6 +41,8 @@ while ($1)
commit;
drop table t1;
--replace_result "xid=29" "xid=18"
-show binlog events in 'master-bin.000001' from 96;
-show binlog events in 'master-bin.000002' from 96;
+--replace_column 2 # 5 #
+show binlog events in 'master-bin.000001' from 98;
+--replace_column 2 # 5 #
+show binlog events in 'master-bin.000002' from 98;