summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2001-10-10 15:37:13 -0600
committerunknown <sasha@mysql.sashanet.com>2001-10-10 15:37:13 -0600
commit2f4e168159e72028633fe5005dd3e85211fc476e (patch)
treed67297d5367ef0be974b38d393ad1a0df5975ed4 /client
parent6b648e4b1344391659b7be10c45c7fb71cb8e17d (diff)
parent229e25f8cfc2601febe57e6e99ccdf9667f1add0 (diff)
downloadmariadb-git-2f4e168159e72028633fe5005dd3e85211fc476e.tar.gz
Merge work:/home/bk/mysql-4.0
into mysql.sashanet.com:/home/sasha/src/bk/mysql-4.0
Diffstat (limited to 'client')
-rw-r--r--client/mysqldump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysqldump.c b/client/mysqldump.c
index 894286f8896..64e7ae0fd82 100644
--- a/client/mysqldump.c
+++ b/client/mysqldump.c
@@ -1150,9 +1150,9 @@ static void dumpTable(uint numFields, char *table)
}
if (opt_lock)
fputs("UNLOCK TABLES;\n", md_result_file);
- mysql_free_result(res);
if (opt_autocommit)
fprintf(md_result_file, "commit;\n");
+ mysql_free_result(res);
}
} /* dumpTable */