mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-5.1-build
into gbichot4.local:/home/mysql_src/mysql-5.1-build-gca client/mysqltest.c: Auto merged include/my_sys.h: Auto merged mysys/thr_lock.c: Auto merged sql/set_var.cc: Auto merged sql/sql_plugin.cc: Auto merged
This commit is contained in:
@@ -1876,7 +1876,7 @@ err:
|
||||
static int check_func_int(THD *thd, struct st_mysql_sys_var *var,
|
||||
void *save, st_mysql_value *value)
|
||||
{
|
||||
bool fixed;
|
||||
my_bool fixed;
|
||||
long long tmp;
|
||||
struct my_option options;
|
||||
value->val_int(value, &tmp);
|
||||
@@ -1904,7 +1904,7 @@ static int check_func_int(THD *thd, struct st_mysql_sys_var *var,
|
||||
static int check_func_long(THD *thd, struct st_mysql_sys_var *var,
|
||||
void *save, st_mysql_value *value)
|
||||
{
|
||||
bool fixed;
|
||||
my_bool fixed;
|
||||
long long tmp;
|
||||
struct my_option options;
|
||||
value->val_int(value, &tmp);
|
||||
@@ -1932,12 +1932,11 @@ static int check_func_long(THD *thd, struct st_mysql_sys_var *var,
|
||||
static int check_func_longlong(THD *thd, struct st_mysql_sys_var *var,
|
||||
void *save, st_mysql_value *value)
|
||||
{
|
||||
bool fixed;
|
||||
my_bool fixed;
|
||||
long long tmp;
|
||||
struct my_option options;
|
||||
value->val_int(value, &tmp);
|
||||
plugin_opt_set_limits(&options, var);
|
||||
*(ulonglong *)save= getopt_ull_limit_value(tmp, &options, &fixed);
|
||||
|
||||
if (var->flags & PLUGIN_VAR_UNSIGNED)
|
||||
*(ulonglong *)save= getopt_ull_limit_value((ulonglong) tmp, &options,
|
||||
|
Reference in New Issue
Block a user