summaryrefslogtreecommitdiff
path: root/mysql-test/r/packet.result
diff options
context:
space:
mode:
authorGeorgi Kodinov <Georgi.Kodinov@Oracle.com>2011-03-25 12:57:27 +0200
committerGeorgi Kodinov <Georgi.Kodinov@Oracle.com>2011-03-25 12:57:27 +0200
commitdcf6b68d08acfbfdc3183b0a13f041af51573eb1 (patch)
tree5361a400dbc160f7b581f3c21205e92f0a326cbd /mysql-test/r/packet.result
parent4518a0ee8a6cbcfa1e28298701e70fcacfc6ced6 (diff)
downloadmariadb-git-dcf6b68d08acfbfdc3183b0a13f041af51573eb1.tar.gz
Bug #11766769: 59959: SMALL VALUES OF --MAX-ALLOWED-PACKET
ARE NOT BEING HONORED max_allowed_packet works in conjunction with net_buffer_length. max_allowed_packet is an upper bound of net_buffer_length. So it doesn't make sense to set the upper limit lower than the value. Added a warning (using ER_UNKNOWN_ERRROR and a specific message) when this is done (in the log at startup and when setting either max_allowed_packet or the net_buffer_length variables) Added a test case. Fixed several tests that broke the above rule.
Diffstat (limited to 'mysql-test/r/packet.result')
-rw-r--r--mysql-test/r/packet.result1
1 files changed, 1 insertions, 0 deletions
diff --git a/mysql-test/r/packet.result b/mysql-test/r/packet.result
index ecbb47d4ee0..d673ab42691 100644
--- a/mysql-test/r/packet.result
+++ b/mysql-test/r/packet.result
@@ -3,6 +3,7 @@ set @net_buffer_length=@@global.net_buffer_length;
set global max_allowed_packet=100;
Warnings:
Warning 1292 Truncated incorrect max_allowed_packet value: '100'
+Warning 1105 The value of 'max_allowed_packet' should be no less than the value of 'net_buffer_length'
set global net_buffer_length=100;
Warnings:
Warning 1292 Truncated incorrect net_buffer_length value: '100'