diff options
author | Alexander Barkov <bar@mariadb.com> | 2019-08-14 10:26:18 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2019-08-14 13:33:01 +0400 |
commit | e86010f909fb6b8c4ffd9d6df92991ac079e67e7 (patch) | |
tree | e30f0335d75b480ffe1f546c4b0f86b530c4558c /sql/sql_sequence.cc | |
parent | fa21952e25e3defef172e1f2074e3e2d5b091f5c (diff) | |
download | mariadb-git-e86010f909fb6b8c4ffd9d6df92991ac079e67e7.tar.gz |
MDEV-20342 Turn Field::flags from a member to a method
Diffstat (limited to 'sql/sql_sequence.cc')
-rw-r--r-- | sql/sql_sequence.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_sequence.cc b/sql/sql_sequence.cc index 4e8624d6360..2e0029afd33 100644 --- a/sql/sql_sequence.cc +++ b/sql/sql_sequence.cc @@ -209,7 +209,7 @@ bool check_sequence_fields(LEX *lex, List<Create_field> *fields) Field_definition *field_def= &sequence_structure[field_no]; if (my_strcasecmp(system_charset_info, field_def->field_name, field->field_name.str) || - field->flags != field_def->flags || + field->flags() != field_def->flags || field->type_handler() != field_def->type_handler) { reason= field->field_name.str; @@ -253,7 +253,7 @@ bool prepare_sequence_fields(THD *thd, List<Create_field> *fields) new_field->length= field_info->length; new_field->char_length= field_info->length; new_field->comment= field_info->comment; - new_field->flags= field_info->flags; + new_field->set_flags(field_info->flags); if (unlikely(fields->push_back(new_field))) DBUG_RETURN(TRUE); /* purify inspected */ } |