List:Commits« Previous MessageNext Message »
From:Magnus Blåudd Date:April 12 2011 4:14pm
Subject:bzr commit into mysql-5.1-telco-7.0 branch (magnus.blaudd:4314)
View as plain text  
#At file:///C:/mysql/7.0/ based on revid:magnus.blaudd@sun.com-20110412160613-a21ni7kwzkn9lrjr

 4314 Magnus Blåudd	2011-04-12
      ndb
       - remove unneccessary 'get_ndb" call and use the ndb variable from stack

    modified:
      sql/ha_ndbcluster.cc
=== modified file 'sql/ha_ndbcluster.cc'
--- a/sql/ha_ndbcluster.cc	2011-04-12 16:06:13 +0000
+++ b/sql/ha_ndbcluster.cc	2011-04-12 16:14:41 +0000
@@ -8224,7 +8224,7 @@ int ha_ndbcluster::create(const char *na
     */
     if ((my_errno= write_ndb_file(name)))
       DBUG_RETURN(my_errno);
-    ndbcluster_create_binlog_setup(thd, get_ndb(thd), name, strlen(name),
+    ndbcluster_create_binlog_setup(thd, ndb, name, strlen(name),
                                    m_dbname, m_tabname, FALSE);
     DBUG_RETURN(my_errno);
   }

Attachment: [text/bzr-bundle] bzr/magnus.blaudd@sun.com-20110412161441-qqjjdhhdtn5b3j4d.bundle
Thread
bzr commit into mysql-5.1-telco-7.0 branch (magnus.blaudd:4314) Magnus Blåudd12 Apr