diff options
author | sasha@mysql.sashanet.com <> | 2000-09-14 16:34:50 -0600 |
---|---|---|
committer | sasha@mysql.sashanet.com <> | 2000-09-14 16:34:50 -0600 |
commit | 44455063e5612f63c5b6bb80cc38f43ac4aa7b4c (patch) | |
tree | 6f789a128f7f2f981c423d22a6bebd80ccf71633 /sql/handler.h | |
parent | 243579e8b2857c6827cf9117c0baa96978e75809 (diff) | |
download | mariadb-git-44455063e5612f63c5b6bb80cc38f43ac4aa7b4c.tar.gz |
BACKUP TABLE TO 'directory'
RESTORE TABLE FROM 'directory'
log on slave when it connects to the master
Diffstat (limited to 'sql/handler.h')
-rw-r--r-- | sql/handler.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/handler.h b/sql/handler.h index 70b05f0c7f7..a831bb8a769 100644 --- a/sql/handler.h +++ b/sql/handler.h @@ -33,6 +33,7 @@ #define HA_ADMIN_FAILED -2 #define HA_ADMIN_CORRUPT -3 #define HA_ADMIN_INTERNAL_ERROR -4 +#define HA_ADMIN_INVALID -5 /* Bits in bas_flag to show what database can do */ @@ -248,6 +249,8 @@ public: virtual int repair(THD* thd, HA_CHECK_OPT* check_opt); virtual int optimize(THD* thd,HA_CHECK_OPT* check_opt); virtual int analyze(THD* thd, HA_CHECK_OPT* check_opt); + virtual int backup(THD* thd, HA_CHECK_OPT* check_opt); + virtual int restore(THD* thd, HA_CHECK_OPT* check_opt); virtual int dump(THD* thd, int fd = -1) { return ER_DUMP_NOT_IMPLEMENTED; } virtual void deactivate_non_unique_index(ha_rows rows) {} virtual bool activate_all_index(THD *thd) {return 0;} |