1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

* move bas_ext from the handler to the handlerton

* provide a default bas_ext value of the empty list
This commit is contained in:
Sergei Golubchik
2013-04-07 17:08:49 +02:00
parent 09ece94fac
commit 58e62d701e
33 changed files with 86 additions and 262 deletions

View File

@ -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;}