Updating result file.

parent ed698cf5
...@@ -4,8 +4,12 @@ reset master; ...@@ -4,8 +4,12 @@ reset master;
reset slave; reset slave;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
start slave; start slave;
reset master; set sql_log_bin=0;
delete from mysql.user where Host='fakehost';
set sql_log_bin=1;
set sql_log_bin=0;
delete from mysql.user where Host='fakehost'; delete from mysql.user where Host='fakehost';
set sql_log_bin=1;
create user 'foo'@'fakehost'; create user 'foo'@'fakehost';
create user 'foo'@'fakehost', 'bar'@'fakehost'; create user 'foo'@'fakehost', 'bar'@'fakehost';
ERROR HY000: Operation CREATE USER failed for 'foo'@'fakehost' ERROR HY000: Operation CREATE USER failed for 'foo'@'fakehost'
...@@ -33,10 +37,9 @@ select Host,User from mysql.user where Host='fakehost'; ...@@ -33,10 +37,9 @@ select Host,User from mysql.user where Host='fakehost';
Host User Host User
show binlog events from 98; show binlog events from 98;
Log_name Pos Event_type Server_id End_log_pos Info Log_name Pos Event_type Server_id End_log_pos Info
master-bin.000001 98 Query 1 # use `test`; delete from mysql.user where Host='fakehost' master-bin.000001 98 Query 1 # use `test`; create user 'foo'@'fakehost'
master-bin.000001 205 Query 1 # use `test`; create user 'foo'@'fakehost' master-bin.000001 189 Query 1 # use `test`; create user 'foo'@'fakehost', 'bar'@'fakehost'
master-bin.000001 296 Query 1 # use `test`; create user 'foo'@'fakehost', 'bar'@'fakehost' master-bin.000001 298 Query 1 # use `test`; rename user 'foo'@'fakehost' to 'foofoo'@'fakehost'
master-bin.000001 405 Query 1 # use `test`; rename user 'foo'@'fakehost' to 'foofoo'@'fakehost' master-bin.000001 412 Query 1 # use `test`; rename user 'not_exist_user1'@'fakehost' to 'foobar'@'fakehost', 'bar'@'fakehost' to 'barbar'@'fakehost'
master-bin.000001 519 Query 1 # use `test`; rename user 'not_exist_user1'@'fakehost' to 'foobar'@'fakehost', 'bar'@'fakehost' to 'barbar'@'fakehost' master-bin.000001 579 Query 1 # use `test`; drop user 'foofoo'@'fakehost'
master-bin.000001 686 Query 1 # use `test`; drop user 'foofoo'@'fakehost' master-bin.000001 671 Query 1 # use `test`; drop user 'not_exist_user1'@'fakehost', 'barbar'@'fakehost'
master-bin.000001 778 Query 1 # use `test`; drop user 'not_exist_user1'@'fakehost', 'barbar'@'fakehost'
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment