diff options
author | Varun Gupta <varunraiko1803@gmail.com> | 2018-04-04 19:04:14 +0530 |
---|---|---|
committer | Varun Gupta <varunraiko1803@gmail.com> | 2018-04-04 19:04:14 +0530 |
commit | 7c8c9a8bfa65af9e3f4cc14f89c71796853f1e04 (patch) | |
tree | a484930e4202e03aba76b5edda1efe0ef6c879bc /mysql-test/main/signal.test | |
parent | e6a9ce27591abd612dbb1d6b89cf4b5f2cd24a42 (diff) | |
download | mariadb-git-7c8c9a8bfa65af9e3f4cc14f89c71796853f1e04.tar.gz |
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
Diffstat (limited to 'mysql-test/main/signal.test')
-rw-r--r-- | mysql-test/main/signal.test | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mysql-test/main/signal.test b/mysql-test/main/signal.test index cdb5796f1da..e4dcb5a71cf 100644 --- a/mysql-test/main/signal.test +++ b/mysql-test/main/signal.test @@ -1360,7 +1360,7 @@ begin DECLARE iiix VARCHAR(65); DECLARE jjjx VARCHAR(65); DECLARE kkkx VARCHAR(65); - DECLARE lllx VARCHAR(129); + DECLARE lllx VARCHAR(513); DECLARE warn CONDITION FOR SQLSTATE "01234"; @@ -1375,9 +1375,9 @@ begin set iiix= concat(repeat("I", 64), "X"); set jjjx= concat(repeat("J", 64), "X"); set kkkx= concat(repeat("K", 64), "X"); - set lllx= concat(repeat("1", 100), - repeat("2", 20), - repeat("8", 8), + set lllx= concat(repeat("1", 500), + repeat("2", 10), + repeat("8", 2), "X"); SIGNAL warn SET |