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

@ -520,7 +520,7 @@ typedef struct system_variables
ulong query_cache_type;
ulong tx_isolation;
ulong updatable_views_with_limit;
uint max_user_connections;
int max_user_connections;
/**
In slave thread we need to know in behalf of which
thread the query is being run to replicate temp tables properly