diff options
author | jimw@mysql.com <> | 2005-09-12 10:19:56 -0700 |
---|---|---|
committer | jimw@mysql.com <> | 2005-09-12 10:19:56 -0700 |
commit | 16e5f22162b26045b1b85836deaa4950b75abf6d (patch) | |
tree | 6708142a5301857bc0c8c3c9db7bf0e8e98ea2a0 /sql/examples | |
parent | c398940326dc4362c6071b29a17e5cbf06dffac4 (diff) | |
parent | 121678a72e6ae9a28c1b4d76f06e6fb656841398 (diff) | |
download | mariadb-git-16e5f22162b26045b1b85836deaa4950b75abf6d.tar.gz |
Merge mysqldev@production.mysql.com:jimw/mysql-4.1-sco
into mysql.com:/home/jimw/my/mysql-4.1-clean
Diffstat (limited to 'sql/examples')
-rw-r--r-- | sql/examples/ha_archive.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/examples/ha_archive.cc b/sql/examples/ha_archive.cc index 577ead8a86d..ee4cad25460 100644 --- a/sql/examples/ha_archive.cc +++ b/sql/examples/ha_archive.cc @@ -520,7 +520,7 @@ int ha_archive::create(const char *name, TABLE *table_arg, error= my_errno; goto error; } - if ((archive= gzdopen(create_file, "ab")) == NULL) + if ((archive= gzdopen(create_file, "wb")) == NULL) { error= errno; goto error2; |