Remove trailing whitespace
This commit is contained in:
parent
e012abb17e
commit
f2fa347ff0
@ -2528,7 +2528,7 @@ int read_line(char *buf, int size)
|
|||||||
state= R_Q;
|
state= R_Q;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
state= R_NORMAL;
|
state= R_NORMAL;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case R_Q:
|
case R_Q:
|
||||||
@ -3635,6 +3635,7 @@ static void run_query_stmt(MYSQL *mysql, struct st_query *command,
|
|||||||
/* If we got here the statement was both executed and read succeesfully */
|
/* If we got here the statement was both executed and read succeesfully */
|
||||||
handle_no_error(command);
|
handle_no_error(command);
|
||||||
if (!disable_result_log)
|
if (!disable_result_log)
|
||||||
|
{
|
||||||
/*
|
/*
|
||||||
Not all statements creates a result set. If there is one we can
|
Not all statements creates a result set. If there is one we can
|
||||||
now create another normal result set that contains the meta
|
now create another normal result set that contains the meta
|
||||||
@ -3642,6 +3643,7 @@ static void run_query_stmt(MYSQL *mysql, struct st_query *command,
|
|||||||
statement result set.
|
statement result set.
|
||||||
*/
|
*/
|
||||||
if ((res= mysql_stmt_result_metadata(stmt)) != NULL)
|
if ((res= mysql_stmt_result_metadata(stmt)) != NULL)
|
||||||
|
{
|
||||||
/* Take the column count from meta info */
|
/* Take the column count from meta info */
|
||||||
MYSQL_FIELD *fields= mysql_fetch_fields(res);
|
MYSQL_FIELD *fields= mysql_fetch_fields(res);
|
||||||
uint num_fields= mysql_num_fields(res);
|
uint num_fields= mysql_num_fields(res);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user