diff options
author | svoj@mysql.com/june.mysql.com <> | 2007-03-31 12:24:28 +0500 |
---|---|---|
committer | svoj@mysql.com/june.mysql.com <> | 2007-03-31 12:24:28 +0500 |
commit | f297b5d873f3368022b173264087ebef98e0b2ce (patch) | |
tree | ef3991023f0e4d9299ff44cc75fa8d13dc94c462 /sql/handler.h | |
parent | dd13c3839fc911128acc53c39f4a302d8c7f47bf (diff) | |
parent | 556de62f8da2c1cf6c1656efd2f903f01250e01d (diff) | |
download | mariadb-git-f297b5d873f3368022b173264087ebef98e0b2ce.tar.gz |
Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-5.0-engines
into mysql.com:/home/svoj/devel/mysql/BUG26138/mysql-5.0-engines
Diffstat (limited to 'sql/handler.h')
-rw-r--r-- | sql/handler.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sql/handler.h b/sql/handler.h index 9e381ca4482..9863d541b5f 100644 --- a/sql/handler.h +++ b/sql/handler.h @@ -780,6 +780,17 @@ public: virtual void free_foreign_key_create_info(char* str) {} /* The following can be called without an open handler */ virtual const char *table_type() const =0; + /* + If frm_error() is called then we will use this to find out what file + extentions exist for the storage engine. This is also used by the default + rename_table and delete_table method in handler.cc. + + For engines that have two file name extentions (separate meta/index file + and data file), the order of elements is relevant. First element of engine + file name extentions array should be meta/index file extention. Second + element - data file extention. This order is assumed by + prepare_for_repair() when REPAIR TABLE ... USE_FRM is issued. + */ virtual const char **bas_ext() const =0; virtual ulong table_flags(void) const =0; virtual ulong index_flags(uint idx, uint part, bool all_parts) const =0; |