List:Commits« Previous MessageNext Message »
From:Mattias Jonsson Date:August 13 2008 7:38pm
Subject:bzr push into mysql-5.1-bugteam branch (mattiasj:2695 to 2696) Bug#37402,
Bug#20129
View as plain text  
 2696 Mattias Jonsson	2008-08-13
      Bug#20129: ALTER TABLE ... REPAIR PARTITION ... complains that
      partition is corrupt
      
      Post push fix
      
      an DBUG_ASSERT broke the embedded server, fixed by initializing
      it in the embedded version of Protocol_text::prepare_for_resend
modified:
  libmysqld/lib_sql.cc

 2695 Mattias Jonsson	2008-08-13
      Bug#37402: Mysql cant read partitioned table with capital letter in the name
      
      Post push fix (compiler warning)
modified:
  sql/ha_partition.cc

=== modified file 'libmysqld/lib_sql.cc'
--- a/libmysqld/lib_sql.cc	2008-06-18 16:17:15 +0000
+++ b/libmysqld/lib_sql.cc	2008-08-13 18:50:08 +0000
@@ -1103,6 +1103,9 @@ void Protocol_text::prepare_for_resend()
   data->embedded_info->prev_ptr= &cur->next;
   next_field=cur->data;
   next_mysql_field= data->embedded_info->fields_list;
+#ifndef DBUG_OFF
+  field_pos= 0;
+#endif
 
   DBUG_VOID_RETURN;
 }

Thread
bzr push into mysql-5.1-bugteam branch (mattiasj:2695 to 2696) Bug#37402,Bug#20129Mattias Jonsson13 Aug