mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Move code after variable delcaration
This commit is contained in:
@ -1511,7 +1511,6 @@ void var_set_query_get_value(struct st_command *command, VAR *var)
|
|||||||
int col_no= -1;
|
int col_no= -1;
|
||||||
MYSQL_RES* res;
|
MYSQL_RES* res;
|
||||||
MYSQL* mysql= &cur_con->mysql;
|
MYSQL* mysql= &cur_con->mysql;
|
||||||
LINT_INIT(res);
|
|
||||||
|
|
||||||
static DYNAMIC_STRING ds_query;
|
static DYNAMIC_STRING ds_query;
|
||||||
static DYNAMIC_STRING ds_col;
|
static DYNAMIC_STRING ds_col;
|
||||||
@ -1523,6 +1522,7 @@ void var_set_query_get_value(struct st_command *command, VAR *var)
|
|||||||
};
|
};
|
||||||
|
|
||||||
DBUG_ENTER("var_set_query_get_value");
|
DBUG_ENTER("var_set_query_get_value");
|
||||||
|
LINT_INIT(res);
|
||||||
|
|
||||||
strip_parentheses(command);
|
strip_parentheses(command);
|
||||||
DBUG_PRINT("info", ("query: %s", command->query));
|
DBUG_PRINT("info", ("query: %s", command->query));
|
||||||
|
Reference in New Issue
Block a user