1. 25 Mar, 2011 11 commits
    • Magnus Blåudd's avatar
      Merge · 60f3cfa1
      Magnus Blåudd authored
      60f3cfa1
    • Sven Sandberg's avatar
      Merged BUG#11766427, BUG#59539 from 5.1 to 5.5. · 0907c913
      Sven Sandberg authored
      No conflicts.
      0907c913
    • Sven Sandberg's avatar
      BUG#11766427, BUG#59539: Filter by server id in mysqlbinlog fails · f1b638d3
      Sven Sandberg authored
      Problem: mysqlbinlog --server-id may filter out Format_description_log_events.
      If mysqlbinlog does not process the Format_description_log_event,
      then mysqlbinlog cannot read the rest of the binary log correctly.
      This can have the effect that mysqlbinlog crashes, generates an error,
      or generates output that causes mysqld to crash, generate an error,
      or corrupt data.
      Fix: Never filter out Format_description_log_events. Also, never filter
      out Rotate_log_events.
      
      
      client/mysqlbinlog.cc:
        Process Format_description_log_events even when the
        server_id does not match the number given by --server-id.
      mysql-test/t/mysqlbinlog.test:
        Add test case.
      f1b638d3
    • Magnus Blåudd's avatar
      Merge · 8f8d051d
      Magnus Blåudd authored
      8f8d051d
    • Georgi Kodinov's avatar
      merge · 49417455
      Georgi Kodinov authored
      49417455
    • Georgi Kodinov's avatar
      merge · 5af97358
      Georgi Kodinov authored
      5af97358
    • Georgi Kodinov's avatar
      merge · 1dd519e4
      Georgi Kodinov authored
      1dd519e4
    • Georgi Kodinov's avatar
      Merged bug #11766769 to 5.5. · 0d01bcca
      Georgi Kodinov authored
      Added back the specific warning number.
      0d01bcca
    • Luis Soares's avatar
      9b505d02
    • Georgi Kodinov's avatar
      Bug #11766769: 59959: SMALL VALUES OF --MAX-ALLOWED-PACKET · dcf6b68d
      Georgi Kodinov authored
      ARE NOT BEING HONORED
      
      max_allowed_packet works in conjunction with net_buffer_length.
      max_allowed_packet is an upper bound of net_buffer_length.
      So it doesn't make sense to set the upper limit lower than the value.
      Added a warning (using ER_UNKNOWN_ERRROR and a specific message)
      when this is done (in the log at startup and when setting either 
      max_allowed_packet or the net_buffer_length variables)
      Added a test case.
      Fixed several tests that broke the above rule.
      dcf6b68d
    • Magnus Blåudd's avatar
      Bug#60111 storage type for table not saved in .frm · 1c5d585b
      Magnus Blåudd authored
       (aka BUG#11766883)
        - fix review comments
        - Rewrite last usage of handler::get_tablespace_name to use
          table->s->tablespace directly
        - Remove(revert) the addition of default implementation for
          handler::get_tablespace_name
        - Add comments describing the new TABLE_SHARE members default_storage_media
          and tablespace
        - Fix usage of incorrect mask for column_format bits, i.e COLUMN_FORMAT_MASK
      1c5d585b
  2. 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
  3. 23 Mar, 2011 4 commits
  4. 22 Mar, 2011 12 commits
  5. 21 Mar, 2011 7 commits
  6. 18 Mar, 2011 2 commits