mirror of
https://github.com/MariaDB/server.git
synced 2026-05-10 17:14:30 +02:00
Bug#34374: mysql generates incorrect warning
an item was evaluated unnecessary, fix that by checking preconditions before evaluating the item sql/sql_select.cc: an item was evaluated unnecessary, fix that by checking preconditions before evaluating the item
This commit is contained in:
parent
255f8feb4c
commit
f1906c62d5
4 changed files with 24 additions and 8 deletions
|
|
@ -39,8 +39,7 @@ static ulonglong getopt_ull(char *arg, const struct my_option *optp,
|
|||
static double getopt_double(char *arg, const struct my_option *optp, int *err);
|
||||
static void init_variables(const struct my_option *options,
|
||||
init_func_p init_one_value);
|
||||
static void init_one_value(const struct my_option *option, uchar* *variable,
|
||||
longlong value);
|
||||
static void init_one_value(const struct my_option *opt, uchar* *, longlong);
|
||||
static void fini_one_value(const struct my_option *option, uchar* *variable,
|
||||
longlong value);
|
||||
static int setval(const struct my_option *opts, uchar **value, char *argument,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue