List:Commits« Previous MessageNext Message »
From:Stewart Smith Date:December 6 2007 1:44pm
Subject:bk commit into 5.1 tree (stewart:1.2767)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of stewart. When stewart 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@stripped, 2007-12-07 00:44:23+11:00, stewart@willster.(none) +1 -0
  bug where no posix_memalign (real or ndb wrapper). Shows on OSX if try to use ndb_restore

  storage/ndb/src/common/util/azio.c@stripped, 2007-12-07 00:44:21+11:00, stewart@willster.(none) +1 -1
    silly malloc mistake for case where no posix_memalign (real or NdbMem wrapper)

diff -Nrup a/storage/ndb/src/common/util/azio.c b/storage/ndb/src/common/util/azio.c
--- a/storage/ndb/src/common/util/azio.c	2007-12-01 10:38:41 +11:00
+++ b/storage/ndb/src/common/util/azio.c	2007-12-07 00:44:21 +11:00
@@ -143,7 +143,7 @@ int az_open (azio_stream *s, const char 
       return -err;
     err= posix_memalign((void**)&(s->outbuf),512,AZ_BUFSIZE_WRITE);
     if(err==ENOTSUP)
-      s->inbuf= malloc(AZ_BUFSIZE_READ);
+      s->outbuf= malloc(AZ_BUFSIZE_WRITE);
     else if(err)
       return -err;
     s->bufalloced = 1;
Thread
bk commit into 5.1 tree (stewart:1.2767)Stewart Smith6 Dec