diff options
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;} |