1
0
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:
Varun Gupta
2018-04-04 19:04:14 +05:30
parent e6a9ce2759
commit 7c8c9a8bfa
5 changed files with 18 additions and 17 deletions

View File

@ -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;