summaryrefslogtreecommitdiff
path: root/sql/examples
diff options
context:
space:
mode:
authorunknown <jimw@mysql.com>2005-09-12 10:19:56 -0700
committerunknown <jimw@mysql.com>2005-09-12 10:19:56 -0700
commit4975a7f9f8a1c3029d069651abbbfdc653ae7945 (patch)
tree6708142a5301857bc0c8c3c9db7bf0e8e98ea2a0 /sql/examples
parent17233698fcf91f482419ece675f2d747fae9f501 (diff)
parentda5a9926e1747b482fa7236bf794b4b605b21bf6 (diff)
downloadmariadb-git-4975a7f9f8a1c3029d069651abbbfdc653ae7945.tar.gz
Merge mysqldev@production.mysql.com:jimw/mysql-4.1-sco
into mysql.com:/home/jimw/my/mysql-4.1-clean configure.in: Auto merged include/my_pthread.h: Auto merged sql/examples/ha_archive.cc: Auto merged
Diffstat (limited to 'sql/examples')
-rw-r--r--sql/examples/ha_archive.cc2
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;