diff options
author | jimw@mysql.com <> | 2005-08-15 12:37:45 -0700 |
---|---|---|
committer | jimw@mysql.com <> | 2005-08-15 12:37:45 -0700 |
commit | a3eaf4eec2c5b8e40c34f6f3aa78e0138483ef0b (patch) | |
tree | a82f8fdfe2f9d907eddaa4718eac8f87481e47b3 /sql-common | |
parent | 8589f14d450fb3d50915da2a97af7a7be48e1bb5 (diff) | |
parent | cd0f3596be07fde993780dbad797e0c99436dae4 (diff) | |
download | mariadb-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.c | 5 |
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; } |