Commit e5822c2c authored by unknown's avatar unknown

Move code after variable delcaration

parent 9f1998b1
...@@ -1511,7 +1511,6 @@ void var_set_query_get_value(struct st_command *command, VAR *var) ...@@ -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) ...@@ -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));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment