# ==== Purpose ==== # # This test will check if the optimized delete (delete_all_rows) was # used in a set of configurations regardless binary_format as the # binary log is disabled. # # Set set of configurations vary: # - Table engine: MyISAM and InnoDB # - Session binlog_format: ROW, MIXED and STATEMENT # # ==== Related Bugs and Worklogs ==== # # WL#8313: Set ROW based binary log format by default # --source include/have_myisam.inc # The testcase requires binary logging disabled. --source include/not_log_bin.inc CALL mtr.add_suppression('You need to use --log-bin to make --binlog-format work.'); --let $storage_engine=MyISAM SET binlog_format= 'ROW'; --echo # --echo # MyISAM, binlog_format= 'ROW' --echo # --source include/delete_all_rows.inc --echo SET binlog_format= 'MIXED'; --echo # --echo # MyISAM, binlog_format= 'MIXED' --echo # --source include/delete_all_rows.inc --echo SET binlog_format= 'STATEMENT'; --echo # --echo # MyISAM, binlog_format= 'STATEMENT' --echo # --source include/delete_all_rows.inc --echo --let $storage_engine=InnoDB SET binlog_format= 'ROW'; --echo # --echo # InnoDB, binlog_format= 'ROW' --echo # --source include/delete_all_rows.inc --echo SET binlog_format= 'MIXED'; --echo # --echo # InnoDB, binlog_format= 'MIXED' --echo # --source include/delete_all_rows.inc --echo SET binlog_format= 'STATEMENT'; --echo # --echo # InnoDB, binlog_format= 'STATEMENT' --echo # --source include/delete_all_rows.inc --let $storage_engine=XENGINE SET binlog_format= 'ROW'; --echo # --echo # XENGINE, binlog_format= 'ROW' --echo # --source include/delete_all_rows.inc --echo --source suite/xengine/include/check_xengine_log_error.inc