diff options
author | Sergei Golubchik <serg@mariadb.org> | 2018-02-14 19:12:23 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2018-02-14 19:12:23 +0100 |
commit | 03de234baf423eaefe3d0b768dccb719b1298ff6 (patch) | |
tree | 9d1d2ef228dbad081fad269f1367a3f64eb26554 /sql/sql_table.cc | |
parent | 2709380587bbcbc7abda77f11ee0abd207c65027 (diff) | |
download | mariadb-git-03de234baf423eaefe3d0b768dccb719b1298ff6.tar.gz |
MDEV-13982 Server crashes in in ha_partition::engine_name
use the correct handlerton when looking for TRANSACTIONAL=1 support
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r-- | sql/sql_table.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc index 19093d9b2ca..f56781faf39 100644 --- a/sql/sql_table.cc +++ b/sql/sql_table.cc @@ -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, |