turn off binlogging of the updates during wait for not_readonly
This commit is contained in:
parent
ea8934c505
commit
68db008c0e
@ -3,6 +3,8 @@
|
||||
# wait for server to connect properly to cluster
|
||||
#
|
||||
--error 0,ER_NO_SUCH_TABLE,ER_OPEN_AS_READONLY,ER_GET_ERRMSG,ER_KEY_NOT_FOUND
|
||||
set @saved_log = @@sql_log_bin;
|
||||
set sql_log_bin = 0;
|
||||
delete from mysql.ndb_apply_status where server_id=0;
|
||||
let $mysql_errno= 1;
|
||||
let $counter= 600;
|
||||
@ -22,6 +24,7 @@ while ($mysql_errno)
|
||||
}
|
||||
}
|
||||
delete from mysql.ndb_apply_status where server_id=0;
|
||||
set sql_log_bin = @saved_log;
|
||||
#
|
||||
# connected
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user