1. 30 Jan, 2008 1 commit
    • sven@riska.(none)'s avatar
      BUG#34141: mysqlbinlog cannot read 4.1 binlogs containing load data infile · 30cd549e
      sven@riska.(none) authored
      Main problem: mysql 5.1 cannot read binlogs from 4.1.
      Subproblem 1: There is a mistake in sql_ex_info::init. The read_str()
      function updates its first argument to point to the next character to
      read. However, it is applied only to a copy of the buffer pointer, so the
      real buffer pointer is not updated.
      Fix 1: do not take a copy of the buffer pointer. The copy was needed
      because sql_ex_info::init does not use the const attribute on some of its
      arguments. So we add the const attribute, too.
      Subproblem 2: The first BINLOG statement is asserted to be a
      FORMAT_DESCRIPTION_LOG_EVENT, but 4.1 binlogs begin with START_EVENT_V3.
      Fix 2: allow START_EVENT_V3 too.
      30cd549e
  2. 22 Jan, 2008 1 commit
  3. 21 Jan, 2008 2 commits
  4. 15 Jan, 2008 1 commit
  5. 14 Jan, 2008 5 commits
  6. 11 Jan, 2008 3 commits
  7. 10 Jan, 2008 1 commit
    • sven@riska.(none)'s avatar
      BUG#27779: Slave cannot read old rows log events. · 617ea4d6
      sven@riska.(none) authored
      Problem: Replication fails when master is mysql-5.1-wl2325-5.0-drop6 and
      slave is mysql-5.1-new-rpl. The reason is that, in
      mysql-5.1-wl2325-5.0-drop6, the event type id's were different than in
      mysql-5.1-new-rpl.
      Fix (in mysql-5.1-new-rpl):
       (1) detect that the server that generated the events uses the old
      format, by checking the server version of the format_description_log_event
      This patch recognizes mysql-5.1-wl2325-5.0-drop6p13-alpha,
      mysql-5.1-wl2325-5.0-drop6, mysql-5.1-wl2325-5.0, mysql-5.1-wl2325-no-dd.
       (2) if the generating server is old, map old event types to new event
      types using a permutation array.
      
      I've also added a test case which reads binlogs for four different
      versions.
      617ea4d6
  8. 06 Jan, 2008 1 commit
  9. 02 Jan, 2008 1 commit
  10. 31 Dec, 2007 1 commit
  11. 25 Dec, 2007 1 commit
  12. 24 Dec, 2007 3 commits
  13. 21 Dec, 2007 7 commits
  14. 20 Dec, 2007 4 commits
  15. 19 Dec, 2007 2 commits
  16. 18 Dec, 2007 2 commits
  17. 17 Dec, 2007 2 commits
  18. 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
  19. 14 Dec, 2007 1 commit