MDEV-14576 Include full name of object in message about incorrect value for column.

galera_prepared_statement test fixed.
This commit is contained in:
Alexey Botchkov 2018-12-16 18:43:51 +04:00
parent d1fb52afff
commit 20011c8b14
2 changed files with 2 additions and 1 deletions

View file

@ -28,7 +28,7 @@ ALTER TABLE t1 ADD COLUMN f2 INTEGER;
ALTER TABLE t1 DROP COLUMN f1;
connection node_1;
EXECUTE st1;
ERROR 22007: Incorrect integer value: 'abc' for column 'f2' at row 1
ERROR 22007: Incorrect integer value: 'abc' for column `test`.`t1`.`f2` at row 1
connection node_1;
DROP TABLE t1;
DROP TABLE t2;

View file

@ -837,6 +837,7 @@ UPDATE Sow6_2f SET col1 = col1 / 0 WHERE col1 > 0;
#-- should return SQLSTATE 22012 division by zero
SELECT MOD(col1,0) FROM Sow6_2f;
#-- should return SQLSTATE 22012 division by zero
--replace_result sow Sow
-- error 1366
INSERT INTO Sow6_2f VALUES ('a59b');
#-- should return SQLSTATE 22018 invalid character value for cast