mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-16102 Wrong ER_DUP_ENTRY upon ADD UNIQUE KEY on versioned table
* ignore CHECK constraint for historical rows; * FOREIGN KEY test case. TODO: MDEV-16301 IB: use real table name for error messages on ALTER Closes tempesta-tech/mariadb#491 Closes #748
This commit is contained in:
committed by
Sergei Golubchik
parent
b5184c7efb
commit
7c0779da7c
@ -32,14 +32,7 @@ public:
|
||||
|
||||
enum enum_enable_or_disable { LEAVE_AS_IS, ENABLE, DISABLE };
|
||||
|
||||
bool data_modifying() const
|
||||
{
|
||||
return flags & (
|
||||
ALTER_PARSER_ADD_COLUMN |
|
||||
ALTER_PARSER_DROP_COLUMN |
|
||||
ALTER_CHANGE_COLUMN |
|
||||
ALTER_COLUMN_ORDER);
|
||||
}
|
||||
bool vers_prohibited(THD *thd) const;
|
||||
|
||||
/**
|
||||
The different values of the ALGORITHM clause.
|
||||
|
Reference in New Issue
Block a user