• Shivji Kumar Jha's avatar
    BUG#14659685 - main.mysqlbinlog_row_myisam and · 7c7de142
    Shivji Kumar Jha authored
                   main.mysqlbinlog_row_innodb are skipped by mtr
    
    === Problem ===
    
    The following tests are wrongly placed in main suite and as a
    result these are not run with proper binlog format combinations.
    Some are always skipped by mtr.
    1) mysqlbinlog_row_myisam
    2) mysqlbinlog_row_innodb
    3) mysqlbinlog_row.test
    4) mysqlbinlog_row_trans.test
    5) mysqlbinlog-cp932
    6) mysqlbinlog2
    7) mysqlbinlog_base64
    
    === Background ===
    
    mtr runs the tests placed in main suite with binlog format=stmt.
    Those that need to be tested against binlog format=row or mixed
    or more than one binlog format and require only one mysql server
    are placed in binlog suite. mtr runs tests in binlog suite with
    all three binlog formats(stmt,row and mixed).
    
    === Fix ===
    
    
    1) Moved the test listed in problem section above to binlog suite.
    2) Added prefix "binlog_" to the name of each test case moved.
       Renamed the coresponding result files and option files accordingly. 
    
    
    mysql-test/extra/binlog_tests/mysqlbinlog_row_engine.inc:
      include file for mysqlbinlog_row_myisam.test and 
      mysqlbinlog_row_myisam.test which are being moved to
      binlog suite.
    mysql-test/suite/binlog/r/binlog_mysqlbinlog-cp932.result:
      result file for mysqlbinlog-cp932.test which is being moved to
      binlog suite.
    mysql-test/suite/binlog/r/binlog_mysqlbinlog2.result:
      result file for mysqlbinlog2.test which is being moved to
      binlog suite.
    mysql-test/suite/binlog/r/binlog_mysqlbinlog_base64.result:
      result file for mysqlbinlog_base64.test which is being moved to
      binlog suite.
    mysql-test/suite/binlog/r/binlog_mysqlbinlog_row.result:
      result file for mysqlbinlog_row.test which is being moved to
      binlog suite.
    mysql-test/suite/binlog/r/binlog_mysqlbinlog_row_innodb.result:
      result file for mysqlbinlog_row_innodb.test which is being moved to
      binlog suite.
    mysql-test/suite/binlog/r/binlog_mysqlbinlog_row_myisam.result:
      result file for mysqlbinlog_row_myisam.test which is being moved to
      binlog suite.
    mysql-test/suite/binlog/r/binlog_mysqlbinlog_row_trans.result:
      result file for mysqlbinlog_row_trans.test which is being moved to
      binlog suite.
    mysql-test/suite/binlog/t/binlog_mysqlbinlog-cp932-master.opt:
      option file for mysqlbinlog-cp932.test which is being moved to
      binlog suite.
    mysql-test/suite/binlog/t/binlog_mysqlbinlog-cp932.test:
      the test requires binlog format=stmt or mixed. Since, it was placed in
      main suite earlier, it was only run with binlog format=stmt, and hence
      this test was never run with binlog format=mixed.
    mysql-test/suite/binlog/t/binlog_mysqlbinlog2.test:
      the test requires binlog format=stmt or mixed. Since, it was placed in
      main suite earlier, it was only run with binlog format=stmt, and hence
      this test was never run with binlog format=mixed.
    mysql-test/suite/binlog/t/binlog_mysqlbinlog_base64.test:
      the test requires binlog format=row. Since, it was placed in main
      suite earlier, it was only run with binlog format=stmt, and hence
      this test was always skipped by mtr.
    mysql-test/suite/binlog/t/binlog_mysqlbinlog_row.test:
      the test requires binlog format=row. Since, it was placed in main
      suite earlier, it was only run with binlog format=stmt, and hence
      this test was always skipped by mtr.
    mysql-test/suite/binlog/t/binlog_mysqlbinlog_row_innodb.test:
      the test requires binlog format=row. Since, it was placed in main
      suite earlier, it was only run with binlog format=stmt, and hence
      this test was always skipped by mtr.
    mysql-test/suite/binlog/t/binlog_mysqlbinlog_row_myisam.test:
      the test requires binlog format=row. Since, it was placed in main
      suite earlier, it was only run with binlog format=stmt, and hence
      this test was always skipped by mtr.
    mysql-test/suite/binlog/t/binlog_mysqlbinlog_row_trans.test:
      the test requires binlog format=row. Since, it was placed in main
      suite earlier, it was only run with binlog format=stmt, and hence
      this test was always skipped by mtr.
    7c7de142
binlog_mysqlbinlog_base64.result 1.69 KB