1. 28 Mar, 2011 10 commits
  2. 25 Mar, 2011 12 commits
  3. 24 Mar, 2011 4 commits
    • Luis Soares's avatar
      BUG#11765446 (BUG#58416) · 11ca6e2c
      Luis Soares authored
      Removing the test case from mysql-5.5 list of disabled
      test cases for the binlog suite. Actually, the test does
      not exist in mysql-5.5, thus this is just a clean up.
      11ca6e2c
    • Luis Soares's avatar
      BUG#11765446 (BUG#58416) · 5c5dd61a
      Luis Soares authored
      Original patch did not remove the test case from the list
      of disabled test cases. Removing it now!
      5c5dd61a
    • Luis Soares's avatar
    • Luis Soares's avatar
      BUG#11766865: 60091: RBR + NO PK + UPDATE NULL VALUE --> SLAVE BREAK WITH ERROR HA_ERR_END_OF_ · b489c89f
      Luis Soares authored
        
      The slave was not able to find the correct row in the innodb
      table, because the row fetched from the innodb table would not
      match the before image. This happened because the (don't care)
      bytes in the NULLed fields would change once the row was stored
      in the storage engine (from zero to the default value). This
      would make bulk memory comparison (using memcmp) to fail.
        
      We fix this by taking a preventing measure and avoiding memcmp
      for tables that contain nullable fields. Therefore, we protect
      the slave search routine from engines that return arbitrary
      values for don't care bytes (in the nulled fields). Instead, the
      slave thread will only check null_bits and those fields that are
      not set to NULL when comparing the before image against the
      storage engine row.
      
      mysql-test/extra/rpl_tests/rpl_record_compare.test:
        Added test case to the include file so that this is tested 
        with more than one engine.
      mysql-test/suite/rpl/r/rpl_row_rec_comp_innodb.result:
        Result update.
      mysql-test/suite/rpl/r/rpl_row_rec_comp_myisam.result:
        Result update.
      mysql-test/suite/rpl/t/rpl_row_rec_comp_myisam.test:
        Moved the include file last, so that the result from
        BUG#11766865 is not intermixed with the result for
        BUG#11760454.
      sql/log_event.cc:
        Skips memory comparison if the table has nullable 
        columns and compares only non-nulled fields in the
        field comparison loop.
      b489c89f
  4. 23 Mar, 2011 4 commits
  5. 22 Mar, 2011 10 commits
    • Magne Mahre's avatar
      Null merge · 44cb1f76
      Magne Mahre authored
      44cb1f76
    • Magne Mahre's avatar
      Null merge (from mysql-5.0) · 6093ae49
      Magne Mahre authored
      6093ae49
    • Magne Mahre's avatar
      Post-push fix for Bug 11896296 · 326b97cf
      Magne Mahre authored
      Didn't build on Solaris.
      326b97cf
    • Bjorn Munch's avatar
      null upmerge · b227dc82
      Bjorn Munch authored
      b227dc82
    • Bjorn Munch's avatar
      merge from 5.5 main · 139844cc
      Bjorn Munch authored
      139844cc
    • Bjorn Munch's avatar
      merge from 5.1 main · 761ba834
      Bjorn Munch authored
      761ba834
    • Magne Mahre's avatar
      Null merge · 5c1a9efb
      Magne Mahre authored
      5c1a9efb
    • Magne Mahre's avatar
      Null merge · 015f7bcf
      Magne Mahre authored
      015f7bcf
    • Magne Mahre's avatar
      Bug#11896296 REMOVE LGPL LICENSED FILES IN MYSQL 5.0 · 55e42237
      Magne Mahre authored
      The LGPL license is used in some legacy code, and to
      adhere to current licensing polity, we remove those
      files that are no longer used, and reorganize the
      remaining LGPL code so it will be GPL licensed from
      now on.
      
      Note:  This patch only removed LGPL licensed files
             in MySQL 5.0, and is the first of a set of
             patches to remove LGPL from all trees.
             (See Bug# 11840513 for details)
      
      
      
      include/my_compare.h:
        Mostly code moved in from my_handler
      include/my_global.h:
        AIX-only code.   Function used to be in my_port.c
        Inlining instead.
      libmysql/Makefile.shared:
        my_gethostbyname and my_port is removed
      myisam/mi_check.c:
        ha_find_null is moved from my_handler and made static.
      55e42237
    • Alexander Nozdrin's avatar
      A patch for Bug#11763413 (56115: SELECT doesn't work in · 7117e063
      Alexander Nozdrin authored
      prepared statements with cursor protocol).
      
      The problem was a bug in Materialized-cursor implementation.
      Materialized_cursor::open() called send_result_metadata()
      with items pointing to already closed table.
      
      The fix is to send metadata when the table is still open.
      
      NOTE: this is a "partial" fix: metadata are different with
      and without --cursor-protocol, but that's a different large
      problem, one indication of which is reported as Bug 24176.
      7117e063