summaryrefslogtreecommitdiff
path: root/sql/examples
diff options
context:
space:
mode:
authorunknown <ndbdev@dl145c.mysql.com>2005-09-13 05:33:11 +0200
committerunknown <ndbdev@dl145c.mysql.com>2005-09-13 05:33:11 +0200
commit0260e3dcc16544d73ae2a3e8996fa97ad5d288dd (patch)
treedc1114386c562d2cbb719f0a1bca93f08a3afefe /sql/examples
parent54e99aa58e826f15da7b8f8c071d02960c37a210 (diff)
parentb50eb4cd42d2d5073afb2af5af8b19c825a9cca1 (diff)
downloadmariadb-git-0260e3dcc16544d73ae2a3e8996fa97ad5d288dd.tar.gz
Merge
configure.in: Auto merged client/mysqltest.c: Auto merged include/my_global.h: Auto merged mysql-test/mysql-test-run.pl: Auto merged sql/sql_parse.cc: Auto merged sql/sql_select.cc: Auto merged sql/sql_yacc.yy: Auto merged storage/ndb/src/mgmsrv/MgmtSrvr.cpp: Auto merged storage/ndb/src/ndbapi/SignalSender.cpp: Auto merged sql/sql_table.cc: SCCS 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 7b9f6e23548..85104405024 100644
--- a/sql/examples/ha_archive.cc
+++ b/sql/examples/ha_archive.cc
@@ -544,7 +544,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;