1
0
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:
Sergei Golubchik
2011-11-22 18:05:34 +01:00
parent d2755a2c9c
commit b81d8b2e5a
14 changed files with 131 additions and 75 deletions

View File

@ -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'