List:Commits« Previous MessageNext Message »
From:Ole John Aske Date:April 27 2011 9:06am
Subject:bzr commit into mysql-5.1-telco-7.0-spj-scan-vs-scan branch
(ole.john.aske:3484)
View as plain text  
#At file:///net/fimafeng09/export/home/tmp/oleja/mysql/mysql-5.1-telco-7.0-spj-scan-scan/ based on revid:ole.john.aske@stripped

 3484 Ole John Aske	2011-04-27
      Fixed yet another 'Unused variable' compiler warning ....

    modified:
      sql/ha_ndbcluster_push.cc
=== modified file 'sql/ha_ndbcluster_push.cc'
--- a/sql/ha_ndbcluster_push.cc	2011-04-27 08:16:37 +0000
+++ b/sql/ha_ndbcluster_push.cc	2011-04-27 09:06:08 +0000
@@ -1032,8 +1032,7 @@ ndb_pushed_builder_ctx::build_key(const 
                                   const NdbQueryOperand *op_key[])
 {
   DBUG_ENTER("build_key");
-  const uint tab_no= table->get_access_no();
-  DBUG_ASSERT(m_join_scope.contain(tab_no));
+  DBUG_ASSERT(m_join_scope.contain(table->get_access_no()));
 
   const KEY* const key= &table->get_table()->key_info[table->get_index_no()];
   op_key[0]= NULL;


Attachment: [text/bzr-bundle] bzr/ole.john.aske@oracle.com-20110427090608-8njbi00oup6l3hod.bundle
Thread
bzr commit into mysql-5.1-telco-7.0-spj-scan-vs-scan branch(ole.john.aske:3484) Ole John Aske27 Apr