stop slave;drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;reset master;reset slave;drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;start slave;grant select on *.* to 'user_foo'@'%' identified by 'user_foopass';revoke select on *.* from 'user_foo'@'%';select select_priv from mysql.user where user='user_foo' /* master:must be N */;select_privNgrant select on *.* to 'user_foo'@'%' identified by 'user_foopass';revoke select on *.* from 'user_foo'@'%';select select_priv from mysql.user where user='user_foo' /* slave:must be N */;select_privNgrant select on *.* to 'user_foo'@'%' identified by 'user_foopass';select select_priv from mysql.user where user='user_foo' /* slave:must be Y */;select_privYrevoke select on *.* from 'user_foo';select select_priv from mysql.user where user='user_foo' /* master:must be N */;select_privNselect select_priv from mysql.user where user='user_foo' /* slave:must get Y */;select_privYrevoke select on *.* FROM 'user_foo';