mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-20604: Duplicate key value is silently truncated to 64 characters in print_keydup_error
Added indication of truncated string for "s" and "M" formats
This commit is contained in:
@ -2347,21 +2347,21 @@ DECLARE céèçà foo CONDITION FOR SQLSTATE '12345';
|
||||
SIGNAL céèçà SET MYSQL_ERRNO = 1000;
|
||||
end $$
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '<27>èçà foo CONDITION FOR SQLSTATE '12345';
|
||||
SIGNAL céèçà SET ' at line 3
|
||||
SIGNAL céèçà S...' at line 3
|
||||
create procedure test_signal()
|
||||
begin
|
||||
DECLARE "céèçà" CONDITION FOR SQLSTATE '12345';
|
||||
SIGNAL "céèçà" SET MYSQL_ERRNO = 1000;
|
||||
end $$
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '"céèçà" CONDITION FOR SQLSTATE '12345';
|
||||
SIGNAL "céèçà" S' at line 3
|
||||
SIGNAL "céèçà...' at line 3
|
||||
create procedure test_signal()
|
||||
begin
|
||||
DECLARE 'céèçà' CONDITION FOR SQLSTATE '12345';
|
||||
SIGNAL 'céèçà' SET MYSQL_ERRNO = 1000;
|
||||
end $$
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''céèçà' CONDITION FOR SQLSTATE '12345';
|
||||
SIGNAL 'céèçà' S' at line 3
|
||||
SIGNAL 'céèçà...' at line 3
|
||||
create procedure test_signal()
|
||||
begin
|
||||
DECLARE `céèçà` CONDITION FOR SQLSTATE '12345';
|
||||
|
Reference in New Issue
Block a user