mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
MDEV-31058 ER_KEY_NOT_FOUND upon concurrent CHANGE column autoinc and DML
When column is changed to autoinc, ALTER TABLE may update zero/NULL values, if NO_AUTO_VALUE_ON_ZERO mode is not enabled. Forbid this for LOCK=NONE for the unreliable cases. The cases are described in online_alter_check_autoinc.
This commit is contained in:
committed by
Sergei Golubchik
parent
af82d56a51
commit
da277396bd
@@ -10616,7 +10616,7 @@ void Vers_history_point::print(String *str, enum_query_type query_type,
|
||||
item->print(str, query_type);
|
||||
}
|
||||
|
||||
Field *TABLE::find_field_by_name(LEX_CSTRING *str) const
|
||||
Field *TABLE::find_field_by_name(const LEX_CSTRING *str) const
|
||||
{
|
||||
Field **tmp;
|
||||
size_t length= str->length;
|
||||
|
Reference in New Issue
Block a user