summaryrefslogtreecommitdiff
path: root/mysql-test/r/variables-notembedded.result
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@montyprogram.com>2011-12-01 22:37:45 +0100
committerVladislav Vaintroub <wlad@montyprogram.com>2011-12-01 22:37:45 +0100
commit1054de8699cc64174ec57771fb631ea14a48158e (patch)
tree7292ae597e7cfd56e05b7e62dd9e72c410540ea2 /mysql-test/r/variables-notembedded.result
parent02963d45e37e85619e33f49d82e26157c8b580f6 (diff)
downloadmariadb-git-1054de8699cc64174ec57771fb631ea14a48158e.tar.gz
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.
Diffstat (limited to 'mysql-test/r/variables-notembedded.result')
-rw-r--r--mysql-test/r/variables-notembedded.result2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/r/variables-notembedded.result b/mysql-test/r/variables-notembedded.result
index 6089d39780b..2c707765aca 100644
--- a/mysql-test/r/variables-notembedded.result
+++ b/mysql-test/r/variables-notembedded.result
@@ -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;