Commit c36f737d authored by unknown's avatar unknown

Fixed Bug#7783, "mysql_free_result removes all resultsets (multi statements)".

parent 29f460f2
......@@ -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;
}
......
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