1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

MDEV-13982 Server crashes in in ha_partition::engine_name

use the correct handlerton when looking for TRANSACTIONAL=1 support
This commit is contained in:
Sergei Golubchik
2018-02-14 19:12:23 +01:00
parent 2709380587
commit 03de234baf
3 changed files with 17 additions and 1 deletions

View File

@ -4397,7 +4397,7 @@ bool mysql_create_table_no_lock(THD *thd,
/* Give warnings for not supported table options */
#if defined(WITH_ARIA_STORAGE_ENGINE)
extern handlerton *maria_hton;
if (file->ht != maria_hton)
if (file->partition_ht() != maria_hton)
#endif
if (create_info->transactional)
push_warning_printf(thd, MYSQL_ERROR::WARN_LEVEL_WARN,