mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Add support for signed sysvars.
Make max_user_connections signed, with min allowed value being -1.
This commit is contained in:
@ -51,7 +51,7 @@ Warnings:
|
||||
Warning 1292 Truncated incorrect max_user_connections value: '-1024'
|
||||
SELECT @@global.max_user_connections;
|
||||
@@global.max_user_connections
|
||||
0
|
||||
-1
|
||||
SET @@global.max_user_connections = 4294967296;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect max_user_connections value: '4294967296'
|
||||
@ -59,11 +59,9 @@ SELECT @@global.max_user_connections;
|
||||
@@global.max_user_connections
|
||||
2147483647
|
||||
SET @@global.max_user_connections = -1;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect max_user_connections value: '-1'
|
||||
SELECT @@global.max_user_connections;
|
||||
@@global.max_user_connections
|
||||
0
|
||||
-1
|
||||
SET @@global.max_user_connections = 429496729500;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect max_user_connections value: '429496729500'
|
||||
|
Reference in New Issue
Block a user