List:Commits« Previous MessageNext Message »
From:Alexey Botchkov Date:October 6 2008 1:43pm
Subject:bzr commit into mysql-6.0 branch (holyfoot:2849)
View as plain text  
#At file:///d2/hf/mysql_common/60mrg/

 2849 Alexey Botchkov	2008-10-06 [merge]
      merging
modified:
  sql/sql_partition.cc

=== modified file 'sql/sql_partition.cc'
--- a/sql/sql_partition.cc	2008-10-06 13:00:13 +0000
+++ b/sql/sql_partition.cc	2008-10-06 13:42:08 +0000
@@ -2985,6 +2985,8 @@ int get_partition_id_range_sub_hash(part
   longlong local_func_value;
   int error;
   DBUG_ENTER("get_partition_id_range_sub_hash");
+  LINT_INIT(loc_part_id);
+  LINT_INIT(sub_part_id);
 
   if (unlikely((error= get_partition_id_range(part_info, &loc_part_id,
                                               func_value))))
@@ -3012,6 +3014,8 @@ int get_partition_id_range_sub_linear_ha
   longlong local_func_value;
   int error;
   DBUG_ENTER("get_partition_id_range_sub_linear_hash");
+  LINT_INIT(loc_part_id);
+  LINT_INIT(sub_part_id);
 
   if (unlikely((error= get_partition_id_range(part_info, &loc_part_id,
                                               func_value))))
@@ -3041,6 +3045,7 @@ int get_partition_id_range_sub_key(parti
   longlong local_func_value;
   int error;
   DBUG_ENTER("get_partition_id_range_sub_key");
+  LINT_INIT(loc_part_id);
 
   if (unlikely((error= get_partition_id_range(part_info, &loc_part_id,
                                               func_value))))
@@ -3065,6 +3070,7 @@ int get_partition_id_range_sub_linear_ke
   longlong local_func_value;
   int error;
   DBUG_ENTER("get_partition_id_range_sub_linear_key");
+  LINT_INIT(loc_part_id);
 
   if (unlikely((error= get_partition_id_range(part_info, &loc_part_id,
                                               func_value))))
@@ -3089,6 +3095,7 @@ int get_partition_id_list_sub_hash(parti
   longlong local_func_value;
   int error;
   DBUG_ENTER("get_partition_id_list_sub_hash");
+  LINT_INIT(sub_part_id);
 
   if (unlikely((error= get_partition_id_list(part_info, &loc_part_id,
                                              func_value))))
@@ -3116,6 +3123,7 @@ int get_partition_id_list_sub_linear_has
   longlong local_func_value;
   int error;
   DBUG_ENTER("get_partition_id_list_sub_linear_hash");
+  LINT_INIT(sub_part_id);
 
   if (unlikely((error= get_partition_id_list(part_info, &loc_part_id,
                                              func_value))))

Thread
bzr commit into mysql-6.0 branch (holyfoot:2849) Alexey Botchkov6 Oct