mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
Fixed a test failure in embedded because of the fix for BUG#11766769
This commit is contained in:
parent
2db0641a60
commit
792781f982
4 changed files with 51 additions and 48 deletions
|
@ -108,3 +108,27 @@ SET @@session.slave_skip_errors= 7;
|
|||
ERROR HY000: Variable 'slave_skip_errors' is a read only variable
|
||||
SET @@global.slave_skip_errors= 7;
|
||||
ERROR HY000: Variable 'slave_skip_errors' is a read only variable
|
||||
#
|
||||
# Bug #11766769 : 59959: SMALL VALUES OF --MAX-ALLOWED-PACKET
|
||||
# ARE NOT BEING HONORED
|
||||
#
|
||||
CREATE TABLE t1 (a MEDIUMTEXT);
|
||||
SET GLOBAL max_allowed_packet=2048;
|
||||
Warnings:
|
||||
Warning 1105 The value of 'max_allowed_packet' should be no less than the value of 'net_buffer_length'
|
||||
SET GLOBAL net_buffer_length=4096;
|
||||
Warnings:
|
||||
Warning 1105 The value of 'max_allowed_packet' should be no less than the value of 'net_buffer_length'
|
||||
SHOW SESSION VARIABLES LIKE 'max_allowed_packet';
|
||||
Variable_name Value
|
||||
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
|
||||
SELECT LENGTH(a) FROM t1;
|
||||
LENGTH(a)
|
||||
SET GLOBAL max_allowed_packet=default;
|
||||
SET GLOBAL net_buffer_length=default;
|
||||
DROP TABLE t1;
|
||||
End of 5.1 tests
|
||||
|
|
|
@ -1567,27 +1567,4 @@ SET @@global.max_binlog_cache_size=DEFAULT;
|
|||
SET @@global.max_join_size=DEFAULT;
|
||||
SET @@global.key_buffer_size=@kbs;
|
||||
SET @@global.key_cache_block_size=@kcbs;
|
||||
#
|
||||
# Bug #11766769 : 59959: SMALL VALUES OF --MAX-ALLOWED-PACKET
|
||||
# ARE NOT BEING HONORED
|
||||
#
|
||||
CREATE TABLE t1 (a MEDIUMTEXT);
|
||||
SET GLOBAL max_allowed_packet=2048;
|
||||
Warnings:
|
||||
Warning 1105 The value of 'max_allowed_packet' should be no less than the value of 'net_buffer_length'
|
||||
SET GLOBAL net_buffer_length=4096;
|
||||
Warnings:
|
||||
Warning 1105 The value of 'max_allowed_packet' should be no less than the value of 'net_buffer_length'
|
||||
SHOW SESSION VARIABLES LIKE 'max_allowed_packet';
|
||||
Variable_name Value
|
||||
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
|
||||
SELECT LENGTH(a) FROM t1;
|
||||
LENGTH(a)
|
||||
SET GLOBAL max_allowed_packet=default;
|
||||
SET GLOBAL net_buffer_length=default;
|
||||
DROP TABLE t1;
|
||||
End of 5.1 tests
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue