From 73de06c48ff26070cabcd408ebc3d888da88110f Mon Sep 17 00:00:00 2001 From: Eugene Kosov Date: Fri, 10 May 2019 16:38:54 +0300 Subject: [PATCH] make method const Closes #677 --- sql/handler.cc | 3 ++- sql/handler.h | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/sql/handler.cc b/sql/handler.cc index 957e1ba0e19..826b6f34746 100644 --- a/sql/handler.cc +++ b/sql/handler.cc @@ -7465,7 +7465,8 @@ static bool require_bigint(const Create_field *f, Lex_table_name table_name) bool Vers_parse_info::check_sys_fields(const Lex_table_name &table_name, const Lex_table_name &db, - Alter_info *alter_info, bool can_native) + Alter_info *alter_info, + bool can_native) const { if (check_conditions(table_name, db)) return true; diff --git a/sql/handler.h b/sql/handler.h index 2209bd4071c..7d3017d4a12 100644 --- a/sql/handler.h +++ b/sql/handler.h @@ -1989,8 +1989,8 @@ public: bool fix_create_like(Alter_info &alter_info, HA_CREATE_INFO &create_info, TABLE_LIST &src_table, TABLE_LIST &table); bool check_sys_fields(const Lex_table_name &table_name, - const Lex_table_name &db, - Alter_info *alter_info, bool can_native); + const Lex_table_name &db, Alter_info *alter_info, + bool can_native) const; /** At least one field was specified 'WITH/WITHOUT SYSTEM VERSIONING'.