mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +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:
@ -488,8 +488,7 @@ DECLARE CONTINUE HANDLER FOR condname1 SET x1 = 1;
|
||||
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 'CHECK SQLSTATE '23000';
|
||||
END;
|
||||
DECLARE CONTINUE HANDLER FOR condname1 SET x1 = 1;
|
||||
' at line 5
|
||||
DECLARE CONTINUE HANDLER FOR condname1 SET x1 = ...' at line 5
|
||||
CREATE PROCEDURE h1 ()
|
||||
BEGIN
|
||||
DECLARE x1 INT DEFAULT 0;
|
||||
@ -522,8 +521,7 @@ SELECT 'end of 1';
|
||||
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 'undo handler for sqlexception select '1';
|
||||
select * from tqq;
|
||||
SELECT 'end of 1';
|
||||
' at line 3
|
||||
SELECT 'end of 1...' at line 3
|
||||
create procedure p1 ()
|
||||
begin
|
||||
declare exit handler for sqlexception select 'exit handler 1';
|
||||
|
Reference in New Issue
Block a user