1. 05 Dec, 2007 1 commit
    • unknown's avatar
      BUG#31583 (5.1-telco-6.1 -> 5.1.22. Slave returns Error in unknown event): · 7a5f3f12
      unknown authored
      In the patch for BUG#21842, the code for handling old rows events were
      refactored.  There were a bug in the refactored code (possibly introduced
      after the patch for BUG#21842) that caused caused the refactored old events
      to read a columns bitmap after image even though there is no such bitmap
      for old events. As a result, the reading got out of sync, and started reading
      invalid data.
      
      This patch removes all trace of the after image column bitmap from the refactored
      old events and removes functions that are no longer needed because they are empty. 
      
      
      sql/log_event.cc:
        Adding debug printouts and adding old rows events names to output
        so that they are not printed as unknown events.
      sql/log_event_old.cc:
        Adding debug printouts to see how the old events are partitioned
        when being decoded.  Removing all traces of the column bitmap for
        the after image in the old events since there is none.
        
        Removing the following functions since they are no longer needed:
        - Update_rows_log_event_old::init()
        - Update_rows_log_event_old::~Update_rows_log_event_old()
        
        Removing unused local variable.
      sql/log_event_old.h:
        Removing all traces of the column bitmap for the after image in
        the old events since there is none.
        
        Removing the following functions since they are no longer needed:
        - Update_rows_log_event_old::init()
        - Update_rows_log_event_old::is_valid()
        - Update_rows_log_event_old::~Update_rows_log_event_old()
        
        Removing unused local variable.
      mysql-test/suite/bugs/r/rpl_bug31583.result:
        New BitKeeper file ``mysql-test/suite/bugs/r/rpl_bug31583.result''
      mysql-test/suite/bugs/t/rpl_bug31583.test:
        New BitKeeper file ``mysql-test/suite/bugs/t/rpl_bug31583.test''
      7a5f3f12
  2. 29 Nov, 2007 1 commit
  3. 28 Nov, 2007 2 commits
  4. 27 Nov, 2007 2 commits
  5. 26 Nov, 2007 11 commits
  6. 24 Nov, 2007 1 commit
  7. 23 Nov, 2007 11 commits
    • unknown's avatar
      Add mysql-test/lib/*.sql to dists* · 0e0322c9
      unknown authored
      
      mysql-test/Makefile.am:
        Add mysql-test/include/*.sql to dist
      scripts/make_binary_distribution.sh:
        Add mysql-test/include/*.sql to bindist
      0e0322c9
    • unknown's avatar
      Remove printout · e4d2c9d3
      unknown authored
      e4d2c9d3
    • unknown's avatar
      - Don't process already skipped testcases one more time · 1ada48ba
      unknown authored
      in optimization phase
      - Don't check specified binlog format if hasn't been assigned one
      
      
      1ada48ba
    • unknown's avatar
      Add lib to extra dist · b048e1fb
      unknown authored
      b048e1fb
    • unknown's avatar
      Apply patch for BUG#30630 · 269b6f35
      unknown authored
      269b6f35
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-rpl · 7c338deb
      unknown authored
      into  shellback.(none):/home/msvensson/mysql/mysql-5.1-rpl-wl3949
      
      
      7c338deb
    • unknown's avatar
      Move the "use lib" directive to mtr.pl · ea9d91e8
      unknown authored
      ea9d91e8
    • unknown's avatar
      Merge kindahl-laptop.dnsalias.net:/home/bkroot/mysql-5.1-rpl · e6e30345
      unknown authored
      into  kindahl-laptop.dnsalias.net:/home/bk/b32580-mysql-5.1-rpl
      
      
      e6e30345
    • unknown's avatar
      BUG#32580 (mysqlbinlog cannot read binlog event generated by user variable usage): · dc8d5bc7
      unknown authored
      The client program 'mysqlbinlog' crashed when trying to print a User_var_log_event holding
      a floating-point value since the format specifier for my_b_printf() does not support
      floating-point format specifiers.
      
      This patch prints the floating-point number to an internal buffer, and then writes
      that buffer to the output instead.
      
      
      mysql-test/r/mysqlbinlog.result:
        Result file change.
      mysql-test/t/mysqlbinlog.test:
        Adding test that mysqlbinlog can write and read back User_var_log_event
        for real, decimal, integer, and string. These are the only types supported
        for user variables.
      sql/log_event.cc:
        Using my_sprintf() to print floating-point value of User_var_log_event value to a
        character buffer and then to the real output, since my_b_printf() does not
        support floating-point format. Also adding macro to give buffer size needed 
        for printing floating-point numbers in %g format.
      dc8d5bc7
    • unknown's avatar
      WL#3949 Test should set binlog format dnamically · 59574a6e
      unknown authored
      - Reorganize collect a little to make it easier to apply optimizations
        and settings to collected test cases.
      - Add suite/rpl/combination file
      - Rename include/set_binlog_format_x.inc to .sql since thay are run by "mysql"
       
      
      
      mysql-test/include/set_binlog_format_mixed.sql:
        Rename: mysql-test/include/set_binlog_format_mixed.inc -> mysql-test/include/set_binlog_format_mixed.sql
      mysql-test/include/set_binlog_format_row.sql:
        Rename: mysql-test/include/set_binlog_format_row.inc -> mysql-test/include/set_binlog_format_row.sql
      mysql-test/include/set_binlog_format_statement.sql:
        Rename: mysql-test/include/set_binlog_format_statement.inc -> mysql-test/include/set_binlog_format_statement.sql
      mysql-test/lib/mtr_cases.pl:
        Reorganize code to
         - collect a suite
         - multiply the tests in the suite with any combinations the suite has
         - optimize the suite by skipping test not supported with current settings
        Use My::Config to read combinations file in my.cnf file format, this
        allowas a "short name" to be used for the combination instead of
        the full name wich is set to the extra arguments the combination applies
        Add function 'print_testcase' that can be used to print the testcases
        during different stages of the collect phase
      mysql-test/lib/mtr_report.pl:
        Print <testname> '<combination>' if combination is set
      mysql-test/mysql-test-run.pl:
        Add comments, fix indentation
        Rename .in to .sql files
        Only set binlog format dynamicall for master, slav is always restarted
      mysql-test/lib/My/Config.pm:
        New BitKeeper file ``mysql-test/lib/My/Config.pm''
      mysql-test/suite/rpl/combinations:
        New BitKeeper file ``mysql-test/suite/rpl/combinations''
      59574a6e
    • unknown's avatar
      Post-merge fixes. · 850fed3e
      unknown authored
      
      mysql-test/r/innodb.result:
        Result change.
      mysql-test/suite/rpl/r/rpl_binlog_grant.result:
        Result change.
      mysql-test/suite/rpl/r/rpl_extraColmaster_innodb.result:
        Result change.
      mysql-test/suite/rpl/r/rpl_extraColmaster_myisam.result:
        Result change.
      mysql-test/suite/rpl/t/disabled.def:
        Enabling some tests.
      mysql-test/suite/rpl/t/rpl_binlog_grant.test:
        Adding missing master-slave.inc, causing previous tests to pollute
        the binary log.
      mysql-test/suite/rpl_ndb/t/disabled.def:
        Enabling some tests.
      850fed3e
  8. 22 Nov, 2007 2 commits
  9. 21 Nov, 2007 9 commits