List:Internals« Previous MessageNext Message »
From:Jim Winstead Date:September 8 2005 9:41pm
Subject:bk commit into 4.1 tree (jimw:1.2190)
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of mysqldev. When mysqldev does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.2190 05/09/08 21:40:59 jimw@stripped +1 -0
  When first creating the ARZ file for an archive table, use "wb" as the mode for
  gzdopen() because the file itself was only opened for writing (and truncated),
  and some libc implementations (like SCO) don't like to do a fdopen(..., "a") on
  a fd that was not opened using O_APPEND.

  sql/examples/ha_archive.cc
    1.21 05/09/08 21:37:34 jimw@stripped +1 -1
    Use "wb" instead of "ab" since we just opened this file for writing

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	jimw
# Host:	production.mysql.com
# Root:	/data0/mysqldev/jimw/mysql-4.1-sco

--- 1.20/sql/examples/ha_archive.cc	2005-02-12 19:17:22 +01:00
+++ 1.21/sql/examples/ha_archive.cc	2005-09-08 21:37:34 +02:00
@@ -520,7 +520,7 @@
     error= my_errno;
     goto error;
   }
-  if ((archive= gzdopen(create_file, "ab")) == NULL)
+  if ((archive= gzdopen(create_file, "wb")) == NULL)
   {
     error= errno;
     goto error2;
Thread
bk commit into 4.1 tree (jimw:1.2190)Jim Winstead8 Sep