List:Commits« Previous MessageNext Message »
From:Mattias Jonsson Date:June 14 2011 12:36pm
Subject:bzr commit into mysql-trunk branch (mattias.jonsson:3200)
View as plain text  
#At file:///C:/ade/mysql-bzr/topush-trunk/ based on revid:marko.makela@stripped

 3200 Mattias Jonsson	2011-06-14 [merge]
      merge

    modified:
      sql/partition_info.cc
=== modified file 'sql/partition_info.cc'
--- a/sql/partition_info.cc	2011-05-26 15:20:09 +0000
+++ b/sql/partition_info.cc	2011-06-14 09:50:33 +0000
@@ -115,11 +115,11 @@ bool partition_info::prune_partition_bit
   do
   {
     String *part_name_str= partition_names_it++;
-    const char *part_name= part_name_str->c_ptr_safe();
+    const char *part_name= part_name_str->c_ptr();
     PART_NAME_DEF *part_def;
     part_def= (PART_NAME_DEF*) my_hash_search(part_name_hash,
                                               (const uchar*) part_name,
-                                              strlen(part_name));
+                                              part_name_str->length());
     if (!part_def)
     {
       my_error(ER_NO_SUCH_PARTITION, MYF(0), part_name);

No bundle (reason: revision is a merge (you can force generation of a bundle with env var BZR_FORCE_BUNDLE=1)).
Thread
bzr commit into mysql-trunk branch (mattias.jonsson:3200) Mattias Jonsson14 Jun