• unknown's avatar
    Bug#33763 Mysqld leaves readonly mode for cluster tables too early - part2 · 59b2478f
    unknown authored
     - Open tables readonly while not properly initialized
     - Close cached tables when coming out of readonly mode
     - Apply basically same patch as for 32275
    
    
    mysql-test/include/ndb_not_readonly.inc:
      Fix syntax of "die" call
      Remove the maskin of ER_GET_ERRMSG, should never happen
    sql/ha_ndbcluster.cc:
      - Open tables readonly until binlog tables have been 
        initialized
    sql/ha_ndbcluster_binlog.cc:
      - Reset "ndb_binlog_tables_inited" when something has happened to schema table,
      apply status table or when connection to cluster is lost. 
      - Close cached tabled after setting ndb_binlog_is_ready to cleanout any
      tables opened as readonly.
    59b2478f
ndb_not_readonly.inc 787 Bytes