mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
use consistent error messaging for IGNORE
1. the same message text for INSERT and INSERT IGNORE 2. no new warnings in UPDATE IGNORE yet (big change for 5.5) and replace a commonly used expression with a named constant
This commit is contained in:
@ -335,6 +335,7 @@
|
||||
#define HA_CHECK_DUP_UNIQUE 2
|
||||
#define HA_CHECK_FK_ERROR 4
|
||||
#define HA_CHECK_DUP (HA_CHECK_DUP_KEY + HA_CHECK_DUP_UNIQUE)
|
||||
#define HA_CHECK_ALL (~0U)
|
||||
|
||||
enum legacy_db_type
|
||||
{
|
||||
@ -3110,6 +3111,4 @@ inline const char *table_case_name(HA_CREATE_INFO *info, const char *name)
|
||||
return ((lower_case_table_names == 2 && info->alias) ? info->alias : name);
|
||||
}
|
||||
|
||||
void warn_fk_constraint_violation(THD *thd, TABLE *table, int error);
|
||||
|
||||
#endif /* HANDLER_INCLUDED */
|
||||
|
Reference in New Issue
Block a user