1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

MDEV-25229 SON_TABLE: Server crashes in hton_name upon MATCH .. AGAINST.

No plugin for the JSON_TABLE so get the storage type name directly.
This commit is contained in:
Alexey Botchkov
2021-03-24 23:37:05 +04:00
parent 6a5f86bf59
commit 3edc4a0998
4 changed files with 17 additions and 1 deletions

View File

@ -4154,7 +4154,7 @@ public:
{ return; } /* prepare InnoDB for HANDLER */
virtual void free_foreign_key_create_info(char* str) {}
/** The following can be called without an open handler */
const char *table_type() const { return hton_name(ht)->str; }
virtual const char *table_type() const { return hton_name(ht)->str; }
const char **bas_ext() const { return ht->tablefile_extensions; }
virtual int get_default_no_partitions(HA_CREATE_INFO *create_info)