1
# Check that server has come out ot readonly mode
3
# wait for server to connect properly to cluster
5
set @saved_log = @@sql_log_bin;
7
--error 0,ER_NO_SUCH_TABLE,ER_OPEN_AS_READONLY,ER_GET_ERRMSG,ER_KEY_NOT_FOUND
8
delete from mysql.ndb_apply_status where server_id=0;
13
# Table is readonly until the mysqld has connected properly
14
--error 0,ER_NO_SUCH_TABLE,ER_OPEN_AS_READONLY,ER_GET_ERRMSG
15
replace into mysql.ndb_apply_status values(0,0,"",0,0);
20
die Failed while waiting for mysqld to come out of readonly mode;
26
delete from mysql.ndb_apply_status where server_id=0;
27
set sql_log_bin = @saved_log;