1 # Check that server has come out ot readonly mode 
    3 # wait for server to connect properly to cluster 
    8 set @saved_log = @@sql_log_bin;
 
   10 --error 0,ER_NO_SUCH_TABLE,ER_OPEN_AS_READONLY,ER_GET_ERRMSG,ER_TABLE_DEF_CHANGED,ER_NOT_FORM_FILE,ER_KEY_NOT_FOUND
 
   11 delete from mysql.ndb_schema where db=
"" and 
name=
"";
 
   16   # Table is readonly until the mysqld has connected properly 
   17   --error 0,ER_NO_SUCH_TABLE,ER_OPEN_AS_READONLY,ER_GET_ERRMSG,ER_TABLE_DEF_CHANGED,ER_NOT_FORM_FILE,
 
   18   replace into mysql.ndb_schema values(
"",
"",0,
"",0,0,0,0,0);
 
   23       die Failed 
while waiting 
for mysqld 
to come out of readonly 
mode;
 
   29 delete from mysql.ndb_schema where db=
"" and 
name=
"";
 
   30 set sql_log_bin = @saved_log;