1
0
mirror of https://github.com/MariaDB/server.git synced 2025-09-02 09:41:40 +03:00

turn off binlogging of the updates during wait for not_readonly

This commit is contained in:
tomas@whalegate.ndb.mysql.com
2007-06-19 11:25:19 +02:00
parent f3a7284521
commit a67e755593

View File

@@ -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
#