diff options
author | magnus@neptunus.(none) <> | 2004-09-13 14:46:38 +0200 |
---|---|---|
committer | magnus@neptunus.(none) <> | 2004-09-13 14:46:38 +0200 |
commit | 8abbb28f8b6f2b306c7dd2de7ac6693569d61f9e (patch) | |
tree | 8eed62b1151616d8bdb119967ec4713ddc6852b9 /sql/ha_ndbcluster.h | |
parent | e6e83d29e1fb40a1cc9b3ada99313dfb16e39c0a (diff) | |
download | mariadb-git-8abbb28f8b6f2b306c7dd2de7ac6693569d61f9e.tar.gz |
WL1424 Multiple MySQL Servers: SHOW TABLES etc. should detect new and delete old tables.
Diffstat (limited to 'sql/ha_ndbcluster.h')
-rw-r--r-- | sql/ha_ndbcluster.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sql/ha_ndbcluster.h b/sql/ha_ndbcluster.h index c49a6078e7a..7372540ebe6 100644 --- a/sql/ha_ndbcluster.h +++ b/sql/ha_ndbcluster.h @@ -208,6 +208,8 @@ class ha_ndbcluster: public handler int ndb_err(NdbConnection*); bool uses_blob_value(bool all_fields); + int write_ndb_file(); + private: int check_ndb_connection(); @@ -248,8 +250,11 @@ int ndbcluster_rollback(THD *thd, void* ndb_transaction); void ndbcluster_close_connection(THD *thd); -int ndbcluster_discover(const char* dbname, const char* name, +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_table_exists(THD* thd, const char *db, const char *name); int ndbcluster_drop_database(const char* path); void ndbcluster_print_error(int error, const NdbOperation *error_op); |