List:Commits« Previous MessageNext Message »
From:Mattias Jonsson Date:October 30 2008 9:25am
Subject:bzr commit into mysql-5.1 branch (mattias.jonsson:2688)
View as plain text  
#At file:///Users/mattiasj/clones/bzrroot/topush-51-bugteam/

 2688 Mattias Jonsson	2008-10-30
      post-push fix for build warnings
modified:
  sql/ha_partition.cc

=== modified file 'sql/ha_partition.cc'
--- a/sql/ha_partition.cc	2008-10-29 22:01:41 +0000
+++ b/sql/ha_partition.cc	2008-10-30 08:25:25 +0000
@@ -3824,8 +3824,7 @@ int ha_partition::common_index_read(ucha
       Need to set unordered scan ongoing since we can come here even when
       it isn't set.
     */
-    DBUG_PRINT("info", ("key_len %lu (%lu), doing unordered scan",
-                        key_len, m_curr_key_info[0]->key_length));
+    DBUG_PRINT("info", ("doing unordered scan"));
     m_ordered_scan_ongoing= FALSE;
     error= handle_unordered_scan_next_partition(buf);
   }
@@ -5806,7 +5805,7 @@ bool ha_partition::check_if_incompatible
                                               uint table_changes)
 {
   handler **file;
-  bool ret;
+  bool ret= COMPATIBLE_DATA_YES;
 
   /*
     The check for any partitioning related changes have already been done
@@ -5828,7 +5827,7 @@ bool ha_partition::check_if_incompatible
 int ha_partition::add_index(TABLE *table_arg, KEY *key_info, uint num_of_keys)
 {
   handler **file;
-  int ret;
+  int ret= 0;
 
   /*
     There has already been a check in fix_partition_func in mysql_alter_table
@@ -5846,7 +5845,7 @@ int ha_partition::prepare_drop_index(TAB
                                  uint num_of_keys)
 {
   handler **file;
-  int ret;
+  int ret= 0;
 
   /*
     DROP INDEX does not affect partitioning.

Thread
bzr commit into mysql-5.1 branch (mattias.jonsson:2688)Mattias Jonsson30 Oct