summaryrefslogtreecommitdiff
path: root/sql/sql_table.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2018-02-14 19:12:23 +0100
committerSergei Golubchik <serg@mariadb.org>2018-02-14 19:12:23 +0100
commit03de234baf423eaefe3d0b768dccb719b1298ff6 (patch)
tree9d1d2ef228dbad081fad269f1367a3f64eb26554 /sql/sql_table.cc
parent2709380587bbcbc7abda77f11ee0abd207c65027 (diff)
downloadmariadb-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.cc2
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,