1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

MDEV-21017: Assertion `!is_set() || (m_status == DA_OK_BULK && is_bulk_op())'

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.
This commit is contained in:
Rucha Deodhar
2020-07-28 13:43:25 +05:30
parent 00f964ab4d
commit 97f7bfcebc
3 changed files with 34 additions and 0 deletions

View File

@ -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;