mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
5.3->5.5 merge
This commit is contained in:
@ -1,11 +1,11 @@
|
||||
SET @start_global_value = @@global.max_user_connections;
|
||||
SELECT @start_global_value;
|
||||
@start_global_value
|
||||
0
|
||||
10
|
||||
SET @start_session_value = @@session.max_user_connections;
|
||||
SELECT @start_session_value;
|
||||
@start_session_value
|
||||
0
|
||||
10
|
||||
'#--------------------FN_DYNVARS_087_01-------------------------#'
|
||||
SET @@global.max_user_connections = 1000;
|
||||
SET @@global.max_user_connections = DEFAULT;
|
||||
@ -37,14 +37,14 @@ SET @@global.max_user_connections = 65536;
|
||||
SELECT @@global.max_user_connections;
|
||||
@@global.max_user_connections
|
||||
65536
|
||||
SET @@global.max_user_connections = 4294967295;
|
||||
SET @@global.max_user_connections = 2147483647;
|
||||
SELECT @@global.max_user_connections;
|
||||
@@global.max_user_connections
|
||||
4294967295
|
||||
SET @@global.max_user_connections = 4294967294;
|
||||
2147483647
|
||||
SET @@global.max_user_connections = 2147483646;
|
||||
SELECT @@global.max_user_connections;
|
||||
@@global.max_user_connections
|
||||
4294967294
|
||||
2147483646
|
||||
'#------------------FN_DYNVARS_087_05-----------------------#'
|
||||
SET @@global.max_user_connections = -1024;
|
||||
Warnings:
|
||||
@ -57,7 +57,7 @@ Warnings:
|
||||
Warning 1292 Truncated incorrect max_user_connections value: '4294967296'
|
||||
SELECT @@global.max_user_connections;
|
||||
@@global.max_user_connections
|
||||
4294967295
|
||||
2147483647
|
||||
SET @@global.max_user_connections = -1;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect max_user_connections value: '-1'
|
||||
@ -69,17 +69,17 @@ Warnings:
|
||||
Warning 1292 Truncated incorrect max_user_connections value: '429496729500'
|
||||
SELECT @@global.max_user_connections;
|
||||
@@global.max_user_connections
|
||||
4294967295
|
||||
2147483647
|
||||
SET @@global.max_user_connections = 65530.34;
|
||||
ERROR 42000: Incorrect argument type to variable 'max_user_connections'
|
||||
SELECT @@global.max_user_connections;
|
||||
@@global.max_user_connections
|
||||
4294967295
|
||||
2147483647
|
||||
SET @@global.max_user_connections = test;
|
||||
ERROR 42000: Incorrect argument type to variable 'max_user_connections'
|
||||
SELECT @@global.max_user_connections;
|
||||
@@global.max_user_connections
|
||||
4294967295
|
||||
2147483647
|
||||
'#------------------FN_DYNVARS_087_06-----------------------#'
|
||||
SELECT @@global.max_user_connections = VARIABLE_VALUE
|
||||
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
|
||||
@ -114,4 +114,4 @@ ERROR 42S22: Unknown column 'max_user_connections' in 'field list'
|
||||
SET @@global.max_user_connections = @start_global_value;
|
||||
SELECT @@global.max_user_connections;
|
||||
@@global.max_user_connections
|
||||
0
|
||||
10
|
||||
|
Reference in New Issue
Block a user