~ubuntu-branches/ubuntu/lucid/mysql-dfsg-5.1/lucid-security

« back to all changes in this revision

Viewing changes to mysql-test/extra/rpl_tests/rpl_flsh_tbls.test

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 22:33:55 UTC
  • mto: (1.2.1) (37.1.1 lucid-security)
  • mto: This revision was merged to the branch mainline in revision 36.
  • Revision ID: package-import@ubuntu.com-20120222223355-ku1tb4r70osci6v2
Tags: upstream-5.1.61
ImportĀ upstreamĀ versionĀ 5.1.61

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
# first don't write it to the binlog, to test the NO_WRITE_TO_BINLOG keyword.
21
21
flush no_write_to_binlog tables;
22
22
# Check that it's not in the binlog.
23
 
--replace_result $SERVER_VERSION SERVER_VERSION
24
 
--replace_column 2 # 5 #
25
 
--replace_regex /table_id: [0-9]+/table_id: #/
26
 
eval SHOW BINLOG EVENTS FROM $rename_event_pos ;
 
23
let $binlog_start= $rename_event_pos;
 
24
source include/show_binlog_events.inc;
27
25
# Check that the master is not confused.
28
26
select * from t3;
29
27
# This FLUSH should go into the binlog to not confuse the slave.
30
28
flush tables;
31
29
# Check that it's in the binlog.
32
 
--replace_result $SERVER_VERSION SERVER_VERSION
33
 
--replace_column 2 # 5 #
34
 
--replace_regex /table_id: [0-9]+/table_id: #/
35
 
eval SHOW BINLOG EVENTS FROM $rename_event_pos ;
 
30
let $wait_binlog_event= flush tables;
 
31
source include/wait_for_binlog_event.inc;
36
32
 
37
33
sync_slave_with_master;
38
34
# Check that the slave is not confused.
58
54
connection master;
59
55
drop table t3, t4, t5;
60
56
 
61
 
sync_slave_with_master;
62
 
 
63
57
# End of 4.1 tests
64
58
 
 
59
--source include/rpl_end.inc