diff options
author | Rucha Deodhar <rucha.deodhar@mariadb.com> | 2020-07-28 13:43:25 +0530 |
---|---|---|
committer | Rucha Deodhar <rucha.deodhar@mariadb.com> | 2020-07-28 14:12:59 +0530 |
commit | 6542511572e91ed3077e91bf9a3b6c40cf5ede51 (patch) | |
tree | 4679a8b7aa9279b5d138d8319801b0835760291d /sql/handler.cc | |
parent | 4968fdbcef1c2d62ed525dffac153cf9f8eb1913 (diff) | |
download | mariadb-git-bb-10.4-MDEV-21017.tar.gz |
MDEV-21017: Assertion `!is_set() || (m_status == DA_OK_BULK && is_bulk_op())'bb-10.4-MDEV-21017
failed or late ER_PERIOD_FIELD_WRONG_ATTRIBUTES upon attempt to create
existing table
Analysis: Error state is not stored when field is checked in
Table_period_info::check_field()
Fix: Store error state by setting res to true.
Diffstat (limited to 'sql/handler.cc')
-rw-r--r-- | sql/handler.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/handler.cc b/sql/handler.cc index 5f94f9e893b..21922ec9d73 100644 --- a/sql/handler.cc +++ b/sql/handler.cc @@ -7856,6 +7856,7 @@ bool Table_period_info::check_field(const Create_field* f, { my_error(ER_PERIOD_FIELD_WRONG_ATTRIBUTES, MYF(0), f->field_name.str, "GENERATED ALWAYS AS"); + res= true; } return res; |