• unknown's avatar
    Changed WL#1424 to use the function ha_find_files. This is a simpler... · dd07a90d
    unknown authored
    Changed WL#1424 to use the function ha_find_files. This is a simpler implementation and all handler specific code is hidden in the appropriate handler.
    
    
    mysql-test/r/ndb_autodiscover.result:
      Update test result, number of rows is 1
    mysql-test/t/ndb_autodiscover.test:
      Dont run the test where table is dropped in NDb with ndb_drop_table
    sql/ha_ndbcluster.cc:
      Implement function ndbcluster_find_files which will discover new tables and delete old tables
    sql/ha_ndbcluster.h:
      Implement function ndbcluster_find_files 
      Remove function ndbcluster_list_tables and ndbcluster_can_discover
    sql/handler.cc:
      Add ha_find_files called from mysql_find_files
      Remove ha_can_discover and ha_list_tables
    sql/handler.h:
      Add ha_find_files called from mysql_find_files
      Remove ha_can_discover and ha_list_tables
    sql/sql_show.cc:
      Revert to original version of sql_show.cc
      Only changes to this version is that ha_find_files is called from mysql_find_files in order to give the handlers a possibility to find new files in engine
    dd07a90d
ha_ndbcluster.h 9 KB