1. 05 Nov, 2008 1 commit
  2. 03 Nov, 2008 3 commits
    • Mats Kindahl's avatar
      Merging with 5.1-5.1.29-rc · 5a897c8b
      Mats Kindahl authored
      5a897c8b
    • Mats Kindahl's avatar
      Bug #40360: Binlog related errors with binlog off · 32c9fe6b
      Mats Kindahl authored
      Adding missing drop of created table and tidying display.
      32c9fe6b
    • Mats Kindahl's avatar
      Bug #40360: Binlog related errors with binlog off · 005e7fc3
      Mats Kindahl authored
            
      When statement-based replication is used, and the
      transaction isolation level is READ-COMMITTED or stricter,
      InnoDB will print an error because statement-based
      replication might lead to inconsistency between master
      and slave databases. However, when the binary log is not
      engaged, this is not an issue and an error should
      not be printed.
      
      This patch makes thd_binlog_format() return BINLOG_FORMAT_
      UNSPEC when the binary log is not engaged for the given
      thread.
      005e7fc3
  3. 31 Oct, 2008 1 commit
  4. 29 Oct, 2008 2 commits
  5. 24 Oct, 2008 1 commit
  6. 23 Oct, 2008 3 commits
  7. 22 Oct, 2008 2 commits
  8. 21 Oct, 2008 6 commits
  9. 20 Oct, 2008 1 commit
    • Mats Kindahl's avatar
      Bug #40004 Replication failure with no PK + no indexes · 95833a74
      Mats Kindahl authored
      In certain situations, a scan of the table will return the error
      code HA_ERR_RECORD_DELETED, and this error code is not 
      correctly caught in the Rows_log_event::find_row() function, which
      causes an error to be returned for this case.
      
      This patch fixes the problem by adding code to either ignore the
      record and continuing with the next one, the the event of a table
      scan, or change the error code to HA_ERR_KEY_NOT_FOUND, in the event
      that a key lookup is attempted.
      95833a74
  10. 17 Oct, 2008 1 commit
  11. 13 Oct, 2008 1 commit
  12. 10 Oct, 2008 2 commits
  13. 09 Oct, 2008 4 commits
  14. 08 Oct, 2008 10 commits
  15. 07 Oct, 2008 2 commits
    • Gleb Shchepa's avatar
      e05be97a
    • Gleb Shchepa's avatar
      Bug #38691: segfault/abort in ``UPDATE ...JOIN'' while · e219979e
      Gleb Shchepa authored
                ``FLUSH TABLES WITH READ LOCK''
      
      Concurrent execution of 1) multitable update with a
      NATURAL/USING join and 2) a such query as "FLUSH TABLES
      WITH READ LOCK" or "ALTER TABLE" of updating table led
      to a server crash.
      
      
      The mysql_multi_update_prepare() function call is optimized
      to lock updating tables only, so it postpones locking to
      the last, and if locking fails, it does cleanup of modified
      syntax structures and repeats a query analysis.  However,
      that cleanup procedure was incomplete for NATURAL/USING join
      syntax data: 1) some Field_item items pointed into freed
      table structures, and 2) the TABLE_LIST::join_columns fields
      was not reset.
      
      Major change:
        short-living Field *Natural_join_column::table_field has
        been replaced with long-living Item*.
      e219979e