summaryrefslogtreecommitdiff
path: root/sql/ha_ndbcluster.h
diff options
context:
space:
mode:
authorunknown <magnus@neptunus.(none)>2004-09-21 12:13:58 +0200
committerunknown <magnus@neptunus.(none)>2004-09-21 12:13:58 +0200
commitdd07a90d612278057217b50076e9100177570613 (patch)
tree800e2e50047d8deacfc968120c67c71a51cd8d95 /sql/ha_ndbcluster.h
parent4d18add04cbd93f90e4d59feaa03e76b7e629549 (diff)
downloadmariadb-git-dd07a90d612278057217b50076e9100177570613.tar.gz
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
Diffstat (limited to 'sql/ha_ndbcluster.h')
-rw-r--r--sql/ha_ndbcluster.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/ha_ndbcluster.h b/sql/ha_ndbcluster.h
index 02dc413cbaa..97382243a01 100644
--- a/sql/ha_ndbcluster.h
+++ b/sql/ha_ndbcluster.h
@@ -279,8 +279,8 @@ void ndbcluster_close_connection(THD *thd);
int ndbcluster_discover(THD* thd, const char* dbname, const char* name,
const void** frmblob, uint* frmlen);
-int ndbcluster_can_discover(THD *thd, const char *name);
-int ndbcluster_list_tables(THD* thd, HASH* tables, const char* db);
+int ndbcluster_find_files(THD *thd,const char *db,const char *path,
+ const char *wild, bool dir);
int ndbcluster_table_exists(THD* thd, const char *db, const char *name);
int ndbcluster_drop_database(const char* path);