• unknown's avatar
    WL#3949 Test should set binlog format dnamically · 9f22830f
    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''
    9f22830f
set_binlog_format_row.sql 61 Bytes