Skip to content

Commit 73de06c

Browse files
kevgsvuvova
authored andcommitted
make method const
Closes #677
1 parent 3d649c6 commit 73de06c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

sql/handler.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7465,7 +7465,8 @@ static bool require_bigint(const Create_field *f, Lex_table_name table_name)
74657465

74667466
bool Vers_parse_info::check_sys_fields(const Lex_table_name &table_name,
74677467
const Lex_table_name &db,
7468-
Alter_info *alter_info, bool can_native)
7468+
Alter_info *alter_info,
7469+
bool can_native) const
74697470
{
74707471
if (check_conditions(table_name, db))
74717472
return true;

sql/handler.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1989,8 +1989,8 @@ struct Vers_parse_info
19891989
bool fix_create_like(Alter_info &alter_info, HA_CREATE_INFO &create_info,
19901990
TABLE_LIST &src_table, TABLE_LIST &table);
19911991
bool check_sys_fields(const Lex_table_name &table_name,
1992-
const Lex_table_name &db,
1993-
Alter_info *alter_info, bool can_native);
1992+
const Lex_table_name &db, Alter_info *alter_info,
1993+
bool can_native) const;
19941994

19951995
/**
19961996
At least one field was specified 'WITH/WITHOUT SYSTEM VERSIONING'.

0 commit comments

Comments
 (0)