diff options
author | unknown <msvensson@neptunus.(none)> | 2005-04-26 11:35:52 +0200 |
---|---|---|
committer | unknown <msvensson@neptunus.(none)> | 2005-04-26 11:35:52 +0200 |
commit | 6afb3ef47b27ce1faa178a711dcbc212cb83f573 (patch) | |
tree | 81f21369f7c01b20d066ac24c9ef32875b6e4ec7 /sql/examples/ha_archive.h | |
parent | 3d85639028c8c378525fd3c70045ab887a8b4960 (diff) | |
download | mariadb-git-6afb3ef47b27ce1faa178a711dcbc212cb83f573.tar.gz |
BUG#9911 RENAME TABLE of type ARCHIVE fails with .ARN file error
- Implemented ha_archive::rename_table
- Added testcases for rename
mysql-test/r/archive.result:
Addd testcase for rename of archive table
mysql-test/t/archive.test:
Addd testcase for rename of archive table
sql/examples/ha_archive.cc:
Implement special version of rename table that does not care it the .arn file is missing
sql/examples/ha_archive.h:
Implement special version of rename table that does not care it the .arn file is missing
Diffstat (limited to 'sql/examples/ha_archive.h')
-rw-r--r-- | sql/examples/ha_archive.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/examples/ha_archive.h b/sql/examples/ha_archive.h index 855d756368d..1d3365aca67 100644 --- a/sql/examples/ha_archive.h +++ b/sql/examples/ha_archive.h @@ -124,6 +124,7 @@ public: int optimize(THD* thd, HA_CHECK_OPT* check_opt); THR_LOCK_DATA **store_lock(THD *thd, THR_LOCK_DATA **to, enum thr_lock_type lock_type); + int rename_table(const char * from, const char * to); }; bool archive_db_init(void); |