diff options
author | unknown <jani@ua141d10.elisa.omakaista.fi> | 2005-02-17 21:45:13 +0200 |
---|---|---|
committer | unknown <jani@ua141d10.elisa.omakaista.fi> | 2005-02-17 21:45:13 +0200 |
commit | c36f737d54dfe4fac9870b3a7d50b8ba9f4d5147 (patch) | |
tree | 8eefa7e968a17c4b63097f09d17240d7d9e55191 /sql-common | |
parent | 29f460f22655da8f2d4fc17c8c7d324357d6af32 (diff) | |
download | mariadb-git-c36f737d54dfe4fac9870b3a7d50b8ba9f4d5147.tar.gz |
Fixed Bug#7783, "mysql_free_result removes all resultsets (multi statements)".
Diffstat (limited to 'sql-common')
-rw-r--r-- | sql-common/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql-common/client.c b/sql-common/client.c index 9dcf6b3e32c..cca1452d710 100644 --- a/sql-common/client.c +++ b/sql-common/client.c @@ -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; } |