1. 12 Dec, 2007 2 commits
  2. 11 Dec, 2007 1 commit
  3. 06 Dec, 2007 1 commit
    • unknown's avatar
      WL#4091, part1. replace --sleep by include/wait_condition.inc · d27196b4
      unknown authored
      
      mysql-test/suite/rpl/r/rpl_start_stop_slave.result:
        updated result
      mysql-test/suite/rpl/t/rpl_critical_errors.test:
        replace --sleep
      mysql-test/suite/rpl/t/rpl_err_ignoredtable.test:
        replace --sleep
      mysql-test/suite/rpl/t/rpl_init_slave.test:
        remove --sleep
      mysql-test/suite/rpl/t/rpl_insert.test:
        replace --sleep
      mysql-test/suite/rpl/t/rpl_loadfile.test:
        replace --sleep
      mysql-test/suite/rpl/t/rpl_row_sp001.test:
        replace --sleep
      mysql-test/suite/rpl/t/rpl_row_sp005.test:
        replace --sleep
      mysql-test/suite/rpl/t/rpl_row_stop_middle.test:
        replace --sleep
      mysql-test/suite/rpl/t/rpl_row_trig001.test:
        replace --sleep
      mysql-test/suite/rpl/t/rpl_row_trig003.test:
        replace --sleep
      mysql-test/suite/rpl/t/rpl_ssl1.test:
        replace --sleep
      mysql-test/suite/rpl/t/rpl_start_stop_slave.test:
        replace --sleep
      mysql-test/suite/rpl/t/rpl_switch_stm_row_mixed.test:
        replace --sleep
      mysql-test/suite/rpl/t/rpl_temporary.test:
        replace --sleep
      d27196b4
  4. 05 Dec, 2007 1 commit
    • unknown's avatar
      sql_string.cc: · c4faf61a
      unknown authored
        Fixing a wrong comment.
      
      
      sql/sql_string.cc:
        Fixing a wrong comment.
      c4faf61a
  5. 03 Dec, 2007 2 commits
    • unknown's avatar
      Bug#30998 Drop View breaks replication if view does not exist · 26946f31
      unknown authored
      When executing drop view statement on the master, the statement is not written into bin-log if any error occurs, this could cause master slave inconsistence if any view has been dropped. 
      
      If some error occured and no view has been dropped, don't bin-log the statement, if at least one view has been dropped the query is bin-logged possible with an error.
      
      
      sql/sql_view.cc:
        If at least one view has been dropped the query is bin-logged possible with an error.
      mysql-test/suite/rpl/r/rpl_drop_view.result:
        Add test result for bug#30998
      mysql-test/suite/rpl/t/rpl_drop_view.test:
        Add test case for bug#30998
      26946f31
    • unknown's avatar
      Bug#30998 Drop View breaks replication if view does not exist · df35f2c3
      unknown 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.
      
      
      sql/sql_view.cc:
        Writing bin-log after check for errors, if at least one view has been dropped
        the query is bin-logged possible with an error.
      mysql-test/r/rpl_drop_view.result:
        Add test result for bug#30998
      mysql-test/t/rpl_drop_view.test:
        Add test for bug#30998
      df35f2c3
  6. 29 Nov, 2007 1 commit
  7. 28 Nov, 2007 2 commits
  8. 27 Nov, 2007 2 commits
  9. 26 Nov, 2007 11 commits
  10. 24 Nov, 2007 1 commit
  11. 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
  12. 22 Nov, 2007 3 commits
  13. 21 Nov, 2007 2 commits