diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-04-07 17:08:49 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-04-07 17:08:49 +0200 |
commit | 58e62d701e9d1c0a5ebb88f8a8779011c59ee735 (patch) | |
tree | 33aac572b65ffe713b1cf09bae10903eb1e4f5ab /sql/handler.h | |
parent | 09ece94fac5fc160e11e6bd46208e6c0be86e7e6 (diff) | |
download | mariadb-git-58e62d701e9d1c0a5ebb88f8a8779011c59ee735.tar.gz |
* move bas_ext from the handler to the handlerton
* provide a default bas_ext value of the empty list
Diffstat (limited to 'sql/handler.h')
-rw-r--r-- | sql/handler.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sql/handler.h b/sql/handler.h index f6a10a84646..43c5246c156 100644 --- a/sql/handler.h +++ b/sql/handler.h @@ -1086,6 +1086,7 @@ struct handlerton ha_create_table_option *field_options; // these are specified per field ha_create_table_option *index_options; // these are specified per index + const char **tablefile_extensions; }; @@ -2416,7 +2417,10 @@ public: 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; + const char **bas_ext() const + { + return ht->tablefile_extensions; + } virtual int get_default_no_partitions(HA_CREATE_INFO *create_info) { return 1;} |