MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:tomas Date:May 19 2006 6:31pm
Subject:bk commit into 5.1 tree (tomas:1.2162)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of tomas. When tomas 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.2162 06/05/19 20:31:02 tomas@stripped +1 -0
  ha_ndbcluster_binlog.cc:
    ndb: fix compile error on solaris

  sql/ha_ndbcluster_binlog.cc
    1.60 06/05/19 20:30:42 tomas@stripped +2 -2
    ndb: fix compile error on solaris

# 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:	tomas
# Host:	poseidon.ndb.mysql.com
# Root:	/home/tomas/mysql-5.1-new-ndb

--- 1.59/sql/ha_ndbcluster_binlog.cc	2006-05-19 18:11:39 +02:00
+++ 1.60/sql/ha_ndbcluster_binlog.cc	2006-05-19 20:30:42 +02:00
@@ -1545,8 +1545,8 @@
       }
       
       // copy names as memory will be freed
-      NdbAutoPtr<char> a1((char *)dbname= strdup(dbname));
-      NdbAutoPtr<char> a2((char *)tabname= strdup(tabname));
+      NdbAutoPtr<char> a1((char *)(dbname= strdup(dbname)));
+      NdbAutoPtr<char> a2((char *)(tabname= strdup(tabname)));
       ndbcluster_binlog_close_table(thd, share);
 
       TABLE_LIST table_list;
Thread
bk commit into 5.1 tree (tomas:1.2162)tomas19 May