summaryrefslogtreecommitdiff
path: root/sql/examples
diff options
context:
space:
mode:
authorjimw@mysql.com <>2005-09-12 17:00:50 -0700
committerjimw@mysql.com <>2005-09-12 17:00:50 -0700
commita60ed0b75d75304324c7d7ca70125a5d650033d9 (patch)
tree1ad89ca3921996790f4f78584fb66bf871991e26 /sql/examples
parentb5dbd1c7a1807f6d0c98c131f933385d4f305b02 (diff)
parent0eec7c3cf4c36717c790cd779850e6e22303bdba (diff)
downloadmariadb-git-a60ed0b75d75304324c7d7ca70125a5d650033d9.tar.gz
Merge mysql.com:/home/jimw/my/mysql-4.1-clean
into mysql.com:/home/jimw/my/mysql-5.0-clean
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;