• unknown's avatar
    BUG#18676 when cluster storage engine is down, misleading error message on create table with 4009. · 5203ea6c
    unknown authored
    
    mysql-test/r/ndb_autodiscover.result:
      changes ndbd error code to mysqld error code when no cluster connection
    sql/ha_ndbcluster.cc:
      map 4009 error code to mysql not connected error
    sql/handler.cc:
      define return codes to ha_table_exists_in_engine to something useful
        NOTE: in 5.1 this should call a handlerton method, not horrible ifdef ndb stuff
    sql/sql_table.cc:
      clearly define what happens on create table if exits/not exists/not connected to engine
    5203ea6c
ha_ndbcluster.cc 235 KB