diff options
author | sasha@mysql.sashanet.com <> | 2000-09-15 10:53:51 -0600 |
---|---|---|
committer | sasha@mysql.sashanet.com <> | 2000-09-15 10:53:51 -0600 |
commit | 0a087649ec06ff578f7b48e754e094c9cf26f664 (patch) | |
tree | 9fa17fc0eab3f50990da5590596d3cc23d37d620 /sql | |
parent | 44455063e5612f63c5b6bb80cc38f43ac4aa7b4c (diff) | |
download | mariadb-git-0a087649ec06ff578f7b48e754e094c9cf26f664.tar.gz |
Added a comment about handler::restore()
Diffstat (limited to 'sql')
-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 a831bb8a769..9794362cd2b 100644 --- a/sql/handler.h +++ b/sql/handler.h @@ -251,6 +251,9 @@ public: 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); + // assumes .frm file must exist, and you must have already called + // generate_table() - it will just copy the data file and run repair + 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;} |