diff options
Diffstat (limited to 'mysql-test/main/cast.result')
-rw-r--r-- | mysql-test/main/cast.result | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mysql-test/main/cast.result b/mysql-test/main/cast.result index d500ef4fa1d..6021add2762 100644 --- a/mysql-test/main/cast.result +++ b/mysql-test/main/cast.result @@ -727,6 +727,7 @@ DROP TABLE t1; # # Bug #11765023: 57934: DOS POSSIBLE SINCE BINARY CASTING # DOESN'T ADHERE TO MAX_ALLOWED_PACKET +set @save_max_allowed_packet=@@global.max_allowed_packet; SET @@GLOBAL.max_allowed_packet=2048; Warnings: Warning 1708 The value of 'max_allowed_packet' should be no less than the value of 'net_buffer_length' @@ -748,7 +749,7 @@ Warnings: Warning 1301 Result of cast_as_char() was larger than max_allowed_packet (2048) - truncated connection default; disconnect newconn; -SET @@GLOBAL.max_allowed_packet=default; +SET @@GLOBAL.max_allowed_packet=@save_max_allowed_packet; # # Bug#13519724 63793: CRASH IN DTCOLLATION::SET(DTCOLLATION &SET) # |