Commit 1f998add authored by unknown's avatar unknown

mysql-test/t/rpl000001.test

    added a test for updates on user table


mysql-test/t/rpl000001.test:
  added a test for updates on user table
parent 97bd164a
...@@ -71,10 +71,18 @@ connection master1; ...@@ -71,10 +71,18 @@ connection master1;
drop table t1; drop table t1;
create table t1 (n int); create table t1 (n int);
insert into t1 values(3456); insert into t1 values(3456);
use mysql;
insert into user (Host, User, Password)
VALUES ("10.10.10.%", "blafasel2", "blafasel2");
select select_priv,user from mysql.user where user = 'blafasel2';
update user set Select_priv = "Y" where User="blafasel2";
select select_priv,user from mysql.user where user = 'blafasel2';
use test;
save_master_pos; save_master_pos;
connection slave; connection slave;
sync_with_master; sync_with_master;
select n from t1; select n from t1;
select select_priv,user from mysql.user where user = 'blafasel2';
connection master1; connection master1;
drop table t1; drop table t1;
save_master_pos; save_master_pos;
......
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