Commit c36f737d authored by unknown's avatar unknown
Browse files

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

parent 29f460f2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
      }