mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-14576 Include full name of object in message about incorrect value for column.
The error message modified. Then the TABLE_SHARE::error_table_name() implementation taken from 10.3, to be used as a name of the table in this message.
This commit is contained in:
@ -622,7 +622,7 @@ drop table t1;
|
||||
set sql_mode="traditional";
|
||||
create table t1 (a date);
|
||||
insert into t1 values ('2004-01-00');
|
||||
ERROR 22007: Incorrect date value: '2004-01-00' for column 'a' at row 1
|
||||
ERROR 22007: Incorrect date value: '2004-01-00' for column `test`.`t1`.`a` at row 1
|
||||
set sql_mode="";
|
||||
create trigger t1_bi before insert on t1 for each row set new.a = '2004-01-00';
|
||||
set sql_mode="traditional";
|
||||
|
Reference in New Issue
Block a user