mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 03:17:20 +02:00
turn off binlogging of the updates during wait for not_readonly
This commit is contained in:
parent
ea8934c505
commit
68db008c0e
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue