summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorunknown <tnurnberg@mysql.com>2006-06-26 16:15:41 +0200
committerunknown <tnurnberg@mysql.com>2006-06-26 16:15:41 +0200
commit90ff8fbd380154b6b1efef259d326185277f007a (patch)
tree52750fc9ddb3d1986ceb555eba61a71476b11419 /client
parenteef15bdf4610a4bf6b28a3ffaa9e6047b3060653 (diff)
parent3989515a59954ea79e986aea266f4970cee0691a (diff)
downloadmariadb-git-90ff8fbd380154b6b1efef259d326185277f007a.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-5.0-maint
into mysql.com:/home/tnurnberg/mysql-5.0-maint-18462 mysql-test/r/mysqldump.result: Auto merged mysql-test/t/mysqldump.test: Auto merged client/mysqldump.c: SCCS merged
Diffstat (limited to 'client')
-rw-r--r--client/mysqldump.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/mysqldump.c b/client/mysqldump.c
index fbd8ae351b2..53cb06be6f3 100644
--- a/client/mysqldump.c
+++ b/client/mysqldump.c
@@ -1585,6 +1585,9 @@ static uint get_table_structure(char *table, char *db, char *table_type,
}
mysql_free_result(result);
+ if (path)
+ my_fclose(sql_file, MYF(MY_WME));
+
seen_views= 1;
DBUG_RETURN(0);
}