mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
MDEV-4466 Partitioned Aria table created by a previous version is recognized as TEST_SQL_DISCOVERY
Partitioning didn't store the name of default storage engine for partitions in the frm file - it only store the typecode. Typecodes aren't stable, and might vary depending on the order in which storage engines are loaded (can be changed even from my.cnf without recompilation). As a temporary workaround for 5.5, we hard-code Aria's typecode, to make sure it never changes.
This commit is contained in:
parent
04aeaaa04f
commit
10be9160c1
3 changed files with 8 additions and 2 deletions
|
|
@ -3471,7 +3471,7 @@ static int ha_maria_init(void *p)
|
|||
|
||||
maria_hton= (handlerton *)p;
|
||||
maria_hton->state= SHOW_OPTION_YES;
|
||||
maria_hton->db_type= DB_TYPE_UNKNOWN;
|
||||
maria_hton->db_type= DB_TYPE_ARIA;
|
||||
maria_hton->create= maria_create_handler;
|
||||
maria_hton->panic= maria_hton_panic;
|
||||
maria_hton->commit= maria_commit;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue