diff options
author | Sergei Golubchik <serg@mariadb.org> | 2015-08-21 23:20:35 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2015-09-04 10:33:53 +0200 |
commit | 55d7871f987d759b888d4bffc3a729e67d1788da (patch) | |
tree | a33fbc6fa771ca5a6611145f56de8a747eeccb02 /mysql-test/t/create_drop_binlog.test | |
parent | 8aa473c4b9957c7c365cf50ade520ff397d6afb1 (diff) | |
download | mariadb-git-55d7871f987d759b888d4bffc3a729e67d1788da.tar.gz |
test cleanup: remove Format_description_log_event size dependency
1. use include/show_binlog_events.inc instead of SHOW BINLOG EVENTS
2. use include/show_relaylog_eventc.inc too
3. in all other places where a number might appear in the result
file, include binlog_start_pos.inc, calculate the position
like pos=`select $binlog_start_pos + 100`; and use
replace_result $pos <pos>
Diffstat (limited to 'mysql-test/t/create_drop_binlog.test')
-rw-r--r-- | mysql-test/t/create_drop_binlog.test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/t/create_drop_binlog.test b/mysql-test/t/create_drop_binlog.test index 06fd1c6c1dd..aa772df4805 100644 --- a/mysql-test/t/create_drop_binlog.test +++ b/mysql-test/t/create_drop_binlog.test @@ -1,5 +1,8 @@ --source include/have_udf.inc --source include/have_log_bin.inc +--source include/binlog_start_pos.inc + +--let $pos=`select $binlog_start_pos + 65` --let $binlog_file=query_get_value(SHOW MASTER STATUS, File, 1) --let $binlog_start=query_get_value(SHOW MASTER STATUS, Position, 1) @@ -164,8 +167,11 @@ RESET MASTER; # Test RESET MASTER TO RESET MASTER; +--replace_result $pos <pos> SHOW MASTER STATUS; RESET MASTER TO 100; +--replace_result $pos <pos> SHOW MASTER STATUS; RESET MASTER; +--replace_result $pos <pos> SHOW MASTER STATUS; |