diff options
author | unknown <georg@lmy002.wdf.sap.corp> | 2005-07-19 17:31:18 +0200 |
---|---|---|
committer | unknown <georg@lmy002.wdf.sap.corp> | 2005-07-19 17:31:18 +0200 |
commit | 1dccfdac1b3aaff78c1dd0177b272c2856e52135 (patch) | |
tree | a79e68d1b20aa4b976ece98b51991eebacbd25ea /sql-common | |
parent | 1de9a05567eabbcbe37ff5b71533e33e96f24c44 (diff) | |
download | mariadb-git-1dccfdac1b3aaff78c1dd0177b272c2856e52135.tar.gz |
fix for bug#12001
sql-common/client.c:
fixed wrong offset
tests/mysql_client_test.c:
testcase for bug #12001
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 c25e0e3de8f..860db63c531 100644 --- a/sql-common/client.c +++ b/sql-common/client.c @@ -755,7 +755,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; } |