List:Commits« Previous MessageNext Message »
From:Mattias Jonsson Date:August 13 2008 6:50pm
Subject:bzr commit into mysql-5.1-bugteam branch (mattiasj:2696) Bug#20129
View as plain text  
#At file:///Users/mattiasj/clones/bzrroot/topush3-51-bugteam/

 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

per-file messages:
  libmysqld/lib_sql.cc
    Bug#20129: ALTER TABLE ... REPAIR PARTITION ... complains that
    partition is corrupt
    
    Post push fix
    
    an DBUG_ASSERT in Protocol_text::store broke the embedded
    server, fixed by initializing it in the embedded version
    of Protocol_text::prepare_for_resend
=== 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 commit into mysql-5.1-bugteam branch (mattiasj:2696) Bug#20129Mattias Jonsson13 Aug