mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
Fix intermittently failing variables-notembedded test case.
After sending packet that is too large, clienrt can get either an error packet with ER_NET_PACKET_TOO_LARGE, or a socket error. Both cases are valid, since the server does not ensure reply was fully read by client, before shutting down and closing the socket.
This commit is contained in:
parent
02963d45e3
commit
1054de8699
2 changed files with 7 additions and 2 deletions
|
@ -125,7 +125,7 @@ max_allowed_packet 2048
|
|||
SHOW SESSION VARIABLES LIKE 'net_buffer_length';
|
||||
Variable_name Value
|
||||
net_buffer_length 4096
|
||||
ERROR 08S01: Got a packet bigger than 'max_allowed_packet' bytes
|
||||
Got one of the listed errors
|
||||
SELECT LENGTH(a) FROM t1;
|
||||
LENGTH(a)
|
||||
SET GLOBAL max_allowed_packet=default;
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue