summaryrefslogtreecommitdiff
path: root/sql-common
diff options
context:
space:
mode:
authorjimw@mysql.com <>2005-08-15 12:37:45 -0700
committerjimw@mysql.com <>2005-08-15 12:37:45 -0700
commita3eaf4eec2c5b8e40c34f6f3aa78e0138483ef0b (patch)
treea82f8fdfe2f9d907eddaa4718eac8f87481e47b3 /sql-common
parent8589f14d450fb3d50915da2a97af7a7be48e1bb5 (diff)
parentcd0f3596be07fde993780dbad797e0c99436dae4 (diff)
downloadmariadb-git-a3eaf4eec2c5b8e40c34f6f3aa78e0138483ef0b.tar.gz
Merge mysql.com:/home/jimw/my/mysql-4.1-clean
into mysql.com:/home/jimw/my/mysql-5.0-clean
Diffstat (limited to 'sql-common')
-rw-r--r--sql-common/client.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sql-common/client.c b/sql-common/client.c
index 4ec919553c6..993978f132f 100644
--- a/sql-common/client.c
+++ b/sql-common/client.c
@@ -713,8 +713,9 @@ void free_old_query(MYSQL *mysql)
if (mysql->fields)
free_root(&mysql->field_alloc,MYF(0));
init_alloc_root(&mysql->field_alloc,8192,0); /* Assume rowlength < 8192 */
- mysql->fields=0;
- mysql->field_count=0; /* For API */
+ mysql->fields= 0;
+ mysql->field_count= 0; /* For API */
+ mysql->info= 0;
DBUG_VOID_RETURN;
}