diff options
author | monty@hundin.mysql.fi <> | 2001-12-10 17:51:07 +0200 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2001-12-10 17:51:07 +0200 |
commit | 12058c299647533050950d1dd5952c666c2eceb2 (patch) | |
tree | 40df440fc1708f1f09301e5f4f923c08a4470ec9 /libmysql | |
parent | 0f71e337b32c3388070f96160234df86eae964f8 (diff) | |
download | mariadb-git-12058c299647533050950d1dd5952c666c2eceb2.tar.gz |
Fixed bug in GROUP BY ... DESC
Diffstat (limited to 'libmysql')
-rw-r--r-- | libmysql/libmysql.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c index 4a5e534389e..8a73f694e41 100644 --- a/libmysql/libmysql.c +++ b/libmysql/libmysql.c @@ -1955,6 +1955,8 @@ mysql_fetch_row(MYSQL_RES *res) DBUG_PRINT("info",("end of data")); res->eof=1; res->handle->status=MYSQL_STATUS_READY; + /* Don't clear handle in mysql_free_results */ + res->handle=0; } } DBUG_RETURN((MYSQL_ROW) NULL); |