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
commit b81d8b2e5a
14 changed files with 131 additions and 75 deletions

View file

@ -201,7 +201,8 @@ public:
enum_var_type type;
union ///< temp storage to hold a value between sys_var::check and ::update
{
ulonglong ulonglong_value; ///< for all integer, set, enum sysvars
ulonglong ulonglong_value; ///< for unsigned integer, set, enum sysvars
longlong longlong_value; ///< for signed integer
double double_value; ///< for Sys_var_double
plugin_ref plugin; ///< for Sys_var_plugin
Time_zone *time_zone; ///< for Sys_var_tz