mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-15241: make SIGNAL maximum MESSAGE_TEXT length a larger value
Increasing the length of MESSAGE_TEXT from 128 to MYSQL_ERRMSG_SIZE which is the max length of the error message
This commit is contained in:
@ -69,8 +69,8 @@ $$
|
||||
|
||||
create procedure p2()
|
||||
begin
|
||||
declare msg VARCHAR(129) CHARACTER SET UTF8;
|
||||
set msg = concat(repeat('A', 128), 'X');
|
||||
declare msg VARCHAR(513) CHARACTER SET UTF8;
|
||||
set msg = concat(repeat('A', 512), 'X');
|
||||
select length(msg), msg;
|
||||
|
||||
signal sqlstate '55555' set message_text = msg;
|
||||
|
Reference in New Issue
Block a user