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
@@ -1817,7 +1817,7 @@ public:
|
||||
bool with_cleanup);
|
||||
bool vcol_fix_expr(THD *thd);
|
||||
bool vcol_cleanup_expr(THD *thd);
|
||||
Field *find_field_by_name(LEX_CSTRING *str) const;
|
||||
Field *find_field_by_name(const LEX_CSTRING *str) const;
|
||||
bool export_structure(THD *thd, class Row_definition_list *defs);
|
||||
bool is_splittable() { return spl_opt_info != NULL; }
|
||||
void set_spl_opt_info(SplM_opt_info *spl_info);
|
||||
|
Reference in New Issue
Block a user