1. 06 Jan, 2008 5 commits
  2. 02 Jan, 2008 1 commit
  3. 24 Dec, 2007 1 commit
  4. 23 Dec, 2007 1 commit
  5. 22 Dec, 2007 1 commit
  6. 21 Dec, 2007 8 commits
  7. 20 Dec, 2007 1 commit
    • mats@capulet.kindahl.net's avatar
      BUG#12691 (Exec_master_log_pos corrupted with SQL_SLAVE_SKIP_COUNTER): · f1c32705
      mats@capulet.kindahl.net authored
      Complementary patch since LOAD DATA INFILE was not covered in
      the previous patch.
      
      This patch adds a check so that the slave skip counter is not
      decreased to zero if seeing a BEGIN_LOAD_QUERY_EVENT,
      APPEND_BLOCK_EVENT, or CREATE_FILE_EVENT since these cannot
      end a group. The group is terminated by an EXECUTE_LOAD_QUERY_
      EVENT or DELETE_FILE_EVENT.
      f1c32705
  8. 18 Dec, 2007 1 commit
  9. 15 Dec, 2007 1 commit
    • hezx@hezx.(none)'s avatar
      BUG#32205 Replaying statements from mysqlbinlog fails with a syntax error, replicates fine · c2f00cc3
      hezx@hezx.(none) authored
      The reason of this bug is that when mysqlbinlog dumps a query, the query is written to
      output with a delimeter appended right after it, if the query string ends with a '--'
      comment, then the delimeter would be considered as part of the comment, if there are any
      statements after this query, then it will cause a syntax error.
      
      Start a newline before appending delimiter after a query string
      c2f00cc3
  10. 11 Dec, 2007 1 commit
  11. 05 Dec, 2007 1 commit
  12. 03 Dec, 2007 1 commit
    • hezx@hezx.(none)'s avatar
      Bug#30998 Drop View breaks replication if view does not exist · c267a923
      hezx@hezx.(none) authored
        
      When executing drop view statement on the master, the statement is written
      into bin-log without checking for possible errors, so the statement would 
      always be bin-logged with error code cleared even if some error might occur, 
      for example, some of the views being dropped does not exist. This would cause 
      failure on the slave.
      
      Writing bin-log after check for errors, if at least one view has been dropped
      the query is bin-logged possible with an error.
      c267a923
  13. 22 Nov, 2007 1 commit
  14. 14 Nov, 2007 3 commits
  15. 13 Nov, 2007 2 commits
  16. 12 Nov, 2007 1 commit
  17. 10 Nov, 2007 1 commit
  18. 09 Nov, 2007 3 commits
    • mats@capulet.net's avatar
      Merge capulet.net:/home/bk/mysql-5.0-rpl · a88babcb
      mats@capulet.net authored
      into  capulet.net:/home/mats/devel/b31793-mysql-5.0-rpl
      a88babcb
    • mats@capulet.net's avatar
      Merge mkindahl@bk-internal.mysql.com:/home/bk/mysql-5.0-rpl · d5ccec26
      mats@capulet.net authored
      into  capulet.net:/home/bk/mysql-5.0-rpl
      d5ccec26
    • mats@capulet.net's avatar
      BUG#31793 (log event corruption causes crash): · a432d3de
      mats@capulet.net authored
      When running mysqlbinlog on a 64-bit machine with a corrupt relay log,
      it causes mysqlbinlog to crash. In this case, the crash is caused
      because a request for 18446744073709534806U bytes is issued, which
      apparantly can be served on a 64-bit machine (speculatively, I assume)
      but this causes the memcpy() issued later to copy the data to segfault.
      
      The request for the number of bytes is caused by a computation
      of data_len - server_vars_len where server_vars_len is corrupt in such
      a sense that it is > data_len. This causes a wrap-around, with the
      the data_len given above.
      
      This patch adds a check that if server_vars_len is greater than
      data_len before the substraction, and aborts reading the event in
      that case marking the event as invalid. It also adds checks to see
      that reading the server variables does not go outside the bounds
      of the available space, giving a limited amount of integrity check.
      a432d3de
  19. 06 Nov, 2007 6 commits