List:Commits« Previous MessageNext Message »
From:Luis Soares Date:July 11 2011 4:24pm
Subject:bzr push into mysql-5.5 branch (luis.soares:3457 to 3458) Bug#12695969
View as plain text  
 3458 Luis Soares	2011-07-11 [merge]
      Manually merged from mysql-5.1:
        - fixed mysqlbinlog copyright year: 2001 --> 2000
        - fixed address in license header
       - client/
       - include/welcome_copyright_notice.h

 3457 kevin.lewis@stripped	2011-07-08 [merge]
      Null Merge from mysql-5.1 with second fix for Bug#12637786
      Bug#12637786 was fixed with rb:692 by marko.  But that fix has a remaining
      bug.  It added this assert;
      before a section of code that assumes there is a prefix_len.  
      The patch replaced code that explicitly avoided this with a check for
      prefix_len.  It turns out that the purge thread can get to that assert
      without a prefix_len because it does not use a row_ext_t* .
      When UNIV_DEBUG is not defined, the affect of this is that the purge thread
      sets the dfield->len to zero and then cannot find the entry in the index to
      purge.  So secondary index entries remain unpurged.
      This patch does not do the assert.  Instead, it uses
          'if (ind_field->prefix_len) {...}'
      around the section of code that assumes a prefix_len.  This is the way the
      patch I provided to Marko did it.
      The test case is simply modified to do a sleep(10) in order to give the
      purge thread a chance to run. Without the code change to row0row.c, this
      modified testcase will assert if InnoDB was compiled with UNIV_DEBUG.
      I tried to sleep(5), but it did not always assert.

=== modified file 'client/'
--- a/client/	2011-07-03 23:48:19 +0000
+++ b/client/	2011-07-11 16:19:56 +0000
@@ -1261,7 +1261,7 @@ static void print_version()
 static void usage()
 Dumps a MySQL binary log in a format usable for viewing or for piping to\n\
 the mysql command line client.\n\n");

=== modified file 'include/welcome_copyright_notice.h'
--- a/include/welcome_copyright_notice.h	2010-10-06 15:06:13 +0000
+++ b/include/welcome_copyright_notice.h	2011-07-11 16:19:56 +0000
@@ -1,4 +1,4 @@
-/* Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
+/* Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -11,7 +11,7 @@
    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
-   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
+   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA */
 #ifndef _welcome_copyright_notice_h_
 #define _welcome_copyright_notice_h_

No bundle (reason: useless for push emails).
bzr push into mysql-5.5 branch (luis.soares:3457 to 3458) Bug#12695969Luis Soares11 Jul