Fixed Bug#7783, "mysql_free_result removes all resultsets (multi statements)".
This commit is contained in:
parent
de40cf0178
commit
3bc92ed9f5
@ -752,7 +752,7 @@ static void cli_flush_use_result(MYSQL *mysql)
|
||||
{
|
||||
if (protocol_41(mysql))
|
||||
{
|
||||
char *pos= (char*) mysql->net.read_pos;
|
||||
char *pos= (char*) mysql->net.read_pos + 1;
|
||||
mysql->warning_count=uint2korr(pos); pos+=2;
|
||||
mysql->server_status=uint2korr(pos); pos+=2;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user