List:Commits« Previous MessageNext Message »
From:Ole John Aske Date:August 24 2010 11:35am
Subject:bzr commit into mysql-5.1-telco-7.0-spj-scan-vs-scan branch
View as plain text  
#At file:///export/home/tmp/oleja/mysql/mysql-5.1-telco-7.0-spj-scan-scan/ based on revid:ole.john.aske@stripped

 3242 Ole John Aske	2010-08-24
      Try to remove compiler warning in order to get Club status 'green'
      static function get_referred_table_access_name() was only used inside DBUG_PRINT(), and 
      should therefore only be defined when we are compiling without 'DBUG_OFF'.

=== modified file 'sql/'
--- a/sql/	2010-08-24 09:45:21 +0000
+++ b/sql/	2010-08-24 11:35:20 +0000
@@ -645,11 +645,14 @@ static const char* get_referred_field_na
   DBUG_ASSERT(field_item->type() == Item::FIELD_ITEM);
   return field_item->field->field_name;
+#if !defined(DBUG_OFF)
 static const char* get_referred_table_access_name(const Item_field* field_item)
   DBUG_ASSERT(field_item->type() == Item::FIELD_ITEM);
   return field_item->field->table->alias;
 static bool is_lookup_operation(AQP::enum_access_type accessType)

Attachment: [text/bzr-bundle] bzr/
bzr commit into mysql-5.1-telco-7.0-spj-scan-vs-scan branch(ole.john.aske:3242) Ole John Aske24 Aug