diff options
author | Sergei Golubchik <serg@mariadb.org> | 2018-09-21 20:16:36 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2018-09-21 20:22:14 +0200 |
commit | e7d152293d23e0ea1ba49ce225ef605f34c5a303 (patch) | |
tree | 917eb2f47edde2c8c717ce77d96c794c2cefbb2f /sql/ha_partition.cc | |
parent | e4b466aa3dcb4f4c87368e61ff5a790932ff5326 (diff) | |
download | mariadb-git-e7d152293d23e0ea1ba49ce225ef605f34c5a303.tar.gz |
MDEV-13089 identifier quoting in partitioning
cover ALTER TABLE
Diffstat (limited to 'sql/ha_partition.cc')
-rw-r--r-- | sql/ha_partition.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sql/ha_partition.cc b/sql/ha_partition.cc index 43f936cf200..c05f55e457d 100644 --- a/sql/ha_partition.cc +++ b/sql/ha_partition.cc @@ -9092,11 +9092,9 @@ int ha_partition::check_for_upgrade(HA_CHECK_OPT *check_opt) } m_part_info->key_algorithm= partition_info::KEY_ALGORITHM_51; if (skip_generation || - !(part_buf= generate_partition_syntax(thd, m_part_info, + !(part_buf= generate_partition_syntax_for_frm(thd, m_part_info, &part_buf_len, - true, - NULL, - NULL)) || + NULL, NULL)) || print_admin_msg(thd, SQL_ADMIN_MSG_TEXT_SIZE + 1, "error", table_share->db.str, table->alias, |