mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Manual merge from mysql-5.1 for Bug#11764168 (56976: Severe denial
of service in prepared statements).
This commit is contained in:
14
mysql-test/suite/sys_vars/r/max_long_data_size_basic.result
Normal file
14
mysql-test/suite/sys_vars/r/max_long_data_size_basic.result
Normal file
@@ -0,0 +1,14 @@
|
||||
select @@global.max_long_data_size=20;
|
||||
@@global.max_long_data_size=20
|
||||
0
|
||||
select @@session.max_long_data_size;
|
||||
ERROR HY000: Variable 'max_long_data_size' is a GLOBAL variable
|
||||
SELECT @@global.max_long_data_size = VARIABLE_VALUE
|
||||
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
|
||||
WHERE VARIABLE_NAME='max_long_data_size';
|
||||
@@global.max_long_data_size = VARIABLE_VALUE
|
||||
1
|
||||
set global max_long_data_size=1;
|
||||
ERROR HY000: Variable 'max_long_data_size' is a read only variable
|
||||
set session max_long_data_size=1;
|
||||
ERROR HY000: Variable 'max_long_data_size' is a read only variable
|
Reference in New Issue
Block a user