Fixed failing test sql_sequence.replication

This commit is contained in:
Monty 2017-05-24 15:39:24 +03:00
parent d60e5fe391
commit 9497a64679
2 changed files with 5 additions and 0 deletions

View file

@ -341,6 +341,8 @@ read_only OFF
select * from s_db.s1;
next_value min_value max_value start increment cache cycle round
1 1 9223372036854775806 1 1 1000 0 0
connection master;
connection slave;
connection s_normal_3;
show global variables like 'read_only';
Variable_name Value

View file

@ -324,7 +324,10 @@ create sequence s_db.s1;
show global variables like 'read_only';
select * from s_db.s1;
connection master;
--sync_slave_with_master
connection s_normal_3;
show global variables like 'read_only';
--error ER_OPTION_PREVENTS_STATEMENT
select next value for s_db.s1;