Logging: ./mysql-test-run.pl --force --max-test-fail=0 MySQL Version 5.1.46 Checking supported features... - skipping ndbcluster, mysqld not compiled with ndbcluster - skipping SSL, mysqld not compiled with SSL Collecting tests... - adding combinations for binlog - adding combinations for rpl vardir: /home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var Checking leftover processes... Removing old var directory... Creating var directory '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var'... Installing system database... Using server port 41032 ============================================================================== TEST RESULT TIME (ms) ------------------------------------------------------------ worker[1] Using MTR_BUILD_THREAD 300, with reserved ports 13000..13009 binlog.binlog_multi_engine [ skipped ] No ndbcluster support ndb.loaddata_autocom_ndb [ skipped ] No ndbcluster support ndb.ndb_alter_table [ skipped ] No ndbcluster support ndb.ndb_alter_table2 [ skipped ] No ndbcluster support ndb.ndb_alter_table3 [ skipped ] No ndbcluster support ndb.ndb_auto_increment [ skipped ] No ndbcluster support ndb.ndb_autoinc [ skipped ] No ndbcluster support ndb.ndb_basic [ skipped ] No ndbcluster support ndb.ndb_binlog_basic [ skipped ] No ndbcluster support ndb.ndb_binlog_ddl_multi [ skipped ] No ndbcluster support ndb.ndb_binlog_discover [ skipped ] No ndbcluster support ndb.ndb_binlog_format [ skipped ] No ndbcluster support ndb.ndb_binlog_ignore_db [ skipped ] No ndbcluster support ndb.ndb_binlog_log_bin [ skipped ] No ndbcluster support ndb.ndb_binlog_multi [ skipped ] No ndbcluster support ndb.ndb_bitfield [ skipped ] No ndbcluster support ndb.ndb_blob [ skipped ] No ndbcluster support ndb.ndb_blob_partition [ skipped ] No ndbcluster support ndb.ndb_bug26793 [ skipped ] No ndbcluster support ndb.ndb_bug31477 [ skipped ] No ndbcluster support ndb.ndb_cache [ skipped ] No ndbcluster support ndb.ndb_cache2 [ skipped ] No ndbcluster support ndb.ndb_cache_multi [ skipped ] No ndbcluster support ndb.ndb_cache_multi2 [ skipped ] No ndbcluster support ndb.ndb_charset [ skipped ] No ndbcluster support ndb.ndb_condition_pushdown [ skipped ] No ndbcluster support ndb.ndb_config [ skipped ] No ndbcluster support ndb.ndb_config2 [ skipped ] No ndbcluster support ndb.ndb_cursor [ skipped ] No ndbcluster support ndb.ndb_database [ skipped ] No ndbcluster support ndb.ndb_dd_alter [ skipped ] No ndbcluster support ndb.ndb_dd_basic [ skipped ] No ndbcluster support ndb.ndb_dd_ddl [ skipped ] No ndbcluster support ndb.ndb_dd_disk2memory [ skipped ] No ndbcluster support ndb.ndb_dd_dump [ skipped ] No ndbcluster support ndb.ndb_dd_sql_features [ skipped ] No ndbcluster support ndb.ndb_gis [ skipped ] No ndbcluster support ndb.ndb_index [ skipped ] No ndbcluster support ndb.ndb_index_ordered [ skipped ] No ndbcluster support ndb.ndb_index_unique [ skipped ] No ndbcluster support ndb.ndb_insert [ skipped ] No ndbcluster support ndb.ndb_limit [ skipped ] No ndbcluster support ndb.ndb_load [ skipped ] No ndbcluster support ndb.ndb_loaddatalocal [ skipped ] No ndbcluster support ndb.ndb_lock [ skipped ] No ndbcluster support ndb.ndb_lock_table [ skipped ] No ndbcluster support ndb.ndb_minmax [ skipped ] No ndbcluster support ndb.ndb_multi [ skipped ] No ndbcluster support ndb.ndb_multi_row [ skipped ] No ndbcluster support ndb.ndb_partition_error [ skipped ] No ndbcluster support ndb.ndb_partition_key [ skipped ] No ndbcluster support ndb.ndb_partition_list [ skipped ] No ndbcluster support ndb.ndb_partition_range [ skipped ] No ndbcluster support ndb.ndb_read_multi_range [ skipped ] No ndbcluster support ndb.ndb_rename [ skipped ] No ndbcluster support ndb.ndb_replace [ skipped ] No ndbcluster support ndb.ndb_restore [ skipped ] No ndbcluster support ndb.ndb_restore_compat [ skipped ] No ndbcluster support ndb.ndb_restore_partition [ skipped ] No ndbcluster support ndb.ndb_restore_print [ skipped ] No ndbcluster support ndb.ndb_row_format [ skipped ] No ndbcluster support ndb.ndb_single_user [ skipped ] No ndbcluster support ndb.ndb_sp [ skipped ] No ndbcluster support ndb.ndb_subquery [ skipped ] No ndbcluster support ndb.ndb_temporary [ skipped ] No ndbcluster support ndb.ndb_tmp_table_and_DDL [ skipped ] No ndbcluster support ndb.ndb_transaction [ skipped ] No ndbcluster support ndb.ndb_trigger [ skipped ] No ndbcluster support ndb.ndb_truncate [ skipped ] No ndbcluster support ndb.ndb_types [ skipped ] No ndbcluster support ndb.ndb_update [ skipped ] No ndbcluster support ndb.ndb_update_no_read [ skipped ] No ndbcluster support ndb.ndb_view [ skipped ] No ndbcluster support ndb.ndbapi [ skipped ] No ndbcluster support ndb.ps_7ndb [ skipped ] No ndbcluster support ndb.strict_autoinc_5ndb [ skipped ] No ndbcluster support rpl_ndb.rpl_ndb_2innodb [ skipped ] No ndbcluster support rpl_ndb.rpl_ndb_2myisam [ skipped ] No ndbcluster support rpl_ndb.rpl_ndb_2other [ skipped ] No ndbcluster support rpl_ndb.rpl_ndb_UUID [ skipped ] No ndbcluster support rpl_ndb.rpl_ndb_apply_status [ skipped ] No ndbcluster support rpl_ndb.rpl_ndb_auto_inc [ skipped ] No ndbcluster support rpl_ndb.rpl_ndb_bank [ skipped ] No ndbcluster support rpl_ndb.rpl_ndb_basic [ skipped ] No ndbcluster support rpl_ndb.rpl_ndb_blob [ skipped ] No ndbcluster support rpl_ndb.rpl_ndb_blob2 [ skipped ] No ndbcluster support rpl_ndb.rpl_ndb_circular [ skipped ] No ndbcluster support rpl_ndb.rpl_ndb_circular_2ch [ skipped ] No ndbcluster support rpl_ndb.rpl_ndb_circular_simplex [ skipped ] No ndbcluster support rpl_ndb.rpl_ndb_commit_afterflush [ skipped ] No ndbcluster support rpl_ndb.rpl_ndb_ctype_ucs2_def [ skipped ] No ndbcluster support rpl_ndb.rpl_ndb_dd_basic [ skipped ] No ndbcluster support rpl_ndb.rpl_ndb_dd_partitions [ skipped ] No ndbcluster support rpl_ndb.rpl_ndb_ddl [ skipped ] No ndbcluster support rpl_ndb.rpl_ndb_delete_nowhere [ skipped ] No ndbcluster support rpl_ndb.rpl_ndb_do_db [ skipped ] No ndbcluster support rpl_ndb.rpl_ndb_do_table [ skipped ] No ndbcluster support rpl_ndb.rpl_ndb_extraCol [ skipped ] No ndbcluster support rpl_ndb.rpl_ndb_func003 [ skipped ] No ndbcluster support rpl_ndb.rpl_ndb_idempotent [ skipped ] No ndbcluster support rpl_ndb.rpl_ndb_innodb2ndb [ skipped ] No ndbcluster support rpl_ndb.rpl_ndb_innodb_trans [ skipped ] No ndbcluster support rpl_ndb.rpl_ndb_insert_ignore [ skipped ] No ndbcluster support rpl_ndb.rpl_ndb_load [ skipped ] No ndbcluster support rpl_ndb.rpl_ndb_log [ skipped ] No ndbcluster support rpl_ndb.rpl_ndb_multi [ skipped ] No ndbcluster support rpl_ndb.rpl_ndb_multi_update2 [ skipped ] No ndbcluster support rpl_ndb.rpl_ndb_multi_update3 [ skipped ] No ndbcluster support rpl_ndb.rpl_ndb_myisam2ndb [ skipped ] No ndbcluster support rpl_ndb.rpl_ndb_relayrotate [ skipped ] No ndbcluster support rpl_ndb.rpl_ndb_rep_ignore [ skipped ] No ndbcluster support rpl_ndb.rpl_ndb_row_001 [ skipped ] No ndbcluster support rpl_ndb.rpl_ndb_set_null [ skipped ] No ndbcluster support rpl_ndb.rpl_ndb_sp003 [ skipped ] No ndbcluster support rpl_ndb.rpl_ndb_sp006 [ skipped ] No ndbcluster support rpl_ndb.rpl_ndb_stm_innodb [ skipped ] No ndbcluster support rpl_ndb.rpl_ndb_sync [ skipped ] No ndbcluster support rpl_ndb.rpl_ndb_trig004 [ skipped ] No ndbcluster support rpl_ndb.rpl_ndbapi_multi [ skipped ] No ndbcluster support rpl_ndb.rpl_row_basic_7ndb [ skipped ] No ndbcluster support rpl_ndb.rpl_truncate_7ndb [ skipped ] No ndbcluster support rpl_ndb.rpl_truncate_7ndb_2 [ skipped ] Test needs 'big-test' option rpl.rpl_stm_binlog_direct 'row' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_stm_binlog_direct 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_stm_binlog_direct 'row+innodb_plugin' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_stm_binlog_direct 'mix+innodb_plugin' [ skipped ] Doesn't support --binlog-format='mixed' binlog.binlog_stm_do_db 'row' [ skipped ] Doesn't support --binlog-format='row' binlog.binlog_stm_do_db 'mix' [ skipped ] Doesn't support --binlog-format='mixed' binlog.binlog_stm_do_db 'row+innodb_plugin' [ skipped ] Doesn't support --binlog-format='row' binlog.binlog_stm_do_db 'mix+innodb_plugin' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_begin_commit_rollback 'row' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_begin_commit_rollback 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_begin_commit_rollback 'row+innodb_plugin' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_begin_commit_rollback 'mix+innodb_plugin' [ skipped ] Doesn't support --binlog-format='mixed' binlog.binlog_row_innodb_stat 'stmt' [ skipped ] Doesn't support --binlog-format='statement' binlog.binlog_row_innodb_stat 'mix' [ skipped ] Doesn't support --binlog-format='mixed' binlog.binlog_row_innodb_stat 'stmt+innodb_plugin' [ skipped ] Doesn't support --binlog-format='statement' binlog.binlog_row_innodb_stat 'mix+innodb_plugin' [ skipped ] Doesn't support --binlog-format='mixed' binlog.binlog_stm_innodb_stat 'row' [ skipped ] Doesn't support --binlog-format='row' binlog.binlog_stm_innodb_stat 'mix' [ skipped ] Doesn't support --binlog-format='mixed' binlog.binlog_stm_innodb_stat 'row+innodb_plugin' [ skipped ] Doesn't support --binlog-format='row' binlog.binlog_stm_innodb_stat 'mix+innodb_plugin' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_basic_11bugs 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_basic_11bugs 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_concurrency_error 'row' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_concurrency_error 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_concurrency_error 'row+innodb_plugin' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_concurrency_error 'mix+innodb_plugin' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_innodb_bug28430 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_innodb_bug28430 'stmt+innodb_plugin' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_log_innodb 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_log_innodb 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_log_innodb 'stmt+innodb_plugin' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_log_innodb 'mix+innodb_plugin' [ skipped ] Doesn't support --binlog-format='mixed' binlog.binlog_innodb_row 'stmt' [ skipped ] Doesn't support --binlog-format='statement' binlog.binlog_innodb_row 'mix' [ skipped ] Doesn't support --binlog-format='mixed' binlog.binlog_innodb_row 'stmt+innodb_plugin' [ skipped ] Doesn't support --binlog-format='statement' binlog.binlog_innodb_row 'mix+innodb_plugin' [ skipped ] Doesn't support --binlog-format='mixed' binlog.binlog_killed 'row' [ skipped ] Doesn't support --binlog-format='row' binlog.binlog_killed 'mix' [ skipped ] Doesn't support --binlog-format='mixed' binlog.binlog_killed 'row+innodb_plugin' [ skipped ] Doesn't support --binlog-format='row' binlog.binlog_killed 'mix+innodb_plugin' [ skipped ] Doesn't support --binlog-format='mixed' binlog.binlog_mix_innodb_stat 'row' [ skipped ] Doesn't support --binlog-format='row' binlog.binlog_mix_innodb_stat 'stmt' [ skipped ] Doesn't support --binlog-format='statement' binlog.binlog_mix_innodb_stat 'row+innodb_plugin' [ skipped ] Doesn't support --binlog-format='row' binlog.binlog_mix_innodb_stat 'stmt+innodb_plugin' [ skipped ] Doesn't support --binlog-format='statement' binlog.binlog_row_mix_innodb_myisam 'stmt' [ skipped ] Doesn't support --binlog-format='statement' binlog.binlog_row_mix_innodb_myisam 'mix' [ skipped ] Doesn't support --binlog-format='mixed' binlog.binlog_row_mix_innodb_myisam 'stmt+innodb_plugin' [ skipped ] Doesn't support --binlog-format='statement' binlog.binlog_row_mix_innodb_myisam 'mix+innodb_plugin' [ skipped ] Doesn't support --binlog-format='mixed' binlog.binlog_stm_mix_innodb_myisam 'row' [ skipped ] Doesn't support --binlog-format='row' binlog.binlog_stm_mix_innodb_myisam 'mix' [ skipped ] Doesn't support --binlog-format='mixed' binlog.binlog_stm_mix_innodb_myisam 'row+innodb_plugin' [ skipped ] Doesn't support --binlog-format='row' binlog.binlog_stm_mix_innodb_myisam 'mix+innodb_plugin' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_binlog_grant 'row' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_binlog_grant 'row+innodb_plugin' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_extraCol_innodb 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_extraCol_innodb 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_extraCol_innodb 'stmt+innodb_plugin' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_extraCol_innodb 'mix+innodb_plugin' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_innodb_bug30888 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_innodb_bug30888 'stmt+innodb_plugin' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_innodb_mixed_ddl 'row' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_innodb_mixed_ddl 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_innodb_mixed_ddl 'row+innodb_plugin' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_innodb_mixed_ddl 'stmt+innodb_plugin' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_innodb_mixed_dml 'row' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_innodb_mixed_dml 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_innodb_mixed_dml 'row+innodb_plugin' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_innodb_mixed_dml 'stmt+innodb_plugin' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_loaddata 'row' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_loaddata 'row+innodb_plugin' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_loaddata_concurrent 'row' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_loaddata_concurrent 'row+innodb_plugin' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_not_null_innodb 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_not_null_innodb 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_not_null_innodb 'stmt+innodb_plugin' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_not_null_innodb 'mix+innodb_plugin' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_basic_3innodb 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_basic_3innodb 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_basic_3innodb 'stmt+innodb_plugin' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_basic_3innodb 'mix+innodb_plugin' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_blob_innodb 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_blob_innodb 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_blob_innodb 'stmt+innodb_plugin' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_blob_innodb 'mix+innodb_plugin' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_func003 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_func003 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_func003 'stmt+innodb_plugin' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_func003 'mix+innodb_plugin' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_sp002_innodb 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_sp002_innodb 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_sp002_innodb 'stmt+innodb_plugin' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_sp002_innodb 'mix+innodb_plugin' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_sp003 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_sp003 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_sp003 'stmt+innodb_plugin' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_sp003 'mix+innodb_plugin' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_sp006_InnoDB 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_sp006_InnoDB 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_sp006_InnoDB 'stmt+innodb_plugin' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_sp006_InnoDB 'mix+innodb_plugin' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_sp007_innodb 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_sp007_innodb 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_sp007_innodb 'stmt+innodb_plugin' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_sp007_innodb 'mix+innodb_plugin' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_tabledefs_3innodb 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_tabledefs_3innodb 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_tabledefs_3innodb 'stmt+innodb_plugin' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_tabledefs_3innodb 'mix+innodb_plugin' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_tbl_metadata 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_tbl_metadata 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_tbl_metadata 'stmt+innodb_plugin' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_tbl_metadata 'mix+innodb_plugin' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_trig004 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_trig004 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_trig004 'stmt+innodb_plugin' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_trig004 'mix+innodb_plugin' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_set_null_innodb 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_set_null_innodb 'stmt+innodb_plugin' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_stm_mixing_engines 'row' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_stm_mixing_engines 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_stm_mixing_engines 'row+innodb_plugin' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_stm_mixing_engines 'mix+innodb_plugin' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_trigger 'row' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_trigger 'row+innodb_plugin' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_typeconv_innodb 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_typeconv_innodb 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_typeconv_innodb 'stmt+innodb_plugin' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_typeconv_innodb 'mix+innodb_plugin' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_sp 'row' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_sp 'stmt' [ skipped ] Doesn't support --binlog-format='statement' binlog.binlog_stm_ctype_cp932 'row' [ skipped ] Doesn't support --binlog-format='row' binlog.binlog_stm_drop_tmp_tbl 'row' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_row_mysqlbinlog 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_mysqlbinlog 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_loaddata_map 'row' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_loaddata_symlink 'row' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_loaddata_symlink 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_log 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_log 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_packet 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_packet 'mix' [ skipped ] Doesn't support --binlog-format='mixed' binlog.binlog_row_ctype_cp932 'stmt' [ skipped ] Doesn't support --binlog-format='statement' binlog.binlog_row_ctype_cp932 'mix' [ skipped ] Doesn't support --binlog-format='mixed' binlog.binlog_row_ctype_ucs 'stmt' [ skipped ] Doesn't support --binlog-format='statement' binlog.binlog_row_ctype_ucs 'mix' [ skipped ] Doesn't support --binlog-format='mixed' binlog.binlog_row_drop_tmp_tbl 'stmt' [ skipped ] Doesn't support --binlog-format='statement' binlog.binlog_row_drop_tmp_tbl 'mix' [ skipped ] Doesn't support --binlog-format='mixed' binlog.binlog_row_insert_select 'stmt' [ skipped ] Doesn't support --binlog-format='statement' binlog.binlog_row_insert_select 'mix' [ skipped ] Doesn't support --binlog-format='mixed' binlog.binlog_stm_blackhole 'row' [ skipped ] Doesn't support --binlog-format='row' binlog.binlog_stm_ctype_ucs 'row' [ skipped ] Doesn't support --binlog-format='row' binlog.binlog_stm_insert_select 'row' [ skipped ] Doesn't support --binlog-format='row' binlog.binlog_stm_ps 'row' [ skipped ] Doesn't support --binlog-format='row' binlog.binlog_stm_ps 'mix' [ skipped ] Doesn't support --binlog-format='mixed' binlog.binlog_stm_row 'stmt' [ skipped ] Doesn't support --binlog-format='statement' binlog.binlog_stm_row 'mix' [ skipped ] Doesn't support --binlog-format='mixed' binlog.binlog_stm_unsafe_warning 'row' [ skipped ] Doesn't support --binlog-format='row' binlog.binlog_stm_unsafe_warning 'mix' [ skipped ] Doesn't support --binlog-format='mixed' binlog.binlog_tmp_table 'row' [ skipped ] Doesn't support --binlog-format='row' binlog.binlog_unsafe 'row' [ skipped ] Doesn't support --binlog-format='row' binlog.binlog_unsafe 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl000013 'row' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_binlog_query_filter_rules 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_binlog_query_filter_rules 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_drop_temp 'row' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_extraCol_myisam 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_extraCol_myisam 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_filter_tables_not_exist 'row' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_filter_tables_not_exist 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_geometry 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_geometry 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_loaddata_s 'row' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_loadfile 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_mixed_ddl_dml 'row' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_not_null_myisam 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_not_null_myisam 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_rbr_to_sbr 'row' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_rewrt_db 'row' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_rotate_logs 'row' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_row_001 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_001 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_NOW 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_NOW 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_USER 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_USER 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_UUID 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_UUID 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_basic_2myisam 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_basic_2myisam 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_basic_8partition 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_basic_8partition 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_blob_myisam 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_blob_myisam 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_colSize 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_colSize 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_conflicts 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_conflicts 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_delayed_ins 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_delayed_ins 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_disabled_slave_key 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_disabled_slave_key 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_drop 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_drop 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_flsh_tbls 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_flsh_tbls 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_func001 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_func001 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_func002 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_func002 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_inexist_tbl 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_inexist_tbl 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_insert_delayed 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_insert_delayed 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_max_relay_size 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_max_relay_size 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_reset_slave 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_reset_slave 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_sp001 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_sp001 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_sp005 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_sp005 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_sp008 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_sp008 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_sp009 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_sp009 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_sp010 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_sp010 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_sp011 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_sp011 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_sp012 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_sp012 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_tabledefs_2myisam 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_tabledefs_2myisam 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_trig001 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_trig001 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_trig002 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_trig002 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_trig003 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_trig003 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_trunc_temp 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_trunc_temp 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_unsafe_funcs 'row' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_row_unsafe_funcs 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_until 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_until 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_view01 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_view01 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_row_wide_table 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_row_wide_table 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_set_null_myisam 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_slow_query_log 'row' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_slow_query_log 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_stm_000001 'row' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_stm_000001 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_stm_EE_err2 'row' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_stm_auto_increment_bug33029 'row' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_stm_auto_increment_bug33029 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_stm_conflicts 'row' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_stm_flsh_tbls 'row' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_stm_insert_delayed 'row' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_stm_loadfile 'row' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_stm_loadfile 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_stm_log 'row' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_stm_max_relay_size 'row' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_stm_multi_query 'row' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_stm_no_op 'row' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_stm_reset_slave 'row' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_stm_sql_mode 'row' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_stm_sql_mode 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_stm_until 'row' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_temp_table 'row' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_temp_table_mix_row 'row' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_temp_table_mix_row 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_tmp_table_and_DDL 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_tmp_table_and_DDL 'mix' [ skipped ] Doesn't support --binlog-format='mixed' rpl.rpl_trunc_temp 'row' [ skipped ] Doesn't support --binlog-format='row' rpl.rpl_variables 'stmt' [ skipped ] Doesn't support --binlog-format='statement' rpl.rpl_variables_stm 'row' [ skipped ] Doesn't support --binlog-format='row' main.func_des_encrypt [ skipped ] No SSL support main.func_encrypt [ skipped ] No SSL support main.openssl_1 [ skipped ] No SSL support main.ssl [ skipped ] No SSL support main.ssl_8k_key [ skipped ] No SSL support main.ssl_compress [ skipped ] No SSL support main.ssl_connect [ skipped ] No SSL support rpl.rpl_ssl [ skipped ] No SSL support rpl.rpl_ssl1 [ skipped ] No SSL support binlog.binlog_incident [ skipped ] Test needs debug binaries binlog.binlog_index [ skipped ] Test needs debug binaries binlog.binlog_killed_simulate [ skipped ] Test needs debug binaries binlog.binlog_row_binlog [ skipped ] Test needs debug binaries binlog.binlog_stm_binlog [ skipped ] Test needs debug binaries binlog.binlog_truncate_innodb [ disabled ] BUG#42643 2009-02-06 mats Changes to InnoDB requires to complete fix for BUG#36763 binlog.binlog_write_error [ skipped ] Test needs debug binaries federated.federated_debug [ skipped ] Test needs debug binaries federated.federated_transactions [ disabled ] Bug#29523 Transactions do not work innodb.innodb-index [ disabled ] InnoDB: Error: table `test`.`t1#1` already exists in InnoDB internal main.alter_table-big [ skipped ] Test needs 'big-test' option main.archive-big [ skipped ] Test needs 'big-test' option main.count_distinct3 [ skipped ] Test needs 'big-test' option main.crash_commit_before [ skipped ] Test needs debug binaries main.create-big [ skipped ] Test needs 'big-test' option main.error_simulation [ skipped ] Test needs debug binaries main.events_stress [ skipped ] Test needs 'big-test' option main.events_time_zone [ skipped ] Test needs 'big-test' option main.flush_read_lock_kill [ skipped ] Test needs debug binaries main.innodb-autoinc-44030 [ disabled ] BUG#47621 2009-01-22 svoj MySQL and InnoDB dicts getting out of sync main.kill [ disabled ] Bug#37780 2008-12-03 HHunger need some changes to be robust enough for pushbuild. main.log_tables-big [ skipped ] Test needs 'big-test' option main.log_tables_debug [ skipped ] Test needs debug binaries main.merge-big [ skipped ] Test needs 'big-test' option main.myisam_crash_before_flush_keys [ skipped ] Test needs debug binaries main.myisam_debug [ skipped ] Test needs debug binaries main.mysqlbinlog_row_big [ skipped ] Test needs 'big-test' option main.query_cache_28249 [ disabled ] Bug#43861 2009-03-25 main.query_cache_28249 fails sporadically main.query_cache_debug [ skipped ] Test needs debug binaries main.read_many_rows_innodb [ skipped ] Test needs 'big-test' option main.sp-code [ skipped ] Test needs debug binaries main.ssl-big [ skipped ] Test needs 'big-test' option main.subselect_debug [ skipped ] Test needs debug binaries main.sum_distinct-big [ skipped ] Test needs 'big-test' option main.type_newdecimal-big [ skipped ] Test needs 'big-test' option main.variables-big [ skipped ] Test needs 'big-test' option main.variables_debug [ skipped ] Test needs debug binaries ndb.ndb_partition_error2 [ disabled ] Bug#40989 ndb_partition_error2 needs maintenance rpl.rpl_binlog_corruption [ skipped ] Test needs debug binaries rpl.rpl_bug26395 [ skipped ] Test needs debug binaries rpl.rpl_bug33931 [ skipped ] Test needs debug binaries rpl.rpl_incident [ skipped ] Test needs debug binaries rpl.rpl_init_slave_errors [ skipped ] Test needs debug binaries rpl.rpl_killed_ddl [ skipped ] Test needs debug binaries rpl.rpl_known_bugs_detection [ skipped ] Test needs debug binaries rpl.rpl_loaddata_fatal [ skipped ] Test needs debug binaries rpl.rpl_row_4_bytes [ skipped ] Test needs debug binaries rpl.rpl_row_create_table [ disabled ] Bug#51574 Feb 27 2010 andrei failed different way than earlier with bug#45576 rpl.rpl_row_stop_middle_update [ skipped ] Test needs debug binaries rpl.rpl_show_slave_running [ skipped ] Test needs debug binaries rpl.rpl_slave_load_remove_tmpfile [ skipped ] Test needs debug binaries rpl_ndb.rpl_ndb_2ndb [ disabled ] Bug#45974: rpl_ndb_2ndb fails sporadically main.plugin_load [ skipped ] Test requires: 'have_example_plugin' main.plugin [ skipped ] Test requires: 'have_example_plugin' main.plugin_not_embedded [ skipped ] Test requires: 'have_example_plugin' main.fulltext_plugin [ skipped ] Test requires: 'have_simple_parser' main.udf [ skipped ] Test requires: 'have_udf_example' binlog.binlog_stm_do_db 'stmt' [ pass ] 381 binlog.binlog_stm_do_db 'stmt+innodb_plugin' [ pass ] 425 binlog.binlog_row_innodb_stat 'row' [ pass ] 813 binlog.binlog_row_innodb_stat 'row+innodb_plugin' [ pass ] 689 binlog.binlog_stm_innodb_stat 'stmt' [ pass ] 785 binlog.binlog_stm_innodb_stat 'stmt+innodb_plugin' [ pass ] 649 binlog.binlog_innodb 'row' [ pass ] 1705 binlog.binlog_innodb 'stmt' [ pass ] 1909 binlog.binlog_innodb 'mix' [ pass ] 1757 binlog.binlog_innodb 'row+innodb_plugin' [ pass ] 1729 binlog.binlog_innodb 'stmt+innodb_plugin' [ pass ] 1625 binlog.binlog_innodb 'mix+innodb_plugin' [ pass ] 1705 binlog.binlog_innodb_row 'row' [ pass ] 833 binlog.binlog_innodb_row 'row+innodb_plugin' [ pass ] 805 binlog.binlog_killed 'stmt' [ pass ] 917 binlog.binlog_killed 'stmt+innodb_plugin' [ pass ] 913 binlog.binlog_mix_innodb_stat 'mix' [ pass ] 777 binlog.binlog_mix_innodb_stat 'mix+innodb_plugin' [ pass ] 653 drop table if exists t1, t2; create table t1 (a int) engine=innodb; create table t2 (a int) engine=myisam; reset master; begin; insert into t1 values(1); insert into t2 select * from t1; commit; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; reset master; begin; insert into t1 values(2); insert into t2 select * from t1; rollback; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK delete from t1; delete from t2; reset master; begin; insert into t1 values(3); savepoint my_savepoint; insert into t1 values(4); insert into t2 select * from t1; rollback to savepoint my_savepoint; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back commit; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # SAVEPOINT my_savepoint master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK TO my_savepoint master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; reset master; begin; insert into t1 values(5); savepoint my_savepoint; insert into t1 values(6); insert into t2 select * from t1; rollback to savepoint my_savepoint; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back insert into t1 values(7); commit; select a from t1 order by a; a 5 7 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # SAVEPOINT my_savepoint master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK TO my_savepoint master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; reset master; select get_lock("a",10); get_lock("a",10) 1 begin; insert into t1 values(8); insert into t2 select * from t1; select get_lock("a",10); get_lock("a",10) 1 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK delete from t1; delete from t2; reset master; insert into t1 values(9); insert into t2 select * from t1; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT delete from t1; delete from t2; reset master; insert into t1 values(10); begin; insert into t2 select * from t1; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT insert into t1 values(11); commit; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ alter table t2 engine=INNODB; delete from t1; delete from t2; reset master; begin; insert into t1 values(12); insert into t2 select * from t1; commit; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; reset master; begin; insert into t1 values(13); insert into t2 select * from t1; rollback; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info delete from t1; delete from t2; reset master; begin; insert into t1 values(14); savepoint my_savepoint; insert into t1 values(15); insert into t2 select * from t1; rollback to savepoint my_savepoint; commit; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; reset master; begin; insert into t1 values(16); savepoint my_savepoint; insert into t1 values(17); insert into t2 select * from t1; rollback to savepoint my_savepoint; insert into t1 values(18); commit; select a from t1 order by a; a 16 18 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; alter table t2 engine=MyISAM; insert into t1 values (1); begin; select * from t1 for update; a 1 select (@before:=unix_timestamp())*0; (@before:=unix_timestamp())*0 0 begin; select * from t1 for update; insert into t2 values (20); ERROR HY000: Lock wait timeout exceeded; try restarting transaction select (@after:=unix_timestamp())*0; (@after:=unix_timestamp())*0 0 select (@after-@before) >= 2; (@after-@before) >= 2 1 drop table t1,t2; commit; begin; create temporary table ti (a int) engine=innodb; rollback; insert into ti values(1); set autocommit=0; create temporary table t1 (a int) engine=myisam; commit; insert t1 values (1); rollback; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back create table t0 (n int); insert t0 select * from t1; set autocommit=1; insert into t0 select GET_LOCK("lock1",null); set autocommit=0; create table t2 (n int) engine=innodb; insert into t2 values (3); select get_lock("lock1",60); get_lock("lock1",60) 1 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Delete_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # use `test`; alter table t2 engine=MyISAM master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # use `test`; drop table t1,t2 master-bin.000001 # Query # # use `test`; create table t0 (n int) master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t0) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t0) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # use `test`; create table t2 (n int) engine=innodb do release_lock("lock1"); drop table t0,t2; set autocommit=0; CREATE TABLE t1 (a int, b int) engine=myisam; reset master; INSERT INTO t1 values (1,1),(1,2); CREATE TABLE t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' DROP TABLE if exists t2; Warnings: Note 1051 Unknown table 't2' INSERT INTO t1 values (3,3); CREATE TEMPORARY TABLE t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' ROLLBACK; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back DROP TABLE IF EXISTS t2; Warnings: Note 1051 Unknown table 't2' CREATE TABLE t2 (a int, b int, primary key (a)) engine=innodb; INSERT INTO t1 VALUES (4,4); CREATE TABLE IF NOT EXISTS t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' SELECT * from t2; a b TRUNCATE table t2; INSERT INTO t1 VALUES (5,5); INSERT INTO t2 select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' SELECT * FROM t2; a b DROP TABLE t2; INSERT INTO t1 values (6,6); CREATE TEMPORARY TABLE t2 (a int, b int, primary key (a)) engine=innodb ; INSERT INTO t1 values (7,7); ROLLBACK; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back INSERT INTO t1 values (8,8); CREATE TEMPORARY TABLE IF NOT EXISTS t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' COMMIT; INSERT INTO t1 values (9,9); CREATE TEMPORARY TABLE IF NOT EXISTS t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' ROLLBACK; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back SELECT * from t2; a b TRUNCATE table t2; INSERT INTO t1 values (10,10); INSERT INTO t2 select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' SELECT * from t1; a b 1 1 1 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 INSERT INTO t2 values (100,100); CREATE TEMPORARY TABLE IF NOT EXISTS t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' COMMIT; INSERT INTO t2 values (101,101); CREATE TEMPORARY TABLE IF NOT EXISTS t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' ROLLBACK; SELECT * from t2; a b 100 100 DROP TABLE t1,t2; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # use `test`; DROP TABLE if exists t2 master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # use `test`; DROP TABLE IF EXISTS t2 master-bin.000001 # Query # # use `test`; CREATE TABLE t2 (a int, b int, primary key (a)) engine=innodb master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; TRUNCATE table t2 master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # use `test`; DROP TABLE t2 master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # use `test`; DROP TABLE `t1` /* generated by server */ reset master; create table t1 (a int) engine=innodb; create table t2 (a int) engine=myisam; select get_lock("a",10); get_lock("a",10) 1 begin; insert into t1 values(8); insert into t2 select * from t1; select get_lock("a",10); get_lock("a",10) 1 flush logs; select (@a:=load_file("MYSQLTEST_VARDIR/tmp/mix_innodb_myisam_binlog.output")) is not null; (@a:=load_file("MYSQLTEST_VARDIR/tmp/mix_innodb_myisam_binlog.output")) is not null 1 select @a like "%#%error_code=0%ROLLBACK\n/*!*/;%ROLLBACK /* added by mysqlbinlog */;%" OR @a like "%#%error_code=0%ROLLBACK\r\n/*!*/;%ROLLBACK /* added by mysqlbinlog */;%", @a not like "%#%error_code=%error_code=%"; @a like "%#%error_code=0%ROLLBACK\n/*!*/;%ROLLBACK /* added by mysqlbinlog */;%" OR @a like "%#%error_code=0%ROLLBACK\r\n/*!*/;%ROLLBACK /* added by mysqlbinlog */;%" @a not like "%#%error_code=%error_code=%" 1 1 drop table t1, t2; create temporary table tt (a int unique); create table ti (a int) engine=innodb; reset master; begin; insert into ti values (1); insert into ti values (2) ; insert into tt select * from ti; rollback; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back select count(*) from tt /* 2 */; count(*) 2 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.ti) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Table_map # # table_id: # (test.ti) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK select count(*) from ti /* zero */; count(*) 0 insert into ti select * from tt; select * from ti /* that is what slave would miss - a bug */; a 1 2 delete from ti; delete from tt where a=1; reset master; begin; insert into ti values (1); insert into ti values (2) /* to make the dup error in the following */; insert into tt select * from ti /* one affected and error */; ERROR 23000: Duplicate entry '2' for key 'a' rollback; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info select count(*) from ti /* zero */; count(*) 0 insert into ti select * from tt; select * from tt /* that is what otherwise slave missed - the bug */; a 1 2 drop table ti, tt; drop function if exists bug27417; drop table if exists t1,t2; CREATE TABLE t1 (a int NOT NULL auto_increment primary key) ENGINE=MyISAM; CREATE TABLE t2 (a int NOT NULL auto_increment, PRIMARY KEY (a)); create function bug27417(n int) RETURNS int(11) begin insert into t1 values (null); return n; end| reset master; insert into t2 values (bug27417(1)); insert into t2 select bug27417(2); reset master; insert into t2 values (bug27417(2)); ERROR 23000: Duplicate entry '2' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK /* only (!) with fixes for #23333 will show there is the query */; select count(*) from t1 /* must be 3 */; count(*) 3 reset master; select count(*) from t2; count(*) 2 delete from t2 where a=bug27417(3); select count(*) from t2 /* nothing got deleted */; count(*) 2 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT /* the query must be in regardless of #23333 */; select count(*) from t1 /* must be 5 */; count(*) 5 delete t2 from t2 where t2.a=bug27417(100) /* must not affect t2 */; affected rows: 0 select count(*) from t1 /* must be 7 */; count(*) 7 drop table t1,t2; CREATE TABLE t1 (a int NOT NULL auto_increment primary key) ENGINE=MyISAM; CREATE TABLE t2 (a int, PRIMARY KEY (a)) ENGINE=InnoDB; CREATE TABLE t3 (a int, PRIMARY KEY (a), b int unique) ENGINE=MyISAM; CREATE TABLE t4 (a int, PRIMARY KEY (a), b int unique) ENGINE=Innodb; CREATE TABLE t5 (a int, PRIMARY KEY (a)) ENGINE=InnoDB; insert into t2 values (1); reset master; insert into t2 values (bug27417(1)); ERROR 23000: Duplicate entry '1' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 1 */; count(*) 1 delete from t1; delete from t2; insert into t2 values (2); reset master; insert into t2 select bug27417(1) union select bug27417(2); ERROR 23000: Duplicate entry '2' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 2 */; count(*) 2 delete from t1; insert into t3 values (1,1),(2,3),(3,4); reset master; update t3 set b=b+bug27417(1); ERROR 23000: Duplicate entry '4' for key 'b' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t3) master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # master-bin.000001 # Update_rows # # table_id: # master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 2 */; count(*) 2 delete from t3; delete from t4; insert into t3 values (1,1); insert into t4 values (1,1),(2,2); reset master; UPDATE t4,t3 SET t4.a=t3.a + bug27417(1) /* top level non-ta table */; ERROR 23000: Duplicate entry '2' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t4) master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 4 */; count(*) 4 delete from t1; delete from t3; delete from t4; insert into t3 values (1,1),(2,2); insert into t4 values (1,1),(2,2); reset master; UPDATE t3,t4 SET t3.a=t4.a + bug27417(1); ERROR 23000: Duplicate entry '2' for key 'PRIMARY' select count(*) from t1 /* must be 1 */; count(*) 2 drop table t4; delete from t1; delete from t2; delete from t3; insert into t2 values (1); insert into t3 values (1,1); create trigger trg_del before delete on t2 for each row insert into t3 values (bug27417(1), 2); reset master; delete from t2; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Table_map # # table_id: # (test.t3) master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 1 */; count(*) 1 drop trigger trg_del; delete from t1; delete from t2; delete from t5; create trigger trg_del_t2 after delete on t2 for each row insert into t1 values (1); insert into t2 values (2),(3); insert into t5 values (1),(2); reset master; delete t2.* from t2,t5 where t2.a=t5.a + 1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Delete_rows # # table_id: # master-bin.000001 # Write_rows # # table_id: # master-bin.000001 # Delete_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 1 */; count(*) 1 delete from t1; create table t4 (a int default 0, b int primary key) engine=innodb; insert into t4 values (0, 17); reset master; load data infile '../../std_data/rpl_loaddata.dat' into table t4 (a, @b) set b= @b + bug27417(2); ERROR 23000: Duplicate entry '17' for key 'PRIMARY' select * from t4; a b 0 17 select count(*) from t1 /* must be 2 */; count(*) 2 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t4) master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # master-bin.000001 # Write_rows # # table_id: # master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; drop trigger trg_del_t2; drop table t1,t2,t3,t4,t5; drop function bug27417; end of tests binlog.binlog_row_mix_innodb_myisam 'row' [ fail ] Test ended at 2010-05-04 10:05:41 CURRENT_TEST: binlog.binlog_row_mix_innodb_myisam mysqltest: At line 15: Could not open './extra/binlog_tests/mix_innodb_myisam_side_effects.test' for reading, errno: 2 - saving '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_row_mix_innodb_myisam-row/' to '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_row_mix_innodb_myisam-row/' Retrying test, attempt(2/3)... drop table if exists t1, t2; create table t1 (a int) engine=innodb; create table t2 (a int) engine=myisam; reset master; begin; insert into t1 values(1); insert into t2 select * from t1; commit; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; reset master; begin; insert into t1 values(2); insert into t2 select * from t1; rollback; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK delete from t1; delete from t2; reset master; begin; insert into t1 values(3); savepoint my_savepoint; insert into t1 values(4); insert into t2 select * from t1; rollback to savepoint my_savepoint; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back commit; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # SAVEPOINT my_savepoint master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK TO my_savepoint master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; reset master; begin; insert into t1 values(5); savepoint my_savepoint; insert into t1 values(6); insert into t2 select * from t1; rollback to savepoint my_savepoint; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back insert into t1 values(7); commit; select a from t1 order by a; a 5 7 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # SAVEPOINT my_savepoint master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK TO my_savepoint master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; reset master; select get_lock("a",10); get_lock("a",10) 1 begin; insert into t1 values(8); insert into t2 select * from t1; select get_lock("a",10); get_lock("a",10) 1 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK delete from t1; delete from t2; reset master; insert into t1 values(9); insert into t2 select * from t1; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT delete from t1; delete from t2; reset master; insert into t1 values(10); begin; insert into t2 select * from t1; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT insert into t1 values(11); commit; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ alter table t2 engine=INNODB; delete from t1; delete from t2; reset master; begin; insert into t1 values(12); insert into t2 select * from t1; commit; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; reset master; begin; insert into t1 values(13); insert into t2 select * from t1; rollback; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info delete from t1; delete from t2; reset master; begin; insert into t1 values(14); savepoint my_savepoint; insert into t1 values(15); insert into t2 select * from t1; rollback to savepoint my_savepoint; commit; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; reset master; begin; insert into t1 values(16); savepoint my_savepoint; insert into t1 values(17); insert into t2 select * from t1; rollback to savepoint my_savepoint; insert into t1 values(18); commit; select a from t1 order by a; a 16 18 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; alter table t2 engine=MyISAM; insert into t1 values (1); begin; select * from t1 for update; a 1 select (@before:=unix_timestamp())*0; (@before:=unix_timestamp())*0 0 begin; select * from t1 for update; insert into t2 values (20); ERROR HY000: Lock wait timeout exceeded; try restarting transaction select (@after:=unix_timestamp())*0; (@after:=unix_timestamp())*0 0 select (@after-@before) >= 2; (@after-@before) >= 2 1 drop table t1,t2; commit; begin; create temporary table ti (a int) engine=innodb; rollback; insert into ti values(1); set autocommit=0; create temporary table t1 (a int) engine=myisam; commit; insert t1 values (1); rollback; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back create table t0 (n int); insert t0 select * from t1; set autocommit=1; insert into t0 select GET_LOCK("lock1",null); set autocommit=0; create table t2 (n int) engine=innodb; insert into t2 values (3); select get_lock("lock1",60); get_lock("lock1",60) 1 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Delete_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # use `test`; alter table t2 engine=MyISAM master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # use `test`; drop table t1,t2 master-bin.000001 # Query # # use `test`; create table t0 (n int) master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t0) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t0) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # use `test`; create table t2 (n int) engine=innodb do release_lock("lock1"); drop table t0,t2; set autocommit=0; CREATE TABLE t1 (a int, b int) engine=myisam; reset master; INSERT INTO t1 values (1,1),(1,2); CREATE TABLE t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' DROP TABLE if exists t2; Warnings: Note 1051 Unknown table 't2' INSERT INTO t1 values (3,3); CREATE TEMPORARY TABLE t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' ROLLBACK; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back DROP TABLE IF EXISTS t2; Warnings: Note 1051 Unknown table 't2' CREATE TABLE t2 (a int, b int, primary key (a)) engine=innodb; INSERT INTO t1 VALUES (4,4); CREATE TABLE IF NOT EXISTS t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' SELECT * from t2; a b TRUNCATE table t2; INSERT INTO t1 VALUES (5,5); INSERT INTO t2 select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' SELECT * FROM t2; a b DROP TABLE t2; INSERT INTO t1 values (6,6); CREATE TEMPORARY TABLE t2 (a int, b int, primary key (a)) engine=innodb ; INSERT INTO t1 values (7,7); ROLLBACK; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back INSERT INTO t1 values (8,8); CREATE TEMPORARY TABLE IF NOT EXISTS t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' COMMIT; INSERT INTO t1 values (9,9); CREATE TEMPORARY TABLE IF NOT EXISTS t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' ROLLBACK; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back SELECT * from t2; a b TRUNCATE table t2; INSERT INTO t1 values (10,10); INSERT INTO t2 select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' SELECT * from t1; a b 1 1 1 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 INSERT INTO t2 values (100,100); CREATE TEMPORARY TABLE IF NOT EXISTS t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' COMMIT; INSERT INTO t2 values (101,101); CREATE TEMPORARY TABLE IF NOT EXISTS t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' ROLLBACK; SELECT * from t2; a b 100 100 DROP TABLE t1,t2; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # use `test`; DROP TABLE if exists t2 master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # use `test`; DROP TABLE IF EXISTS t2 master-bin.000001 # Query # # use `test`; CREATE TABLE t2 (a int, b int, primary key (a)) engine=innodb master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; TRUNCATE table t2 master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # use `test`; DROP TABLE t2 master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # use `test`; DROP TABLE `t1` /* generated by server */ reset master; create table t1 (a int) engine=innodb; create table t2 (a int) engine=myisam; select get_lock("a",10); get_lock("a",10) 1 begin; insert into t1 values(8); insert into t2 select * from t1; select get_lock("a",10); get_lock("a",10) 1 flush logs; select (@a:=load_file("MYSQLTEST_VARDIR/tmp/mix_innodb_myisam_binlog.output")) is not null; (@a:=load_file("MYSQLTEST_VARDIR/tmp/mix_innodb_myisam_binlog.output")) is not null 1 select @a like "%#%error_code=0%ROLLBACK\n/*!*/;%ROLLBACK /* added by mysqlbinlog */;%" OR @a like "%#%error_code=0%ROLLBACK\r\n/*!*/;%ROLLBACK /* added by mysqlbinlog */;%", @a not like "%#%error_code=%error_code=%"; @a like "%#%error_code=0%ROLLBACK\n/*!*/;%ROLLBACK /* added by mysqlbinlog */;%" OR @a like "%#%error_code=0%ROLLBACK\r\n/*!*/;%ROLLBACK /* added by mysqlbinlog */;%" @a not like "%#%error_code=%error_code=%" 1 1 drop table t1, t2; create temporary table tt (a int unique); create table ti (a int) engine=innodb; reset master; begin; insert into ti values (1); insert into ti values (2) ; insert into tt select * from ti; rollback; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back select count(*) from tt /* 2 */; count(*) 2 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.ti) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Table_map # # table_id: # (test.ti) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK select count(*) from ti /* zero */; count(*) 0 insert into ti select * from tt; select * from ti /* that is what slave would miss - a bug */; a 1 2 delete from ti; delete from tt where a=1; reset master; begin; insert into ti values (1); insert into ti values (2) /* to make the dup error in the following */; insert into tt select * from ti /* one affected and error */; ERROR 23000: Duplicate entry '2' for key 'a' rollback; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info select count(*) from ti /* zero */; count(*) 0 insert into ti select * from tt; select * from tt /* that is what otherwise slave missed - the bug */; a 1 2 drop table ti, tt; drop function if exists bug27417; drop table if exists t1,t2; CREATE TABLE t1 (a int NOT NULL auto_increment primary key) ENGINE=MyISAM; CREATE TABLE t2 (a int NOT NULL auto_increment, PRIMARY KEY (a)); create function bug27417(n int) RETURNS int(11) begin insert into t1 values (null); return n; end| reset master; insert into t2 values (bug27417(1)); insert into t2 select bug27417(2); reset master; insert into t2 values (bug27417(2)); ERROR 23000: Duplicate entry '2' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK /* only (!) with fixes for #23333 will show there is the query */; select count(*) from t1 /* must be 3 */; count(*) 3 reset master; select count(*) from t2; count(*) 2 delete from t2 where a=bug27417(3); select count(*) from t2 /* nothing got deleted */; count(*) 2 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT /* the query must be in regardless of #23333 */; select count(*) from t1 /* must be 5 */; count(*) 5 delete t2 from t2 where t2.a=bug27417(100) /* must not affect t2 */; affected rows: 0 select count(*) from t1 /* must be 7 */; count(*) 7 drop table t1,t2; CREATE TABLE t1 (a int NOT NULL auto_increment primary key) ENGINE=MyISAM; CREATE TABLE t2 (a int, PRIMARY KEY (a)) ENGINE=InnoDB; CREATE TABLE t3 (a int, PRIMARY KEY (a), b int unique) ENGINE=MyISAM; CREATE TABLE t4 (a int, PRIMARY KEY (a), b int unique) ENGINE=Innodb; CREATE TABLE t5 (a int, PRIMARY KEY (a)) ENGINE=InnoDB; insert into t2 values (1); reset master; insert into t2 values (bug27417(1)); ERROR 23000: Duplicate entry '1' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 1 */; count(*) 1 delete from t1; delete from t2; insert into t2 values (2); reset master; insert into t2 select bug27417(1) union select bug27417(2); ERROR 23000: Duplicate entry '2' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 2 */; count(*) 2 delete from t1; insert into t3 values (1,1),(2,3),(3,4); reset master; update t3 set b=b+bug27417(1); ERROR 23000: Duplicate entry '4' for key 'b' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t3) master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # master-bin.000001 # Update_rows # # table_id: # master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 2 */; count(*) 2 delete from t3; delete from t4; insert into t3 values (1,1); insert into t4 values (1,1),(2,2); reset master; UPDATE t4,t3 SET t4.a=t3.a + bug27417(1) /* top level non-ta table */; ERROR 23000: Duplicate entry '2' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t4) master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 4 */; count(*) 4 delete from t1; delete from t3; delete from t4; insert into t3 values (1,1),(2,2); insert into t4 values (1,1),(2,2); reset master; UPDATE t3,t4 SET t3.a=t4.a + bug27417(1); ERROR 23000: Duplicate entry '2' for key 'PRIMARY' select count(*) from t1 /* must be 1 */; count(*) 2 drop table t4; delete from t1; delete from t2; delete from t3; insert into t2 values (1); insert into t3 values (1,1); create trigger trg_del before delete on t2 for each row insert into t3 values (bug27417(1), 2); reset master; delete from t2; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Table_map # # table_id: # (test.t3) master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 1 */; count(*) 1 drop trigger trg_del; delete from t1; delete from t2; delete from t5; create trigger trg_del_t2 after delete on t2 for each row insert into t1 values (1); insert into t2 values (2),(3); insert into t5 values (1),(2); reset master; delete t2.* from t2,t5 where t2.a=t5.a + 1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Delete_rows # # table_id: # master-bin.000001 # Write_rows # # table_id: # master-bin.000001 # Delete_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 1 */; count(*) 1 delete from t1; create table t4 (a int default 0, b int primary key) engine=innodb; insert into t4 values (0, 17); reset master; load data infile '../../std_data/rpl_loaddata.dat' into table t4 (a, @b) set b= @b + bug27417(2); ERROR 23000: Duplicate entry '17' for key 'PRIMARY' select * from t4; a b 0 17 select count(*) from t1 /* must be 2 */; count(*) 2 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t4) master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # master-bin.000001 # Write_rows # # table_id: # master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; drop trigger trg_del_t2; drop table t1,t2,t3,t4,t5; drop function bug27417; end of tests binlog.binlog_row_mix_innodb_myisam 'row' [ retry-fail ] Test ended at 2010-05-04 10:06:48 CURRENT_TEST: binlog.binlog_row_mix_innodb_myisam mysqltest: At line 15: Could not open './extra/binlog_tests/mix_innodb_myisam_side_effects.test' for reading, errno: 2 - saving '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_row_mix_innodb_myisam-row/' to '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_row_mix_innodb_myisam-row/' Test has failed 2 times, no more retries! drop table if exists t1, t2; create table t1 (a int) engine=innodb; create table t2 (a int) engine=myisam; reset master; begin; insert into t1 values(1); insert into t2 select * from t1; commit; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; reset master; begin; insert into t1 values(2); insert into t2 select * from t1; rollback; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK delete from t1; delete from t2; reset master; begin; insert into t1 values(3); savepoint my_savepoint; insert into t1 values(4); insert into t2 select * from t1; rollback to savepoint my_savepoint; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back commit; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # SAVEPOINT my_savepoint master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK TO my_savepoint master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; reset master; begin; insert into t1 values(5); savepoint my_savepoint; insert into t1 values(6); insert into t2 select * from t1; rollback to savepoint my_savepoint; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back insert into t1 values(7); commit; select a from t1 order by a; a 5 7 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # SAVEPOINT my_savepoint master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK TO my_savepoint master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; reset master; select get_lock("a",10); get_lock("a",10) 1 begin; insert into t1 values(8); insert into t2 select * from t1; select get_lock("a",10); get_lock("a",10) 1 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK delete from t1; delete from t2; reset master; insert into t1 values(9); insert into t2 select * from t1; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT delete from t1; delete from t2; reset master; insert into t1 values(10); begin; insert into t2 select * from t1; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT insert into t1 values(11); commit; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ alter table t2 engine=INNODB; delete from t1; delete from t2; reset master; begin; insert into t1 values(12); insert into t2 select * from t1; commit; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; reset master; begin; insert into t1 values(13); insert into t2 select * from t1; rollback; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info delete from t1; delete from t2; reset master; begin; insert into t1 values(14); savepoint my_savepoint; insert into t1 values(15); insert into t2 select * from t1; rollback to savepoint my_savepoint; commit; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; reset master; begin; insert into t1 values(16); savepoint my_savepoint; insert into t1 values(17); insert into t2 select * from t1; rollback to savepoint my_savepoint; insert into t1 values(18); commit; select a from t1 order by a; a 16 18 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; alter table t2 engine=MyISAM; insert into t1 values (1); begin; select * from t1 for update; a 1 select (@before:=unix_timestamp())*0; (@before:=unix_timestamp())*0 0 begin; select * from t1 for update; insert into t2 values (20); ERROR HY000: Lock wait timeout exceeded; try restarting transaction select (@after:=unix_timestamp())*0; (@after:=unix_timestamp())*0 0 select (@after-@before) >= 2; (@after-@before) >= 2 1 drop table t1,t2; commit; begin; create temporary table ti (a int) engine=innodb; rollback; insert into ti values(1); set autocommit=0; create temporary table t1 (a int) engine=myisam; commit; insert t1 values (1); rollback; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back create table t0 (n int); insert t0 select * from t1; set autocommit=1; insert into t0 select GET_LOCK("lock1",null); set autocommit=0; create table t2 (n int) engine=innodb; insert into t2 values (3); select get_lock("lock1",60); get_lock("lock1",60) 1 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Delete_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # use `test`; alter table t2 engine=MyISAM master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # use `test`; drop table t1,t2 master-bin.000001 # Query # # use `test`; create table t0 (n int) master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t0) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t0) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # use `test`; create table t2 (n int) engine=innodb do release_lock("lock1"); drop table t0,t2; set autocommit=0; CREATE TABLE t1 (a int, b int) engine=myisam; reset master; INSERT INTO t1 values (1,1),(1,2); CREATE TABLE t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' DROP TABLE if exists t2; Warnings: Note 1051 Unknown table 't2' INSERT INTO t1 values (3,3); CREATE TEMPORARY TABLE t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' ROLLBACK; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back DROP TABLE IF EXISTS t2; Warnings: Note 1051 Unknown table 't2' CREATE TABLE t2 (a int, b int, primary key (a)) engine=innodb; INSERT INTO t1 VALUES (4,4); CREATE TABLE IF NOT EXISTS t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' SELECT * from t2; a b TRUNCATE table t2; INSERT INTO t1 VALUES (5,5); INSERT INTO t2 select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' SELECT * FROM t2; a b DROP TABLE t2; INSERT INTO t1 values (6,6); CREATE TEMPORARY TABLE t2 (a int, b int, primary key (a)) engine=innodb ; INSERT INTO t1 values (7,7); ROLLBACK; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back INSERT INTO t1 values (8,8); CREATE TEMPORARY TABLE IF NOT EXISTS t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' COMMIT; INSERT INTO t1 values (9,9); CREATE TEMPORARY TABLE IF NOT EXISTS t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' ROLLBACK; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back SELECT * from t2; a b TRUNCATE table t2; INSERT INTO t1 values (10,10); INSERT INTO t2 select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' SELECT * from t1; a b 1 1 1 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 INSERT INTO t2 values (100,100); CREATE TEMPORARY TABLE IF NOT EXISTS t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' COMMIT; INSERT INTO t2 values (101,101); CREATE TEMPORARY TABLE IF NOT EXISTS t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' ROLLBACK; SELECT * from t2; a b 100 100 DROP TABLE t1,t2; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # use `test`; DROP TABLE if exists t2 master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # use `test`; DROP TABLE IF EXISTS t2 master-bin.000001 # Query # # use `test`; CREATE TABLE t2 (a int, b int, primary key (a)) engine=innodb master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; TRUNCATE table t2 master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # use `test`; DROP TABLE t2 master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # use `test`; DROP TABLE `t1` /* generated by server */ reset master; create table t1 (a int) engine=innodb; create table t2 (a int) engine=myisam; select get_lock("a",10); get_lock("a",10) 1 begin; insert into t1 values(8); insert into t2 select * from t1; select get_lock("a",10); get_lock("a",10) 1 flush logs; select (@a:=load_file("MYSQLTEST_VARDIR/tmp/mix_innodb_myisam_binlog.output")) is not null; (@a:=load_file("MYSQLTEST_VARDIR/tmp/mix_innodb_myisam_binlog.output")) is not null 1 select @a like "%#%error_code=0%ROLLBACK\n/*!*/;%ROLLBACK /* added by mysqlbinlog */;%" OR @a like "%#%error_code=0%ROLLBACK\r\n/*!*/;%ROLLBACK /* added by mysqlbinlog */;%", @a not like "%#%error_code=%error_code=%"; @a like "%#%error_code=0%ROLLBACK\n/*!*/;%ROLLBACK /* added by mysqlbinlog */;%" OR @a like "%#%error_code=0%ROLLBACK\r\n/*!*/;%ROLLBACK /* added by mysqlbinlog */;%" @a not like "%#%error_code=%error_code=%" 1 1 drop table t1, t2; create temporary table tt (a int unique); create table ti (a int) engine=innodb; reset master; begin; insert into ti values (1); insert into ti values (2) ; insert into tt select * from ti; rollback; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back select count(*) from tt /* 2 */; count(*) 2 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.ti) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Table_map # # table_id: # (test.ti) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK select count(*) from ti /* zero */; count(*) 0 insert into ti select * from tt; select * from ti /* that is what slave would miss - a bug */; a 1 2 delete from ti; delete from tt where a=1; reset master; begin; insert into ti values (1); insert into ti values (2) /* to make the dup error in the following */; insert into tt select * from ti /* one affected and error */; ERROR 23000: Duplicate entry '2' for key 'a' rollback; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info select count(*) from ti /* zero */; count(*) 0 insert into ti select * from tt; select * from tt /* that is what otherwise slave missed - the bug */; a 1 2 drop table ti, tt; drop function if exists bug27417; drop table if exists t1,t2; CREATE TABLE t1 (a int NOT NULL auto_increment primary key) ENGINE=MyISAM; CREATE TABLE t2 (a int NOT NULL auto_increment, PRIMARY KEY (a)); create function bug27417(n int) RETURNS int(11) begin insert into t1 values (null); return n; end| reset master; insert into t2 values (bug27417(1)); insert into t2 select bug27417(2); reset master; insert into t2 values (bug27417(2)); ERROR 23000: Duplicate entry '2' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK /* only (!) with fixes for #23333 will show there is the query */; select count(*) from t1 /* must be 3 */; count(*) 3 reset master; select count(*) from t2; count(*) 2 delete from t2 where a=bug27417(3); select count(*) from t2 /* nothing got deleted */; count(*) 2 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT /* the query must be in regardless of #23333 */; select count(*) from t1 /* must be 5 */; count(*) 5 delete t2 from t2 where t2.a=bug27417(100) /* must not affect t2 */; affected rows: 0 select count(*) from t1 /* must be 7 */; count(*) 7 drop table t1,t2; CREATE TABLE t1 (a int NOT NULL auto_increment primary key) ENGINE=MyISAM; CREATE TABLE t2 (a int, PRIMARY KEY (a)) ENGINE=InnoDB; CREATE TABLE t3 (a int, PRIMARY KEY (a), b int unique) ENGINE=MyISAM; CREATE TABLE t4 (a int, PRIMARY KEY (a), b int unique) ENGINE=Innodb; CREATE TABLE t5 (a int, PRIMARY KEY (a)) ENGINE=InnoDB; insert into t2 values (1); reset master; insert into t2 values (bug27417(1)); ERROR 23000: Duplicate entry '1' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 1 */; count(*) 1 delete from t1; delete from t2; insert into t2 values (2); reset master; insert into t2 select bug27417(1) union select bug27417(2); ERROR 23000: Duplicate entry '2' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 2 */; count(*) 2 delete from t1; insert into t3 values (1,1),(2,3),(3,4); reset master; update t3 set b=b+bug27417(1); ERROR 23000: Duplicate entry '4' for key 'b' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t3) master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # master-bin.000001 # Update_rows # # table_id: # master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 2 */; count(*) 2 delete from t3; delete from t4; insert into t3 values (1,1); insert into t4 values (1,1),(2,2); reset master; UPDATE t4,t3 SET t4.a=t3.a + bug27417(1) /* top level non-ta table */; ERROR 23000: Duplicate entry '2' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t4) master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 4 */; count(*) 4 delete from t1; delete from t3; delete from t4; insert into t3 values (1,1),(2,2); insert into t4 values (1,1),(2,2); reset master; UPDATE t3,t4 SET t3.a=t4.a + bug27417(1); ERROR 23000: Duplicate entry '2' for key 'PRIMARY' select count(*) from t1 /* must be 1 */; count(*) 2 drop table t4; delete from t1; delete from t2; delete from t3; insert into t2 values (1); insert into t3 values (1,1); create trigger trg_del before delete on t2 for each row insert into t3 values (bug27417(1), 2); reset master; delete from t2; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Table_map # # table_id: # (test.t3) master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 1 */; count(*) 1 drop trigger trg_del; delete from t1; delete from t2; delete from t5; create trigger trg_del_t2 after delete on t2 for each row insert into t1 values (1); insert into t2 values (2),(3); insert into t5 values (1),(2); reset master; delete t2.* from t2,t5 where t2.a=t5.a + 1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Delete_rows # # table_id: # master-bin.000001 # Write_rows # # table_id: # master-bin.000001 # Delete_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 1 */; count(*) 1 delete from t1; create table t4 (a int default 0, b int primary key) engine=innodb; insert into t4 values (0, 17); reset master; load data infile '../../std_data/rpl_loaddata.dat' into table t4 (a, @b) set b= @b + bug27417(2); ERROR 23000: Duplicate entry '17' for key 'PRIMARY' select * from t4; a b 0 17 select count(*) from t1 /* must be 2 */; count(*) 2 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t4) master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # master-bin.000001 # Write_rows # # table_id: # master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; drop trigger trg_del_t2; drop table t1,t2,t3,t4,t5; drop function bug27417; end of tests binlog.binlog_row_mix_innodb_myisam 'row+innodb_plugin' [ fail ] Test ended at 2010-05-04 10:07:56 CURRENT_TEST: binlog.binlog_row_mix_innodb_myisam mysqltest: At line 15: Could not open './extra/binlog_tests/mix_innodb_myisam_side_effects.test' for reading, errno: 2 - saving '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_row_mix_innodb_myisam-row+innodb_plugin/' to '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_row_mix_innodb_myisam-row+innodb_plugin/' Retrying test, attempt(2/3)... drop table if exists t1, t2; create table t1 (a int) engine=innodb; create table t2 (a int) engine=myisam; reset master; begin; insert into t1 values(1); insert into t2 select * from t1; commit; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; reset master; begin; insert into t1 values(2); insert into t2 select * from t1; rollback; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK delete from t1; delete from t2; reset master; begin; insert into t1 values(3); savepoint my_savepoint; insert into t1 values(4); insert into t2 select * from t1; rollback to savepoint my_savepoint; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back commit; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # SAVEPOINT my_savepoint master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK TO my_savepoint master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; reset master; begin; insert into t1 values(5); savepoint my_savepoint; insert into t1 values(6); insert into t2 select * from t1; rollback to savepoint my_savepoint; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back insert into t1 values(7); commit; select a from t1 order by a; a 5 7 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # SAVEPOINT my_savepoint master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK TO my_savepoint master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; reset master; select get_lock("a",10); get_lock("a",10) 1 begin; insert into t1 values(8); insert into t2 select * from t1; select get_lock("a",10); get_lock("a",10) 1 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK delete from t1; delete from t2; reset master; insert into t1 values(9); insert into t2 select * from t1; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT delete from t1; delete from t2; reset master; insert into t1 values(10); begin; insert into t2 select * from t1; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT insert into t1 values(11); commit; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ alter table t2 engine=INNODB; delete from t1; delete from t2; reset master; begin; insert into t1 values(12); insert into t2 select * from t1; commit; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; reset master; begin; insert into t1 values(13); insert into t2 select * from t1; rollback; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info delete from t1; delete from t2; reset master; begin; insert into t1 values(14); savepoint my_savepoint; insert into t1 values(15); insert into t2 select * from t1; rollback to savepoint my_savepoint; commit; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; reset master; begin; insert into t1 values(16); savepoint my_savepoint; insert into t1 values(17); insert into t2 select * from t1; rollback to savepoint my_savepoint; insert into t1 values(18); commit; select a from t1 order by a; a 16 18 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; alter table t2 engine=MyISAM; insert into t1 values (1); begin; select * from t1 for update; a 1 select (@before:=unix_timestamp())*0; (@before:=unix_timestamp())*0 0 begin; select * from t1 for update; insert into t2 values (20); ERROR HY000: Lock wait timeout exceeded; try restarting transaction select (@after:=unix_timestamp())*0; (@after:=unix_timestamp())*0 0 select (@after-@before) >= 2; (@after-@before) >= 2 1 drop table t1,t2; commit; begin; create temporary table ti (a int) engine=innodb; rollback; insert into ti values(1); set autocommit=0; create temporary table t1 (a int) engine=myisam; commit; insert t1 values (1); rollback; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back create table t0 (n int); insert t0 select * from t1; set autocommit=1; insert into t0 select GET_LOCK("lock1",null); set autocommit=0; create table t2 (n int) engine=innodb; insert into t2 values (3); select get_lock("lock1",60); get_lock("lock1",60) 1 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Delete_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # use `test`; alter table t2 engine=MyISAM master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # use `test`; drop table t1,t2 master-bin.000001 # Query # # use `test`; create table t0 (n int) master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t0) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t0) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # use `test`; create table t2 (n int) engine=innodb do release_lock("lock1"); drop table t0,t2; set autocommit=0; CREATE TABLE t1 (a int, b int) engine=myisam; reset master; INSERT INTO t1 values (1,1),(1,2); CREATE TABLE t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' DROP TABLE if exists t2; Warnings: Note 1051 Unknown table 't2' INSERT INTO t1 values (3,3); CREATE TEMPORARY TABLE t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' ROLLBACK; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back DROP TABLE IF EXISTS t2; Warnings: Note 1051 Unknown table 't2' CREATE TABLE t2 (a int, b int, primary key (a)) engine=innodb; INSERT INTO t1 VALUES (4,4); CREATE TABLE IF NOT EXISTS t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' SELECT * from t2; a b TRUNCATE table t2; INSERT INTO t1 VALUES (5,5); INSERT INTO t2 select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' SELECT * FROM t2; a b DROP TABLE t2; INSERT INTO t1 values (6,6); CREATE TEMPORARY TABLE t2 (a int, b int, primary key (a)) engine=innodb ; INSERT INTO t1 values (7,7); ROLLBACK; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back INSERT INTO t1 values (8,8); CREATE TEMPORARY TABLE IF NOT EXISTS t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' COMMIT; INSERT INTO t1 values (9,9); CREATE TEMPORARY TABLE IF NOT EXISTS t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' ROLLBACK; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back SELECT * from t2; a b TRUNCATE table t2; INSERT INTO t1 values (10,10); INSERT INTO t2 select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' SELECT * from t1; a b 1 1 1 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 INSERT INTO t2 values (100,100); CREATE TEMPORARY TABLE IF NOT EXISTS t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' COMMIT; INSERT INTO t2 values (101,101); CREATE TEMPORARY TABLE IF NOT EXISTS t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' ROLLBACK; SELECT * from t2; a b 100 100 DROP TABLE t1,t2; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # use `test`; DROP TABLE if exists t2 master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # use `test`; DROP TABLE IF EXISTS t2 master-bin.000001 # Query # # use `test`; CREATE TABLE t2 (a int, b int, primary key (a)) engine=innodb master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; TRUNCATE table t2 master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # use `test`; DROP TABLE t2 master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # use `test`; DROP TABLE `t1` /* generated by server */ reset master; create table t1 (a int) engine=innodb; create table t2 (a int) engine=myisam; select get_lock("a",10); get_lock("a",10) 1 begin; insert into t1 values(8); insert into t2 select * from t1; select get_lock("a",10); get_lock("a",10) 1 flush logs; select (@a:=load_file("MYSQLTEST_VARDIR/tmp/mix_innodb_myisam_binlog.output")) is not null; (@a:=load_file("MYSQLTEST_VARDIR/tmp/mix_innodb_myisam_binlog.output")) is not null 1 select @a like "%#%error_code=0%ROLLBACK\n/*!*/;%ROLLBACK /* added by mysqlbinlog */;%" OR @a like "%#%error_code=0%ROLLBACK\r\n/*!*/;%ROLLBACK /* added by mysqlbinlog */;%", @a not like "%#%error_code=%error_code=%"; @a like "%#%error_code=0%ROLLBACK\n/*!*/;%ROLLBACK /* added by mysqlbinlog */;%" OR @a like "%#%error_code=0%ROLLBACK\r\n/*!*/;%ROLLBACK /* added by mysqlbinlog */;%" @a not like "%#%error_code=%error_code=%" 1 1 drop table t1, t2; create temporary table tt (a int unique); create table ti (a int) engine=innodb; reset master; begin; insert into ti values (1); insert into ti values (2) ; insert into tt select * from ti; rollback; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back select count(*) from tt /* 2 */; count(*) 2 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.ti) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Table_map # # table_id: # (test.ti) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK select count(*) from ti /* zero */; count(*) 0 insert into ti select * from tt; select * from ti /* that is what slave would miss - a bug */; a 1 2 delete from ti; delete from tt where a=1; reset master; begin; insert into ti values (1); insert into ti values (2) /* to make the dup error in the following */; insert into tt select * from ti /* one affected and error */; ERROR 23000: Duplicate entry '2' for key 'a' rollback; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info select count(*) from ti /* zero */; count(*) 0 insert into ti select * from tt; select * from tt /* that is what otherwise slave missed - the bug */; a 1 2 drop table ti, tt; drop function if exists bug27417; drop table if exists t1,t2; CREATE TABLE t1 (a int NOT NULL auto_increment primary key) ENGINE=MyISAM; CREATE TABLE t2 (a int NOT NULL auto_increment, PRIMARY KEY (a)); create function bug27417(n int) RETURNS int(11) begin insert into t1 values (null); return n; end| reset master; insert into t2 values (bug27417(1)); insert into t2 select bug27417(2); reset master; insert into t2 values (bug27417(2)); ERROR 23000: Duplicate entry '2' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK /* only (!) with fixes for #23333 will show there is the query */; select count(*) from t1 /* must be 3 */; count(*) 3 reset master; select count(*) from t2; count(*) 2 delete from t2 where a=bug27417(3); select count(*) from t2 /* nothing got deleted */; count(*) 2 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # COMMIT /* the query must be in regardless of #23333 */; select count(*) from t1 /* must be 5 */; count(*) 5 delete t2 from t2 where t2.a=bug27417(100) /* must not affect t2 */; affected rows: 0 select count(*) from t1 /* must be 7 */; count(*) 7 drop table t1,t2; CREATE TABLE t1 (a int NOT NULL auto_increment primary key) ENGINE=MyISAM; CREATE TABLE t2 (a int, PRIMARY KEY (a)) ENGINE=InnoDB; CREATE TABLE t3 (a int, PRIMARY KEY (a), b int unique) ENGINE=MyISAM; CREATE TABLE t4 (a int, PRIMARY KEY (a), b int unique) ENGINE=Innodb; CREATE TABLE t5 (a int, PRIMARY KEY (a)) ENGINE=InnoDB; insert into t2 values (1); reset master; insert into t2 values (bug27417(1)); ERROR 23000: Duplicate entry '1' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 1 */; count(*) 1 delete from t1; delete from t2; insert into t2 values (2); reset master; insert into t2 select bug27417(1) union select bug27417(2); ERROR 23000: Duplicate entry '2' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 2 */; count(*) 2 delete from t1; insert into t3 values (1,1),(2,3),(3,4); reset master; update t3 set b=b+bug27417(1); ERROR 23000: Duplicate entry '4' for key 'b' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t3) master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # master-bin.000001 # Update_rows # # table_id: # master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 2 */; count(*) 2 delete from t3; delete from t4; insert into t3 values (1,1); insert into t4 values (1,1),(2,2); reset master; UPDATE t4,t3 SET t4.a=t3.a + bug27417(1) /* top level non-ta table */; ERROR 23000: Duplicate entry '2' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t4) master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 4 */; count(*) 4 delete from t1; delete from t3; delete from t4; insert into t3 values (1,1),(2,2); insert into t4 values (1,1),(2,2); reset master; UPDATE t3,t4 SET t3.a=t4.a + bug27417(1); ERROR 23000: Duplicate entry '2' for key 'PRIMARY' select count(*) from t1 /* must be 1 */; count(*) 2 drop table t4; delete from t1; delete from t2; delete from t3; insert into t2 values (1); insert into t3 values (1,1); create trigger trg_del before delete on t2 for each row insert into t3 values (bug27417(1), 2); reset master; delete from t2; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Table_map # # table_id: # (test.t3) master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 1 */; count(*) 1 drop trigger trg_del; delete from t1; delete from t2; delete from t5; create trigger trg_del_t2 after delete on t2 for each row insert into t1 values (1); insert into t2 values (2),(3); insert into t5 values (1),(2); reset master; delete t2.* from t2,t5 where t2.a=t5.a + 1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t2) master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Delete_rows # # table_id: # master-bin.000001 # Write_rows # # table_id: # master-bin.000001 # Delete_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 1 */; count(*) 1 delete from t1; create table t4 (a int default 0, b int primary key) engine=innodb; insert into t4 values (0, 17); reset master; load data infile '../../std_data/rpl_loaddata.dat' into table t4 (a, @b) set b= @b + bug27417(2); ERROR 23000: Duplicate entry '17' for key 'PRIMARY' select * from t4; a b 0 17 select count(*) from t1 /* must be 2 */; count(*) 2 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Table_map # # table_id: # (test.t4) master-bin.000001 # Table_map # # table_id: # (test.t1) master-bin.000001 # Write_rows # # table_id: # master-bin.000001 # Write_rows # # table_id: # master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; drop trigger trg_del_t2; drop table t1,t2,t3,t4,t5; drop function bug27417; end of tests binlog.binlog_row_mix_innodb_myisam 'row+innodb_plugin' [ retry-fail ] Test ended at 2010-05-04 10:09:02 CURRENT_TEST: binlog.binlog_row_mix_innodb_myisam mysqltest: At line 15: Could not open './extra/binlog_tests/mix_innodb_myisam_side_effects.test' for reading, errno: 2 - saving '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_row_mix_innodb_myisam-row+innodb_plugin/' to '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_row_mix_innodb_myisam-row+innodb_plugin/' Test has failed 2 times, no more retries! CALL mtr.add_suppression("Statement may not be safe to log in statement format."); drop table if exists t1, t2; create table t1 (a int) engine=innodb; create table t2 (a int) engine=myisam; reset master; begin; insert into t1 values(1); insert into t2 select * from t1; commit; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(1) master-bin.000001 # Query # # use `test`; insert into t2 select * from t1 master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; reset master; begin; insert into t1 values(2); insert into t2 select * from t1; rollback; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(2) master-bin.000001 # Query # # use `test`; insert into t2 select * from t1 master-bin.000001 # Query # # ROLLBACK delete from t1; delete from t2; reset master; begin; insert into t1 values(3); savepoint my_savepoint; insert into t1 values(4); insert into t2 select * from t1; rollback to savepoint my_savepoint; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back commit; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(3) master-bin.000001 # Query # # SAVEPOINT my_savepoint master-bin.000001 # Query # # use `test`; insert into t1 values(4) master-bin.000001 # Query # # use `test`; insert into t2 select * from t1 master-bin.000001 # Query # # ROLLBACK TO my_savepoint master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; reset master; begin; insert into t1 values(5); savepoint my_savepoint; insert into t1 values(6); insert into t2 select * from t1; rollback to savepoint my_savepoint; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back insert into t1 values(7); commit; select a from t1 order by a; a 5 7 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(5) master-bin.000001 # Query # # SAVEPOINT my_savepoint master-bin.000001 # Query # # use `test`; insert into t1 values(6) master-bin.000001 # Query # # use `test`; insert into t2 select * from t1 master-bin.000001 # Query # # ROLLBACK TO my_savepoint master-bin.000001 # Query # # use `test`; insert into t1 values(7) master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; reset master; select get_lock("a",10); get_lock("a",10) 1 begin; insert into t1 values(8); insert into t2 select * from t1; select get_lock("a",10); get_lock("a",10) 1 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(8) master-bin.000001 # Query # # use `test`; insert into t2 select * from t1 master-bin.000001 # Query # # ROLLBACK delete from t1; delete from t2; reset master; insert into t1 values(9); insert into t2 select * from t1; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(9) master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # use `test`; insert into t2 select * from t1 delete from t1; delete from t2; reset master; insert into t1 values(10); begin; insert into t2 select * from t1; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(10) master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # use `test`; insert into t2 select * from t1 insert into t1 values(11); commit; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(10) master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # use `test`; insert into t2 select * from t1 master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(11) master-bin.000001 # Xid # # COMMIT /* XID */ alter table t2 engine=INNODB; delete from t1; delete from t2; reset master; begin; insert into t1 values(12); insert into t2 select * from t1; commit; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(12) master-bin.000001 # Query # # use `test`; insert into t2 select * from t1 master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; reset master; begin; insert into t1 values(13); insert into t2 select * from t1; rollback; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info delete from t1; delete from t2; reset master; begin; insert into t1 values(14); savepoint my_savepoint; insert into t1 values(15); insert into t2 select * from t1; rollback to savepoint my_savepoint; commit; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(14) master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; reset master; begin; insert into t1 values(16); savepoint my_savepoint; insert into t1 values(17); insert into t2 select * from t1; rollback to savepoint my_savepoint; insert into t1 values(18); commit; select a from t1 order by a; a 16 18 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(16) master-bin.000001 # Query # # use `test`; insert into t1 values(18) master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; alter table t2 engine=MyISAM; insert into t1 values (1); begin; select * from t1 for update; a 1 select (@before:=unix_timestamp())*0; (@before:=unix_timestamp())*0 0 begin; select * from t1 for update; insert into t2 values (20); ERROR HY000: Lock wait timeout exceeded; try restarting transaction select (@after:=unix_timestamp())*0; (@after:=unix_timestamp())*0 0 select (@after-@before) >= 2; (@after-@before) >= 2 1 drop table t1,t2; commit; begin; create temporary table ti (a int) engine=innodb; rollback; insert into ti values(1); set autocommit=0; create temporary table t1 (a int) engine=myisam; commit; insert t1 values (1); rollback; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back create table t0 (n int); insert t0 select * from t1; set autocommit=1; insert into t0 select GET_LOCK("lock1",null); Warnings: Note 1592 Statement may not be safe to log in statement format. set autocommit=0; create table t2 (n int) engine=innodb; insert into t2 values (3); select get_lock("lock1",60); get_lock("lock1",60) 1 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(16) master-bin.000001 # Query # # use `test`; insert into t1 values(18) master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; delete from t1 master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; delete from t2 master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # use `test`; alter table t2 engine=MyISAM master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values (1) master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # use `test`; insert into t2 values (20) master-bin.000001 # Query # # use `test`; drop table t1,t2 master-bin.000001 # Query # # use `test`; create temporary table ti (a int) engine=innodb master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into ti values(1) master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # use `test`; create temporary table t1 (a int) engine=myisam master-bin.000001 # Query # # use `test`; insert t1 values (1) master-bin.000001 # Query # # use `test`; create table t0 (n int) master-bin.000001 # Query # # use `test`; insert t0 select * from t1 master-bin.000001 # Query # # use `test`; insert into t0 select GET_LOCK("lock1",null) master-bin.000001 # Query # # use `test`; create table t2 (n int) engine=innodb master-bin.000001 # Query # # use `test`; DROP /*!40005 TEMPORARY */ TABLE IF EXISTS `t1`,`ti` do release_lock("lock1"); drop table t0,t2; set autocommit=0; CREATE TABLE t1 (a int, b int) engine=myisam; reset master; INSERT INTO t1 values (1,1),(1,2); CREATE TABLE t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' DROP TABLE if exists t2; Warnings: Note 1051 Unknown table 't2' INSERT INTO t1 values (3,3); CREATE TEMPORARY TABLE t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' ROLLBACK; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back DROP TABLE IF EXISTS t2; Warnings: Note 1051 Unknown table 't2' CREATE TABLE t2 (a int, b int, primary key (a)) engine=innodb; INSERT INTO t1 VALUES (4,4); CREATE TABLE IF NOT EXISTS t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' SELECT * from t2; a b TRUNCATE table t2; INSERT INTO t1 VALUES (5,5); INSERT INTO t2 select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' SELECT * FROM t2; a b DROP TABLE t2; INSERT INTO t1 values (6,6); CREATE TEMPORARY TABLE t2 (a int, b int, primary key (a)) engine=innodb ; INSERT INTO t1 values (7,7); ROLLBACK; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back INSERT INTO t1 values (8,8); CREATE TEMPORARY TABLE IF NOT EXISTS t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' COMMIT; INSERT INTO t1 values (9,9); CREATE TEMPORARY TABLE IF NOT EXISTS t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' ROLLBACK; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back SELECT * from t2; a b TRUNCATE table t2; INSERT INTO t1 values (10,10); INSERT INTO t2 select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' SELECT * from t1; a b 1 1 1 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 INSERT INTO t2 values (100,100); CREATE TEMPORARY TABLE IF NOT EXISTS t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' COMMIT; INSERT INTO t2 values (101,101); CREATE TEMPORARY TABLE IF NOT EXISTS t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' ROLLBACK; SELECT * from t2; a b 100 100 DROP TABLE t1,t2; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # use `test`; INSERT INTO t1 values (1,1),(1,2) master-bin.000001 # Query # # use `test`; DROP TABLE if exists t2 master-bin.000001 # Query # # use `test`; INSERT INTO t1 values (3,3) master-bin.000001 # Query # # use `test`; DROP TABLE IF EXISTS t2 master-bin.000001 # Query # # use `test`; CREATE TABLE t2 (a int, b int, primary key (a)) engine=innodb master-bin.000001 # Query # # use `test`; INSERT INTO t1 VALUES (4,4) master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; TRUNCATE table t2 master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # use `test`; INSERT INTO t1 VALUES (5,5) master-bin.000001 # Query # # use `test`; DROP TABLE t2 master-bin.000001 # Query # # use `test`; INSERT INTO t1 values (6,6) master-bin.000001 # Query # # use `test`; CREATE TEMPORARY TABLE t2 (a int, b int, primary key (a)) engine=innodb master-bin.000001 # Query # # use `test`; INSERT INTO t1 values (7,7) master-bin.000001 # Query # # use `test`; INSERT INTO t1 values (8,8) master-bin.000001 # Query # # use `test`; INSERT INTO t1 values (9,9) master-bin.000001 # Query # # use `test`; TRUNCATE table t2 master-bin.000001 # Query # # use `test`; INSERT INTO t1 values (10,10) master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; INSERT INTO t2 values (100,100) master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # use `test`; DROP TABLE t1,t2 reset master; create table t1 (a int) engine=innodb; create table t2 (a int) engine=myisam; select get_lock("a",10); get_lock("a",10) 1 begin; insert into t1 values(8); insert into t2 select * from t1; select get_lock("a",10); get_lock("a",10) 1 flush logs; select (@a:=load_file("MYSQLTEST_VARDIR/tmp/mix_innodb_myisam_binlog.output")) is not null; (@a:=load_file("MYSQLTEST_VARDIR/tmp/mix_innodb_myisam_binlog.output")) is not null 1 select @a like "%#%error_code=0%ROLLBACK\n/*!*/;%ROLLBACK /* added by mysqlbinlog */;%" OR @a like "%#%error_code=0%ROLLBACK\r\n/*!*/;%ROLLBACK /* added by mysqlbinlog */;%", @a not like "%#%error_code=%error_code=%"; @a like "%#%error_code=0%ROLLBACK\n/*!*/;%ROLLBACK /* added by mysqlbinlog */;%" OR @a like "%#%error_code=0%ROLLBACK\r\n/*!*/;%ROLLBACK /* added by mysqlbinlog */;%" @a not like "%#%error_code=%error_code=%" 1 1 drop table t1, t2; create temporary table tt (a int unique); create table ti (a int) engine=innodb; reset master; begin; insert into ti values (1); insert into ti values (2) ; insert into tt select * from ti; rollback; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back select count(*) from tt /* 2 */; count(*) 2 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into ti values (1) master-bin.000001 # Query # # use `test`; insert into ti values (2) master-bin.000001 # Query # # use `test`; insert into tt select * from ti master-bin.000001 # Query # # ROLLBACK select count(*) from ti /* zero */; count(*) 0 insert into ti select * from tt; select * from ti /* that is what slave would miss - a bug */; a 1 2 delete from ti; delete from tt where a=1; reset master; begin; insert into ti values (1); insert into ti values (2) /* to make the dup error in the following */; insert into tt select * from ti /* one affected and error */; ERROR 23000: Duplicate entry '2' for key 'a' rollback; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into ti values (1) master-bin.000001 # Query # # use `test`; insert into ti values (2) /* to make the dup error in the following */ master-bin.000001 # Query # # use `test`; insert into tt select * from ti /* one affected and error */ master-bin.000001 # Query # # ROLLBACK select count(*) from ti /* zero */; count(*) 0 insert into ti select * from tt; select * from tt /* that is what otherwise slave missed - the bug */; a 1 2 drop table ti, tt; drop function if exists bug27417; drop table if exists t1,t2; CREATE TABLE t1 (a int NOT NULL auto_increment primary key) ENGINE=MyISAM; CREATE TABLE t2 (a int NOT NULL auto_increment, PRIMARY KEY (a)); create function bug27417(n int) RETURNS int(11) begin insert into t1 values (null); return n; end| reset master; insert into t2 values (bug27417(1)); insert into t2 select bug27417(2); reset master; insert into t2 values (bug27417(2)); ERROR 23000: Duplicate entry '2' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Intvar # # INSERT_ID=3 master-bin.000001 # Query # # use `test`; insert into t2 values (bug27417(2)) /* only (!) with fixes for #23333 will show there is the query */; select count(*) from t1 /* must be 3 */; count(*) 3 reset master; select count(*) from t2; count(*) 2 delete from t2 where a=bug27417(3); select count(*) from t2 /* nothing got deleted */; count(*) 2 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Intvar # # INSERT_ID=4 master-bin.000001 # Query # # use `test`; delete from t2 where a=bug27417(3) /* the query must be in regardless of #23333 */; select count(*) from t1 /* must be 5 */; count(*) 5 delete t2 from t2 where t2.a=bug27417(100) /* must not affect t2 */; affected rows: 0 select count(*) from t1 /* must be 7 */; count(*) 7 drop table t1,t2; CREATE TABLE t1 (a int NOT NULL auto_increment primary key) ENGINE=MyISAM; CREATE TABLE t2 (a int, PRIMARY KEY (a)) ENGINE=InnoDB; CREATE TABLE t3 (a int, PRIMARY KEY (a), b int unique) ENGINE=MyISAM; CREATE TABLE t4 (a int, PRIMARY KEY (a), b int unique) ENGINE=Innodb; CREATE TABLE t5 (a int, PRIMARY KEY (a)) ENGINE=InnoDB; insert into t2 values (1); reset master; insert into t2 values (bug27417(1)); ERROR 23000: Duplicate entry '1' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Intvar # # INSERT_ID=1 master-bin.000001 # Query # # use `test`; insert into t2 values (bug27417(1)) master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 1 */; count(*) 1 delete from t1; delete from t2; insert into t2 values (2); reset master; insert into t2 select bug27417(1) union select bug27417(2); ERROR 23000: Duplicate entry '2' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Intvar # # INSERT_ID=2 master-bin.000001 # Query # # use `test`; insert into t2 select bug27417(1) union select bug27417(2) master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 2 */; count(*) 2 delete from t1; insert into t3 values (1,1),(2,3),(3,4); reset master; update t3 set b=b+bug27417(1); ERROR 23000: Duplicate entry '4' for key 'b' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Intvar # # INSERT_ID=4 master-bin.000001 # Query # # use `test`; update t3 set b=b+bug27417(1) /* the output must denote there is the query */; select count(*) from t1 /* must be 2 */; count(*) 2 delete from t3; delete from t4; insert into t3 values (1,1); insert into t4 values (1,1),(2,2); reset master; UPDATE t4,t3 SET t4.a=t3.a + bug27417(1) /* top level non-ta table */; ERROR 23000: Duplicate entry '2' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Intvar # # INSERT_ID=6 master-bin.000001 # Query # # use `test`; UPDATE t4,t3 SET t4.a=t3.a + bug27417(1) /* top level non-ta table */ master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 4 */; count(*) 4 delete from t1; delete from t3; delete from t4; insert into t3 values (1,1),(2,2); insert into t4 values (1,1),(2,2); reset master; UPDATE t3,t4 SET t3.a=t4.a + bug27417(1); ERROR 23000: Duplicate entry '2' for key 'PRIMARY' select count(*) from t1 /* must be 1 */; count(*) 1 drop table t4; delete from t1; delete from t2; delete from t3; insert into t2 values (1); insert into t3 values (1,1); create trigger trg_del before delete on t2 for each row insert into t3 values (bug27417(1), 2); reset master; delete from t2; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Intvar # # INSERT_ID=9 master-bin.000001 # Query # # use `test`; delete from t2 master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 1 */; count(*) 1 drop trigger trg_del; delete from t1; delete from t2; delete from t5; create trigger trg_del_t2 after delete on t2 for each row insert into t1 values (1); insert into t2 values (2),(3); insert into t5 values (1),(2); reset master; delete t2.* from t2,t5 where t2.a=t5.a + 1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; delete t2.* from t2,t5 where t2.a=t5.a + 1 master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 1 */; count(*) 1 delete from t1; create table t4 (a int default 0, b int primary key) engine=innodb; insert into t4 values (0, 17); reset master; load data infile '../../std_data/rpl_loaddata.dat' into table t4 (a, @b) set b= @b + bug27417(2); ERROR 23000: Duplicate entry '17' for key 'PRIMARY' select * from t4; a b 0 17 select count(*) from t1 /* must be 2 */; count(*) 2 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Intvar # # INSERT_ID=10 master-bin.000001 # Begin_load_query # # ;file_id=#;block_len=# master-bin.000001 # Intvar # # INSERT_ID=10 master-bin.000001 # Execute_load_query # # use `test`; LOAD DATA INFILE '../../std_data/rpl_loaddata.dat' INTO TABLE `t4` FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`a`, @b) SET `b`=((@b) + `bug27417`(2)) ;file_id=# master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; drop trigger trg_del_t2; drop table t1,t2,t3,t4,t5; drop function bug27417; end of tests set @@session.binlog_format=statement; binlog.binlog_stm_mix_innodb_myisam 'stmt' [ fail ] Test ended at 2010-05-04 10:10:09 CURRENT_TEST: binlog.binlog_stm_mix_innodb_myisam mysqltest: At line 11: Could not open './extra/binlog_tests/mix_innodb_myisam_side_effects.test' for reading, errno: 2 - saving '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_stm_mix_innodb_myisam-stmt/' to '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_stm_mix_innodb_myisam-stmt/' Retrying test, attempt(2/3)... CALL mtr.add_suppression("Statement may not be safe to log in statement format."); drop table if exists t1, t2; create table t1 (a int) engine=innodb; create table t2 (a int) engine=myisam; reset master; begin; insert into t1 values(1); insert into t2 select * from t1; commit; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(1) master-bin.000001 # Query # # use `test`; insert into t2 select * from t1 master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; reset master; begin; insert into t1 values(2); insert into t2 select * from t1; rollback; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(2) master-bin.000001 # Query # # use `test`; insert into t2 select * from t1 master-bin.000001 # Query # # ROLLBACK delete from t1; delete from t2; reset master; begin; insert into t1 values(3); savepoint my_savepoint; insert into t1 values(4); insert into t2 select * from t1; rollback to savepoint my_savepoint; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back commit; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(3) master-bin.000001 # Query # # SAVEPOINT my_savepoint master-bin.000001 # Query # # use `test`; insert into t1 values(4) master-bin.000001 # Query # # use `test`; insert into t2 select * from t1 master-bin.000001 # Query # # ROLLBACK TO my_savepoint master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; reset master; begin; insert into t1 values(5); savepoint my_savepoint; insert into t1 values(6); insert into t2 select * from t1; rollback to savepoint my_savepoint; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back insert into t1 values(7); commit; select a from t1 order by a; a 5 7 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(5) master-bin.000001 # Query # # SAVEPOINT my_savepoint master-bin.000001 # Query # # use `test`; insert into t1 values(6) master-bin.000001 # Query # # use `test`; insert into t2 select * from t1 master-bin.000001 # Query # # ROLLBACK TO my_savepoint master-bin.000001 # Query # # use `test`; insert into t1 values(7) master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; reset master; select get_lock("a",10); get_lock("a",10) 1 begin; insert into t1 values(8); insert into t2 select * from t1; select get_lock("a",10); get_lock("a",10) 1 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(8) master-bin.000001 # Query # # use `test`; insert into t2 select * from t1 master-bin.000001 # Query # # ROLLBACK delete from t1; delete from t2; reset master; insert into t1 values(9); insert into t2 select * from t1; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(9) master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # use `test`; insert into t2 select * from t1 delete from t1; delete from t2; reset master; insert into t1 values(10); begin; insert into t2 select * from t1; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(10) master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # use `test`; insert into t2 select * from t1 insert into t1 values(11); commit; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(10) master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # use `test`; insert into t2 select * from t1 master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(11) master-bin.000001 # Xid # # COMMIT /* XID */ alter table t2 engine=INNODB; delete from t1; delete from t2; reset master; begin; insert into t1 values(12); insert into t2 select * from t1; commit; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(12) master-bin.000001 # Query # # use `test`; insert into t2 select * from t1 master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; reset master; begin; insert into t1 values(13); insert into t2 select * from t1; rollback; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info delete from t1; delete from t2; reset master; begin; insert into t1 values(14); savepoint my_savepoint; insert into t1 values(15); insert into t2 select * from t1; rollback to savepoint my_savepoint; commit; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(14) master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; reset master; begin; insert into t1 values(16); savepoint my_savepoint; insert into t1 values(17); insert into t2 select * from t1; rollback to savepoint my_savepoint; insert into t1 values(18); commit; select a from t1 order by a; a 16 18 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(16) master-bin.000001 # Query # # use `test`; insert into t1 values(18) master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; alter table t2 engine=MyISAM; insert into t1 values (1); begin; select * from t1 for update; a 1 select (@before:=unix_timestamp())*0; (@before:=unix_timestamp())*0 0 begin; select * from t1 for update; insert into t2 values (20); ERROR HY000: Lock wait timeout exceeded; try restarting transaction select (@after:=unix_timestamp())*0; (@after:=unix_timestamp())*0 0 select (@after-@before) >= 2; (@after-@before) >= 2 1 drop table t1,t2; commit; begin; create temporary table ti (a int) engine=innodb; rollback; insert into ti values(1); set autocommit=0; create temporary table t1 (a int) engine=myisam; commit; insert t1 values (1); rollback; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back create table t0 (n int); insert t0 select * from t1; set autocommit=1; insert into t0 select GET_LOCK("lock1",null); Warnings: Note 1592 Statement may not be safe to log in statement format. set autocommit=0; create table t2 (n int) engine=innodb; insert into t2 values (3); select get_lock("lock1",60); get_lock("lock1",60) 1 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(16) master-bin.000001 # Query # # use `test`; insert into t1 values(18) master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; delete from t1 master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; delete from t2 master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # use `test`; alter table t2 engine=MyISAM master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values (1) master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # use `test`; insert into t2 values (20) master-bin.000001 # Query # # use `test`; drop table t1,t2 master-bin.000001 # Query # # use `test`; create temporary table ti (a int) engine=innodb master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into ti values(1) master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # use `test`; create temporary table t1 (a int) engine=myisam master-bin.000001 # Query # # use `test`; insert t1 values (1) master-bin.000001 # Query # # use `test`; create table t0 (n int) master-bin.000001 # Query # # use `test`; insert t0 select * from t1 master-bin.000001 # Query # # use `test`; insert into t0 select GET_LOCK("lock1",null) master-bin.000001 # Query # # use `test`; create table t2 (n int) engine=innodb master-bin.000001 # Query # # use `test`; DROP /*!40005 TEMPORARY */ TABLE IF EXISTS `t1`,`ti` do release_lock("lock1"); drop table t0,t2; set autocommit=0; CREATE TABLE t1 (a int, b int) engine=myisam; reset master; INSERT INTO t1 values (1,1),(1,2); CREATE TABLE t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' DROP TABLE if exists t2; Warnings: Note 1051 Unknown table 't2' INSERT INTO t1 values (3,3); CREATE TEMPORARY TABLE t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' ROLLBACK; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back DROP TABLE IF EXISTS t2; Warnings: Note 1051 Unknown table 't2' CREATE TABLE t2 (a int, b int, primary key (a)) engine=innodb; INSERT INTO t1 VALUES (4,4); CREATE TABLE IF NOT EXISTS t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' SELECT * from t2; a b TRUNCATE table t2; INSERT INTO t1 VALUES (5,5); INSERT INTO t2 select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' SELECT * FROM t2; a b DROP TABLE t2; INSERT INTO t1 values (6,6); CREATE TEMPORARY TABLE t2 (a int, b int, primary key (a)) engine=innodb ; INSERT INTO t1 values (7,7); ROLLBACK; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back INSERT INTO t1 values (8,8); CREATE TEMPORARY TABLE IF NOT EXISTS t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' COMMIT; INSERT INTO t1 values (9,9); CREATE TEMPORARY TABLE IF NOT EXISTS t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' ROLLBACK; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back SELECT * from t2; a b TRUNCATE table t2; INSERT INTO t1 values (10,10); INSERT INTO t2 select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' SELECT * from t1; a b 1 1 1 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 INSERT INTO t2 values (100,100); CREATE TEMPORARY TABLE IF NOT EXISTS t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' COMMIT; INSERT INTO t2 values (101,101); CREATE TEMPORARY TABLE IF NOT EXISTS t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' ROLLBACK; SELECT * from t2; a b 100 100 DROP TABLE t1,t2; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # use `test`; INSERT INTO t1 values (1,1),(1,2) master-bin.000001 # Query # # use `test`; DROP TABLE if exists t2 master-bin.000001 # Query # # use `test`; INSERT INTO t1 values (3,3) master-bin.000001 # Query # # use `test`; DROP TABLE IF EXISTS t2 master-bin.000001 # Query # # use `test`; CREATE TABLE t2 (a int, b int, primary key (a)) engine=innodb master-bin.000001 # Query # # use `test`; INSERT INTO t1 VALUES (4,4) master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; TRUNCATE table t2 master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # use `test`; INSERT INTO t1 VALUES (5,5) master-bin.000001 # Query # # use `test`; DROP TABLE t2 master-bin.000001 # Query # # use `test`; INSERT INTO t1 values (6,6) master-bin.000001 # Query # # use `test`; CREATE TEMPORARY TABLE t2 (a int, b int, primary key (a)) engine=innodb master-bin.000001 # Query # # use `test`; INSERT INTO t1 values (7,7) master-bin.000001 # Query # # use `test`; INSERT INTO t1 values (8,8) master-bin.000001 # Query # # use `test`; INSERT INTO t1 values (9,9) master-bin.000001 # Query # # use `test`; TRUNCATE table t2 master-bin.000001 # Query # # use `test`; INSERT INTO t1 values (10,10) master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; INSERT INTO t2 values (100,100) master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # use `test`; DROP TABLE t1,t2 reset master; create table t1 (a int) engine=innodb; create table t2 (a int) engine=myisam; select get_lock("a",10); get_lock("a",10) 1 begin; insert into t1 values(8); insert into t2 select * from t1; select get_lock("a",10); get_lock("a",10) 1 flush logs; select (@a:=load_file("MYSQLTEST_VARDIR/tmp/mix_innodb_myisam_binlog.output")) is not null; (@a:=load_file("MYSQLTEST_VARDIR/tmp/mix_innodb_myisam_binlog.output")) is not null 1 select @a like "%#%error_code=0%ROLLBACK\n/*!*/;%ROLLBACK /* added by mysqlbinlog */;%" OR @a like "%#%error_code=0%ROLLBACK\r\n/*!*/;%ROLLBACK /* added by mysqlbinlog */;%", @a not like "%#%error_code=%error_code=%"; @a like "%#%error_code=0%ROLLBACK\n/*!*/;%ROLLBACK /* added by mysqlbinlog */;%" OR @a like "%#%error_code=0%ROLLBACK\r\n/*!*/;%ROLLBACK /* added by mysqlbinlog */;%" @a not like "%#%error_code=%error_code=%" 1 1 drop table t1, t2; create temporary table tt (a int unique); create table ti (a int) engine=innodb; reset master; begin; insert into ti values (1); insert into ti values (2) ; insert into tt select * from ti; rollback; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back select count(*) from tt /* 2 */; count(*) 2 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into ti values (1) master-bin.000001 # Query # # use `test`; insert into ti values (2) master-bin.000001 # Query # # use `test`; insert into tt select * from ti master-bin.000001 # Query # # ROLLBACK select count(*) from ti /* zero */; count(*) 0 insert into ti select * from tt; select * from ti /* that is what slave would miss - a bug */; a 1 2 delete from ti; delete from tt where a=1; reset master; begin; insert into ti values (1); insert into ti values (2) /* to make the dup error in the following */; insert into tt select * from ti /* one affected and error */; ERROR 23000: Duplicate entry '2' for key 'a' rollback; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into ti values (1) master-bin.000001 # Query # # use `test`; insert into ti values (2) /* to make the dup error in the following */ master-bin.000001 # Query # # use `test`; insert into tt select * from ti /* one affected and error */ master-bin.000001 # Query # # ROLLBACK select count(*) from ti /* zero */; count(*) 0 insert into ti select * from tt; select * from tt /* that is what otherwise slave missed - the bug */; a 1 2 drop table ti, tt; drop function if exists bug27417; drop table if exists t1,t2; CREATE TABLE t1 (a int NOT NULL auto_increment primary key) ENGINE=MyISAM; CREATE TABLE t2 (a int NOT NULL auto_increment, PRIMARY KEY (a)); create function bug27417(n int) RETURNS int(11) begin insert into t1 values (null); return n; end| reset master; insert into t2 values (bug27417(1)); insert into t2 select bug27417(2); reset master; insert into t2 values (bug27417(2)); ERROR 23000: Duplicate entry '2' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Intvar # # INSERT_ID=3 master-bin.000001 # Query # # use `test`; insert into t2 values (bug27417(2)) /* only (!) with fixes for #23333 will show there is the query */; select count(*) from t1 /* must be 3 */; count(*) 3 reset master; select count(*) from t2; count(*) 2 delete from t2 where a=bug27417(3); select count(*) from t2 /* nothing got deleted */; count(*) 2 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Intvar # # INSERT_ID=4 master-bin.000001 # Query # # use `test`; delete from t2 where a=bug27417(3) /* the query must be in regardless of #23333 */; select count(*) from t1 /* must be 5 */; count(*) 5 delete t2 from t2 where t2.a=bug27417(100) /* must not affect t2 */; affected rows: 0 select count(*) from t1 /* must be 7 */; count(*) 7 drop table t1,t2; CREATE TABLE t1 (a int NOT NULL auto_increment primary key) ENGINE=MyISAM; CREATE TABLE t2 (a int, PRIMARY KEY (a)) ENGINE=InnoDB; CREATE TABLE t3 (a int, PRIMARY KEY (a), b int unique) ENGINE=MyISAM; CREATE TABLE t4 (a int, PRIMARY KEY (a), b int unique) ENGINE=Innodb; CREATE TABLE t5 (a int, PRIMARY KEY (a)) ENGINE=InnoDB; insert into t2 values (1); reset master; insert into t2 values (bug27417(1)); ERROR 23000: Duplicate entry '1' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Intvar # # INSERT_ID=1 master-bin.000001 # Query # # use `test`; insert into t2 values (bug27417(1)) master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 1 */; count(*) 1 delete from t1; delete from t2; insert into t2 values (2); reset master; insert into t2 select bug27417(1) union select bug27417(2); ERROR 23000: Duplicate entry '2' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Intvar # # INSERT_ID=2 master-bin.000001 # Query # # use `test`; insert into t2 select bug27417(1) union select bug27417(2) master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 2 */; count(*) 2 delete from t1; insert into t3 values (1,1),(2,3),(3,4); reset master; update t3 set b=b+bug27417(1); ERROR 23000: Duplicate entry '4' for key 'b' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Intvar # # INSERT_ID=4 master-bin.000001 # Query # # use `test`; update t3 set b=b+bug27417(1) /* the output must denote there is the query */; select count(*) from t1 /* must be 2 */; count(*) 2 delete from t3; delete from t4; insert into t3 values (1,1); insert into t4 values (1,1),(2,2); reset master; UPDATE t4,t3 SET t4.a=t3.a + bug27417(1) /* top level non-ta table */; ERROR 23000: Duplicate entry '2' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Intvar # # INSERT_ID=6 master-bin.000001 # Query # # use `test`; UPDATE t4,t3 SET t4.a=t3.a + bug27417(1) /* top level non-ta table */ master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 4 */; count(*) 4 delete from t1; delete from t3; delete from t4; insert into t3 values (1,1),(2,2); insert into t4 values (1,1),(2,2); reset master; UPDATE t3,t4 SET t3.a=t4.a + bug27417(1); ERROR 23000: Duplicate entry '2' for key 'PRIMARY' select count(*) from t1 /* must be 1 */; count(*) 1 drop table t4; delete from t1; delete from t2; delete from t3; insert into t2 values (1); insert into t3 values (1,1); create trigger trg_del before delete on t2 for each row insert into t3 values (bug27417(1), 2); reset master; delete from t2; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Intvar # # INSERT_ID=9 master-bin.000001 # Query # # use `test`; delete from t2 master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 1 */; count(*) 1 drop trigger trg_del; delete from t1; delete from t2; delete from t5; create trigger trg_del_t2 after delete on t2 for each row insert into t1 values (1); insert into t2 values (2),(3); insert into t5 values (1),(2); reset master; delete t2.* from t2,t5 where t2.a=t5.a + 1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; delete t2.* from t2,t5 where t2.a=t5.a + 1 master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 1 */; count(*) 1 delete from t1; create table t4 (a int default 0, b int primary key) engine=innodb; insert into t4 values (0, 17); reset master; load data infile '../../std_data/rpl_loaddata.dat' into table t4 (a, @b) set b= @b + bug27417(2); ERROR 23000: Duplicate entry '17' for key 'PRIMARY' select * from t4; a b 0 17 select count(*) from t1 /* must be 2 */; count(*) 2 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Intvar # # INSERT_ID=10 master-bin.000001 # Begin_load_query # # ;file_id=#;block_len=# master-bin.000001 # Intvar # # INSERT_ID=10 master-bin.000001 # Execute_load_query # # use `test`; LOAD DATA INFILE '../../std_data/rpl_loaddata.dat' INTO TABLE `t4` FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`a`, @b) SET `b`=((@b) + `bug27417`(2)) ;file_id=# master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; drop trigger trg_del_t2; drop table t1,t2,t3,t4,t5; drop function bug27417; end of tests set @@session.binlog_format=statement; binlog.binlog_stm_mix_innodb_myisam 'stmt' [ retry-fail ] Test ended at 2010-05-04 10:11:17 CURRENT_TEST: binlog.binlog_stm_mix_innodb_myisam mysqltest: At line 11: Could not open './extra/binlog_tests/mix_innodb_myisam_side_effects.test' for reading, errno: 2 - saving '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_stm_mix_innodb_myisam-stmt/' to '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_stm_mix_innodb_myisam-stmt/' Test has failed 2 times, no more retries! CALL mtr.add_suppression("Statement may not be safe to log in statement format."); drop table if exists t1, t2; create table t1 (a int) engine=innodb; create table t2 (a int) engine=myisam; reset master; begin; insert into t1 values(1); insert into t2 select * from t1; commit; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(1) master-bin.000001 # Query # # use `test`; insert into t2 select * from t1 master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; reset master; begin; insert into t1 values(2); insert into t2 select * from t1; rollback; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(2) master-bin.000001 # Query # # use `test`; insert into t2 select * from t1 master-bin.000001 # Query # # ROLLBACK delete from t1; delete from t2; reset master; begin; insert into t1 values(3); savepoint my_savepoint; insert into t1 values(4); insert into t2 select * from t1; rollback to savepoint my_savepoint; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back commit; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(3) master-bin.000001 # Query # # SAVEPOINT my_savepoint master-bin.000001 # Query # # use `test`; insert into t1 values(4) master-bin.000001 # Query # # use `test`; insert into t2 select * from t1 master-bin.000001 # Query # # ROLLBACK TO my_savepoint master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; reset master; begin; insert into t1 values(5); savepoint my_savepoint; insert into t1 values(6); insert into t2 select * from t1; rollback to savepoint my_savepoint; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back insert into t1 values(7); commit; select a from t1 order by a; a 5 7 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(5) master-bin.000001 # Query # # SAVEPOINT my_savepoint master-bin.000001 # Query # # use `test`; insert into t1 values(6) master-bin.000001 # Query # # use `test`; insert into t2 select * from t1 master-bin.000001 # Query # # ROLLBACK TO my_savepoint master-bin.000001 # Query # # use `test`; insert into t1 values(7) master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; reset master; select get_lock("a",10); get_lock("a",10) 1 begin; insert into t1 values(8); insert into t2 select * from t1; select get_lock("a",10); get_lock("a",10) 1 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(8) master-bin.000001 # Query # # use `test`; insert into t2 select * from t1 master-bin.000001 # Query # # ROLLBACK delete from t1; delete from t2; reset master; insert into t1 values(9); insert into t2 select * from t1; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(9) master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # use `test`; insert into t2 select * from t1 delete from t1; delete from t2; reset master; insert into t1 values(10); begin; insert into t2 select * from t1; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(10) master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # use `test`; insert into t2 select * from t1 insert into t1 values(11); commit; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(10) master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # use `test`; insert into t2 select * from t1 master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(11) master-bin.000001 # Xid # # COMMIT /* XID */ alter table t2 engine=INNODB; delete from t1; delete from t2; reset master; begin; insert into t1 values(12); insert into t2 select * from t1; commit; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(12) master-bin.000001 # Query # # use `test`; insert into t2 select * from t1 master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; reset master; begin; insert into t1 values(13); insert into t2 select * from t1; rollback; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info delete from t1; delete from t2; reset master; begin; insert into t1 values(14); savepoint my_savepoint; insert into t1 values(15); insert into t2 select * from t1; rollback to savepoint my_savepoint; commit; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(14) master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; reset master; begin; insert into t1 values(16); savepoint my_savepoint; insert into t1 values(17); insert into t2 select * from t1; rollback to savepoint my_savepoint; insert into t1 values(18); commit; select a from t1 order by a; a 16 18 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(16) master-bin.000001 # Query # # use `test`; insert into t1 values(18) master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; alter table t2 engine=MyISAM; insert into t1 values (1); begin; select * from t1 for update; a 1 select (@before:=unix_timestamp())*0; (@before:=unix_timestamp())*0 0 begin; select * from t1 for update; insert into t2 values (20); ERROR HY000: Lock wait timeout exceeded; try restarting transaction select (@after:=unix_timestamp())*0; (@after:=unix_timestamp())*0 0 select (@after-@before) >= 2; (@after-@before) >= 2 1 drop table t1,t2; commit; begin; create temporary table ti (a int) engine=innodb; rollback; insert into ti values(1); set autocommit=0; create temporary table t1 (a int) engine=myisam; commit; insert t1 values (1); rollback; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back create table t0 (n int); insert t0 select * from t1; set autocommit=1; insert into t0 select GET_LOCK("lock1",null); Warnings: Note 1592 Statement may not be safe to log in statement format. set autocommit=0; create table t2 (n int) engine=innodb; insert into t2 values (3); select get_lock("lock1",60); get_lock("lock1",60) 1 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(16) master-bin.000001 # Query # # use `test`; insert into t1 values(18) master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; delete from t1 master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; delete from t2 master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # use `test`; alter table t2 engine=MyISAM master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values (1) master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # use `test`; insert into t2 values (20) master-bin.000001 # Query # # use `test`; drop table t1,t2 master-bin.000001 # Query # # use `test`; create temporary table ti (a int) engine=innodb master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into ti values(1) master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # use `test`; create temporary table t1 (a int) engine=myisam master-bin.000001 # Query # # use `test`; insert t1 values (1) master-bin.000001 # Query # # use `test`; create table t0 (n int) master-bin.000001 # Query # # use `test`; insert t0 select * from t1 master-bin.000001 # Query # # use `test`; insert into t0 select GET_LOCK("lock1",null) master-bin.000001 # Query # # use `test`; create table t2 (n int) engine=innodb master-bin.000001 # Query # # use `test`; DROP /*!40005 TEMPORARY */ TABLE IF EXISTS `t1`,`ti` do release_lock("lock1"); drop table t0,t2; set autocommit=0; CREATE TABLE t1 (a int, b int) engine=myisam; reset master; INSERT INTO t1 values (1,1),(1,2); CREATE TABLE t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' DROP TABLE if exists t2; Warnings: Note 1051 Unknown table 't2' INSERT INTO t1 values (3,3); CREATE TEMPORARY TABLE t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' ROLLBACK; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back DROP TABLE IF EXISTS t2; Warnings: Note 1051 Unknown table 't2' CREATE TABLE t2 (a int, b int, primary key (a)) engine=innodb; INSERT INTO t1 VALUES (4,4); CREATE TABLE IF NOT EXISTS t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' SELECT * from t2; a b TRUNCATE table t2; INSERT INTO t1 VALUES (5,5); INSERT INTO t2 select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' SELECT * FROM t2; a b DROP TABLE t2; INSERT INTO t1 values (6,6); CREATE TEMPORARY TABLE t2 (a int, b int, primary key (a)) engine=innodb ; INSERT INTO t1 values (7,7); ROLLBACK; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back INSERT INTO t1 values (8,8); CREATE TEMPORARY TABLE IF NOT EXISTS t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' COMMIT; INSERT INTO t1 values (9,9); CREATE TEMPORARY TABLE IF NOT EXISTS t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' ROLLBACK; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back SELECT * from t2; a b TRUNCATE table t2; INSERT INTO t1 values (10,10); INSERT INTO t2 select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' SELECT * from t1; a b 1 1 1 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 INSERT INTO t2 values (100,100); CREATE TEMPORARY TABLE IF NOT EXISTS t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' COMMIT; INSERT INTO t2 values (101,101); CREATE TEMPORARY TABLE IF NOT EXISTS t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' ROLLBACK; SELECT * from t2; a b 100 100 DROP TABLE t1,t2; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # use `test`; INSERT INTO t1 values (1,1),(1,2) master-bin.000001 # Query # # use `test`; DROP TABLE if exists t2 master-bin.000001 # Query # # use `test`; INSERT INTO t1 values (3,3) master-bin.000001 # Query # # use `test`; DROP TABLE IF EXISTS t2 master-bin.000001 # Query # # use `test`; CREATE TABLE t2 (a int, b int, primary key (a)) engine=innodb master-bin.000001 # Query # # use `test`; INSERT INTO t1 VALUES (4,4) master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; TRUNCATE table t2 master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # use `test`; INSERT INTO t1 VALUES (5,5) master-bin.000001 # Query # # use `test`; DROP TABLE t2 master-bin.000001 # Query # # use `test`; INSERT INTO t1 values (6,6) master-bin.000001 # Query # # use `test`; CREATE TEMPORARY TABLE t2 (a int, b int, primary key (a)) engine=innodb master-bin.000001 # Query # # use `test`; INSERT INTO t1 values (7,7) master-bin.000001 # Query # # use `test`; INSERT INTO t1 values (8,8) master-bin.000001 # Query # # use `test`; INSERT INTO t1 values (9,9) master-bin.000001 # Query # # use `test`; TRUNCATE table t2 master-bin.000001 # Query # # use `test`; INSERT INTO t1 values (10,10) master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; INSERT INTO t2 values (100,100) master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # use `test`; DROP TABLE t1,t2 reset master; create table t1 (a int) engine=innodb; create table t2 (a int) engine=myisam; select get_lock("a",10); get_lock("a",10) 1 begin; insert into t1 values(8); insert into t2 select * from t1; select get_lock("a",10); get_lock("a",10) 1 flush logs; select (@a:=load_file("MYSQLTEST_VARDIR/tmp/mix_innodb_myisam_binlog.output")) is not null; (@a:=load_file("MYSQLTEST_VARDIR/tmp/mix_innodb_myisam_binlog.output")) is not null 1 select @a like "%#%error_code=0%ROLLBACK\n/*!*/;%ROLLBACK /* added by mysqlbinlog */;%" OR @a like "%#%error_code=0%ROLLBACK\r\n/*!*/;%ROLLBACK /* added by mysqlbinlog */;%", @a not like "%#%error_code=%error_code=%"; @a like "%#%error_code=0%ROLLBACK\n/*!*/;%ROLLBACK /* added by mysqlbinlog */;%" OR @a like "%#%error_code=0%ROLLBACK\r\n/*!*/;%ROLLBACK /* added by mysqlbinlog */;%" @a not like "%#%error_code=%error_code=%" 1 1 drop table t1, t2; create temporary table tt (a int unique); create table ti (a int) engine=innodb; reset master; begin; insert into ti values (1); insert into ti values (2) ; insert into tt select * from ti; rollback; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back select count(*) from tt /* 2 */; count(*) 2 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into ti values (1) master-bin.000001 # Query # # use `test`; insert into ti values (2) master-bin.000001 # Query # # use `test`; insert into tt select * from ti master-bin.000001 # Query # # ROLLBACK select count(*) from ti /* zero */; count(*) 0 insert into ti select * from tt; select * from ti /* that is what slave would miss - a bug */; a 1 2 delete from ti; delete from tt where a=1; reset master; begin; insert into ti values (1); insert into ti values (2) /* to make the dup error in the following */; insert into tt select * from ti /* one affected and error */; ERROR 23000: Duplicate entry '2' for key 'a' rollback; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into ti values (1) master-bin.000001 # Query # # use `test`; insert into ti values (2) /* to make the dup error in the following */ master-bin.000001 # Query # # use `test`; insert into tt select * from ti /* one affected and error */ master-bin.000001 # Query # # ROLLBACK select count(*) from ti /* zero */; count(*) 0 insert into ti select * from tt; select * from tt /* that is what otherwise slave missed - the bug */; a 1 2 drop table ti, tt; drop function if exists bug27417; drop table if exists t1,t2; CREATE TABLE t1 (a int NOT NULL auto_increment primary key) ENGINE=MyISAM; CREATE TABLE t2 (a int NOT NULL auto_increment, PRIMARY KEY (a)); create function bug27417(n int) RETURNS int(11) begin insert into t1 values (null); return n; end| reset master; insert into t2 values (bug27417(1)); insert into t2 select bug27417(2); reset master; insert into t2 values (bug27417(2)); ERROR 23000: Duplicate entry '2' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Intvar # # INSERT_ID=3 master-bin.000001 # Query # # use `test`; insert into t2 values (bug27417(2)) /* only (!) with fixes for #23333 will show there is the query */; select count(*) from t1 /* must be 3 */; count(*) 3 reset master; select count(*) from t2; count(*) 2 delete from t2 where a=bug27417(3); select count(*) from t2 /* nothing got deleted */; count(*) 2 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Intvar # # INSERT_ID=4 master-bin.000001 # Query # # use `test`; delete from t2 where a=bug27417(3) /* the query must be in regardless of #23333 */; select count(*) from t1 /* must be 5 */; count(*) 5 delete t2 from t2 where t2.a=bug27417(100) /* must not affect t2 */; affected rows: 0 select count(*) from t1 /* must be 7 */; count(*) 7 drop table t1,t2; CREATE TABLE t1 (a int NOT NULL auto_increment primary key) ENGINE=MyISAM; CREATE TABLE t2 (a int, PRIMARY KEY (a)) ENGINE=InnoDB; CREATE TABLE t3 (a int, PRIMARY KEY (a), b int unique) ENGINE=MyISAM; CREATE TABLE t4 (a int, PRIMARY KEY (a), b int unique) ENGINE=Innodb; CREATE TABLE t5 (a int, PRIMARY KEY (a)) ENGINE=InnoDB; insert into t2 values (1); reset master; insert into t2 values (bug27417(1)); ERROR 23000: Duplicate entry '1' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Intvar # # INSERT_ID=1 master-bin.000001 # Query # # use `test`; insert into t2 values (bug27417(1)) master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 1 */; count(*) 1 delete from t1; delete from t2; insert into t2 values (2); reset master; insert into t2 select bug27417(1) union select bug27417(2); ERROR 23000: Duplicate entry '2' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Intvar # # INSERT_ID=2 master-bin.000001 # Query # # use `test`; insert into t2 select bug27417(1) union select bug27417(2) master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 2 */; count(*) 2 delete from t1; insert into t3 values (1,1),(2,3),(3,4); reset master; update t3 set b=b+bug27417(1); ERROR 23000: Duplicate entry '4' for key 'b' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Intvar # # INSERT_ID=4 master-bin.000001 # Query # # use `test`; update t3 set b=b+bug27417(1) /* the output must denote there is the query */; select count(*) from t1 /* must be 2 */; count(*) 2 delete from t3; delete from t4; insert into t3 values (1,1); insert into t4 values (1,1),(2,2); reset master; UPDATE t4,t3 SET t4.a=t3.a + bug27417(1) /* top level non-ta table */; ERROR 23000: Duplicate entry '2' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Intvar # # INSERT_ID=6 master-bin.000001 # Query # # use `test`; UPDATE t4,t3 SET t4.a=t3.a + bug27417(1) /* top level non-ta table */ master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 4 */; count(*) 4 delete from t1; delete from t3; delete from t4; insert into t3 values (1,1),(2,2); insert into t4 values (1,1),(2,2); reset master; UPDATE t3,t4 SET t3.a=t4.a + bug27417(1); ERROR 23000: Duplicate entry '2' for key 'PRIMARY' select count(*) from t1 /* must be 1 */; count(*) 1 drop table t4; delete from t1; delete from t2; delete from t3; insert into t2 values (1); insert into t3 values (1,1); create trigger trg_del before delete on t2 for each row insert into t3 values (bug27417(1), 2); reset master; delete from t2; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Intvar # # INSERT_ID=9 master-bin.000001 # Query # # use `test`; delete from t2 master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 1 */; count(*) 1 drop trigger trg_del; delete from t1; delete from t2; delete from t5; create trigger trg_del_t2 after delete on t2 for each row insert into t1 values (1); insert into t2 values (2),(3); insert into t5 values (1),(2); reset master; delete t2.* from t2,t5 where t2.a=t5.a + 1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; delete t2.* from t2,t5 where t2.a=t5.a + 1 master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 1 */; count(*) 1 delete from t1; create table t4 (a int default 0, b int primary key) engine=innodb; insert into t4 values (0, 17); reset master; load data infile '../../std_data/rpl_loaddata.dat' into table t4 (a, @b) set b= @b + bug27417(2); ERROR 23000: Duplicate entry '17' for key 'PRIMARY' select * from t4; a b 0 17 select count(*) from t1 /* must be 2 */; count(*) 2 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Intvar # # INSERT_ID=10 master-bin.000001 # Begin_load_query # # ;file_id=#;block_len=# master-bin.000001 # Intvar # # INSERT_ID=10 master-bin.000001 # Execute_load_query # # use `test`; LOAD DATA INFILE '../../std_data/rpl_loaddata.dat' INTO TABLE `t4` FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`a`, @b) SET `b`=((@b) + `bug27417`(2)) ;file_id=# master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; drop trigger trg_del_t2; drop table t1,t2,t3,t4,t5; drop function bug27417; end of tests set @@session.binlog_format=statement; binlog.binlog_stm_mix_innodb_myisam 'stmt+innodb_plugin' [ fail ] Test ended at 2010-05-04 10:12:24 CURRENT_TEST: binlog.binlog_stm_mix_innodb_myisam mysqltest: At line 11: Could not open './extra/binlog_tests/mix_innodb_myisam_side_effects.test' for reading, errno: 2 - saving '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_stm_mix_innodb_myisam-stmt+innodb_plugin/' to '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_stm_mix_innodb_myisam-stmt+innodb_plugin/' Retrying test, attempt(2/3)... CALL mtr.add_suppression("Statement may not be safe to log in statement format."); drop table if exists t1, t2; create table t1 (a int) engine=innodb; create table t2 (a int) engine=myisam; reset master; begin; insert into t1 values(1); insert into t2 select * from t1; commit; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(1) master-bin.000001 # Query # # use `test`; insert into t2 select * from t1 master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; reset master; begin; insert into t1 values(2); insert into t2 select * from t1; rollback; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(2) master-bin.000001 # Query # # use `test`; insert into t2 select * from t1 master-bin.000001 # Query # # ROLLBACK delete from t1; delete from t2; reset master; begin; insert into t1 values(3); savepoint my_savepoint; insert into t1 values(4); insert into t2 select * from t1; rollback to savepoint my_savepoint; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back commit; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(3) master-bin.000001 # Query # # SAVEPOINT my_savepoint master-bin.000001 # Query # # use `test`; insert into t1 values(4) master-bin.000001 # Query # # use `test`; insert into t2 select * from t1 master-bin.000001 # Query # # ROLLBACK TO my_savepoint master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; reset master; begin; insert into t1 values(5); savepoint my_savepoint; insert into t1 values(6); insert into t2 select * from t1; rollback to savepoint my_savepoint; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back insert into t1 values(7); commit; select a from t1 order by a; a 5 7 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(5) master-bin.000001 # Query # # SAVEPOINT my_savepoint master-bin.000001 # Query # # use `test`; insert into t1 values(6) master-bin.000001 # Query # # use `test`; insert into t2 select * from t1 master-bin.000001 # Query # # ROLLBACK TO my_savepoint master-bin.000001 # Query # # use `test`; insert into t1 values(7) master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; reset master; select get_lock("a",10); get_lock("a",10) 1 begin; insert into t1 values(8); insert into t2 select * from t1; select get_lock("a",10); get_lock("a",10) 1 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(8) master-bin.000001 # Query # # use `test`; insert into t2 select * from t1 master-bin.000001 # Query # # ROLLBACK delete from t1; delete from t2; reset master; insert into t1 values(9); insert into t2 select * from t1; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(9) master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # use `test`; insert into t2 select * from t1 delete from t1; delete from t2; reset master; insert into t1 values(10); begin; insert into t2 select * from t1; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(10) master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # use `test`; insert into t2 select * from t1 insert into t1 values(11); commit; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(10) master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # use `test`; insert into t2 select * from t1 master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(11) master-bin.000001 # Xid # # COMMIT /* XID */ alter table t2 engine=INNODB; delete from t1; delete from t2; reset master; begin; insert into t1 values(12); insert into t2 select * from t1; commit; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(12) master-bin.000001 # Query # # use `test`; insert into t2 select * from t1 master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; reset master; begin; insert into t1 values(13); insert into t2 select * from t1; rollback; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info delete from t1; delete from t2; reset master; begin; insert into t1 values(14); savepoint my_savepoint; insert into t1 values(15); insert into t2 select * from t1; rollback to savepoint my_savepoint; commit; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(14) master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; reset master; begin; insert into t1 values(16); savepoint my_savepoint; insert into t1 values(17); insert into t2 select * from t1; rollback to savepoint my_savepoint; insert into t1 values(18); commit; select a from t1 order by a; a 16 18 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(16) master-bin.000001 # Query # # use `test`; insert into t1 values(18) master-bin.000001 # Xid # # COMMIT /* XID */ delete from t1; delete from t2; alter table t2 engine=MyISAM; insert into t1 values (1); begin; select * from t1 for update; a 1 select (@before:=unix_timestamp())*0; (@before:=unix_timestamp())*0 0 begin; select * from t1 for update; insert into t2 values (20); ERROR HY000: Lock wait timeout exceeded; try restarting transaction select (@after:=unix_timestamp())*0; (@after:=unix_timestamp())*0 0 select (@after-@before) >= 2; (@after-@before) >= 2 1 drop table t1,t2; commit; begin; create temporary table ti (a int) engine=innodb; rollback; insert into ti values(1); set autocommit=0; create temporary table t1 (a int) engine=myisam; commit; insert t1 values (1); rollback; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back create table t0 (n int); insert t0 select * from t1; set autocommit=1; insert into t0 select GET_LOCK("lock1",null); Warnings: Note 1592 Statement may not be safe to log in statement format. set autocommit=0; create table t2 (n int) engine=innodb; insert into t2 values (3); select get_lock("lock1",60); get_lock("lock1",60) 1 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values(16) master-bin.000001 # Query # # use `test`; insert into t1 values(18) master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; delete from t1 master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; delete from t2 master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # use `test`; alter table t2 engine=MyISAM master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into t1 values (1) master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # use `test`; insert into t2 values (20) master-bin.000001 # Query # # use `test`; drop table t1,t2 master-bin.000001 # Query # # use `test`; create temporary table ti (a int) engine=innodb master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into ti values(1) master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # use `test`; create temporary table t1 (a int) engine=myisam master-bin.000001 # Query # # use `test`; insert t1 values (1) master-bin.000001 # Query # # use `test`; create table t0 (n int) master-bin.000001 # Query # # use `test`; insert t0 select * from t1 master-bin.000001 # Query # # use `test`; insert into t0 select GET_LOCK("lock1",null) master-bin.000001 # Query # # use `test`; create table t2 (n int) engine=innodb master-bin.000001 # Query # # use `test`; DROP /*!40005 TEMPORARY */ TABLE IF EXISTS `t1`,`ti` do release_lock("lock1"); drop table t0,t2; set autocommit=0; CREATE TABLE t1 (a int, b int) engine=myisam; reset master; INSERT INTO t1 values (1,1),(1,2); CREATE TABLE t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' DROP TABLE if exists t2; Warnings: Note 1051 Unknown table 't2' INSERT INTO t1 values (3,3); CREATE TEMPORARY TABLE t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' ROLLBACK; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back DROP TABLE IF EXISTS t2; Warnings: Note 1051 Unknown table 't2' CREATE TABLE t2 (a int, b int, primary key (a)) engine=innodb; INSERT INTO t1 VALUES (4,4); CREATE TABLE IF NOT EXISTS t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' SELECT * from t2; a b TRUNCATE table t2; INSERT INTO t1 VALUES (5,5); INSERT INTO t2 select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' SELECT * FROM t2; a b DROP TABLE t2; INSERT INTO t1 values (6,6); CREATE TEMPORARY TABLE t2 (a int, b int, primary key (a)) engine=innodb ; INSERT INTO t1 values (7,7); ROLLBACK; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back INSERT INTO t1 values (8,8); CREATE TEMPORARY TABLE IF NOT EXISTS t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' COMMIT; INSERT INTO t1 values (9,9); CREATE TEMPORARY TABLE IF NOT EXISTS t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' ROLLBACK; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back SELECT * from t2; a b TRUNCATE table t2; INSERT INTO t1 values (10,10); INSERT INTO t2 select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' SELECT * from t1; a b 1 1 1 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 INSERT INTO t2 values (100,100); CREATE TEMPORARY TABLE IF NOT EXISTS t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' COMMIT; INSERT INTO t2 values (101,101); CREATE TEMPORARY TABLE IF NOT EXISTS t2 (primary key (a)) engine=innodb select * from t1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' ROLLBACK; SELECT * from t2; a b 100 100 DROP TABLE t1,t2; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # use `test`; INSERT INTO t1 values (1,1),(1,2) master-bin.000001 # Query # # use `test`; DROP TABLE if exists t2 master-bin.000001 # Query # # use `test`; INSERT INTO t1 values (3,3) master-bin.000001 # Query # # use `test`; DROP TABLE IF EXISTS t2 master-bin.000001 # Query # # use `test`; CREATE TABLE t2 (a int, b int, primary key (a)) engine=innodb master-bin.000001 # Query # # use `test`; INSERT INTO t1 VALUES (4,4) master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; TRUNCATE table t2 master-bin.000001 # Xid # # COMMIT /* XID */ master-bin.000001 # Query # # use `test`; INSERT INTO t1 VALUES (5,5) master-bin.000001 # Query # # use `test`; DROP TABLE t2 master-bin.000001 # Query # # use `test`; INSERT INTO t1 values (6,6) master-bin.000001 # Query # # use `test`; CREATE TEMPORARY TABLE t2 (a int, b int, primary key (a)) engine=innodb master-bin.000001 # Query # # use `test`; INSERT INTO t1 values (7,7) master-bin.000001 # Query # # use `test`; INSERT INTO t1 values (8,8) master-bin.000001 # Query # # use `test`; INSERT INTO t1 values (9,9) master-bin.000001 # Query # # use `test`; TRUNCATE table t2 master-bin.000001 # Query # # use `test`; INSERT INTO t1 values (10,10) master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; INSERT INTO t2 values (100,100) master-bin.000001 # Query # # COMMIT master-bin.000001 # Query # # use `test`; DROP TABLE t1,t2 reset master; create table t1 (a int) engine=innodb; create table t2 (a int) engine=myisam; select get_lock("a",10); get_lock("a",10) 1 begin; insert into t1 values(8); insert into t2 select * from t1; select get_lock("a",10); get_lock("a",10) 1 flush logs; select (@a:=load_file("MYSQLTEST_VARDIR/tmp/mix_innodb_myisam_binlog.output")) is not null; (@a:=load_file("MYSQLTEST_VARDIR/tmp/mix_innodb_myisam_binlog.output")) is not null 1 select @a like "%#%error_code=0%ROLLBACK\n/*!*/;%ROLLBACK /* added by mysqlbinlog */;%" OR @a like "%#%error_code=0%ROLLBACK\r\n/*!*/;%ROLLBACK /* added by mysqlbinlog */;%", @a not like "%#%error_code=%error_code=%"; @a like "%#%error_code=0%ROLLBACK\n/*!*/;%ROLLBACK /* added by mysqlbinlog */;%" OR @a like "%#%error_code=0%ROLLBACK\r\n/*!*/;%ROLLBACK /* added by mysqlbinlog */;%" @a not like "%#%error_code=%error_code=%" 1 1 drop table t1, t2; create temporary table tt (a int unique); create table ti (a int) engine=innodb; reset master; begin; insert into ti values (1); insert into ti values (2) ; insert into tt select * from ti; rollback; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back select count(*) from tt /* 2 */; count(*) 2 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into ti values (1) master-bin.000001 # Query # # use `test`; insert into ti values (2) master-bin.000001 # Query # # use `test`; insert into tt select * from ti master-bin.000001 # Query # # ROLLBACK select count(*) from ti /* zero */; count(*) 0 insert into ti select * from tt; select * from ti /* that is what slave would miss - a bug */; a 1 2 delete from ti; delete from tt where a=1; reset master; begin; insert into ti values (1); insert into ti values (2) /* to make the dup error in the following */; insert into tt select * from ti /* one affected and error */; ERROR 23000: Duplicate entry '2' for key 'a' rollback; Warnings: Warning 1196 Some non-transactional changed tables couldn't be rolled back show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; insert into ti values (1) master-bin.000001 # Query # # use `test`; insert into ti values (2) /* to make the dup error in the following */ master-bin.000001 # Query # # use `test`; insert into tt select * from ti /* one affected and error */ master-bin.000001 # Query # # ROLLBACK select count(*) from ti /* zero */; count(*) 0 insert into ti select * from tt; select * from tt /* that is what otherwise slave missed - the bug */; a 1 2 drop table ti, tt; drop function if exists bug27417; drop table if exists t1,t2; CREATE TABLE t1 (a int NOT NULL auto_increment primary key) ENGINE=MyISAM; CREATE TABLE t2 (a int NOT NULL auto_increment, PRIMARY KEY (a)); create function bug27417(n int) RETURNS int(11) begin insert into t1 values (null); return n; end| reset master; insert into t2 values (bug27417(1)); insert into t2 select bug27417(2); reset master; insert into t2 values (bug27417(2)); ERROR 23000: Duplicate entry '2' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Intvar # # INSERT_ID=3 master-bin.000001 # Query # # use `test`; insert into t2 values (bug27417(2)) /* only (!) with fixes for #23333 will show there is the query */; select count(*) from t1 /* must be 3 */; count(*) 3 reset master; select count(*) from t2; count(*) 2 delete from t2 where a=bug27417(3); select count(*) from t2 /* nothing got deleted */; count(*) 2 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Intvar # # INSERT_ID=4 master-bin.000001 # Query # # use `test`; delete from t2 where a=bug27417(3) /* the query must be in regardless of #23333 */; select count(*) from t1 /* must be 5 */; count(*) 5 delete t2 from t2 where t2.a=bug27417(100) /* must not affect t2 */; affected rows: 0 select count(*) from t1 /* must be 7 */; count(*) 7 drop table t1,t2; CREATE TABLE t1 (a int NOT NULL auto_increment primary key) ENGINE=MyISAM; CREATE TABLE t2 (a int, PRIMARY KEY (a)) ENGINE=InnoDB; CREATE TABLE t3 (a int, PRIMARY KEY (a), b int unique) ENGINE=MyISAM; CREATE TABLE t4 (a int, PRIMARY KEY (a), b int unique) ENGINE=Innodb; CREATE TABLE t5 (a int, PRIMARY KEY (a)) ENGINE=InnoDB; insert into t2 values (1); reset master; insert into t2 values (bug27417(1)); ERROR 23000: Duplicate entry '1' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Intvar # # INSERT_ID=1 master-bin.000001 # Query # # use `test`; insert into t2 values (bug27417(1)) master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 1 */; count(*) 1 delete from t1; delete from t2; insert into t2 values (2); reset master; insert into t2 select bug27417(1) union select bug27417(2); ERROR 23000: Duplicate entry '2' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Intvar # # INSERT_ID=2 master-bin.000001 # Query # # use `test`; insert into t2 select bug27417(1) union select bug27417(2) master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 2 */; count(*) 2 delete from t1; insert into t3 values (1,1),(2,3),(3,4); reset master; update t3 set b=b+bug27417(1); ERROR 23000: Duplicate entry '4' for key 'b' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Intvar # # INSERT_ID=4 master-bin.000001 # Query # # use `test`; update t3 set b=b+bug27417(1) /* the output must denote there is the query */; select count(*) from t1 /* must be 2 */; count(*) 2 delete from t3; delete from t4; insert into t3 values (1,1); insert into t4 values (1,1),(2,2); reset master; UPDATE t4,t3 SET t4.a=t3.a + bug27417(1) /* top level non-ta table */; ERROR 23000: Duplicate entry '2' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Intvar # # INSERT_ID=6 master-bin.000001 # Query # # use `test`; UPDATE t4,t3 SET t4.a=t3.a + bug27417(1) /* top level non-ta table */ master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 4 */; count(*) 4 delete from t1; delete from t3; delete from t4; insert into t3 values (1,1),(2,2); insert into t4 values (1,1),(2,2); reset master; UPDATE t3,t4 SET t3.a=t4.a + bug27417(1); ERROR 23000: Duplicate entry '2' for key 'PRIMARY' select count(*) from t1 /* must be 1 */; count(*) 1 drop table t4; delete from t1; delete from t2; delete from t3; insert into t2 values (1); insert into t3 values (1,1); create trigger trg_del before delete on t2 for each row insert into t3 values (bug27417(1), 2); reset master; delete from t2; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Intvar # # INSERT_ID=9 master-bin.000001 # Query # # use `test`; delete from t2 master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 1 */; count(*) 1 drop trigger trg_del; delete from t1; delete from t2; delete from t5; create trigger trg_del_t2 after delete on t2 for each row insert into t1 values (1); insert into t2 values (2),(3); insert into t5 values (1),(2); reset master; delete t2.* from t2,t5 where t2.a=t5.a + 1; ERROR 23000: Duplicate entry '1' for key 'PRIMARY' show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # use `test`; delete t2.* from t2,t5 where t2.a=t5.a + 1 master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; select count(*) from t1 /* must be 1 */; count(*) 1 delete from t1; create table t4 (a int default 0, b int primary key) engine=innodb; insert into t4 values (0, 17); reset master; load data infile '../../std_data/rpl_loaddata.dat' into table t4 (a, @b) set b= @b + bug27417(2); ERROR 23000: Duplicate entry '17' for key 'PRIMARY' select * from t4; a b 0 17 select count(*) from t1 /* must be 2 */; count(*) 2 show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # BEGIN master-bin.000001 # Intvar # # INSERT_ID=10 master-bin.000001 # Begin_load_query # # ;file_id=#;block_len=# master-bin.000001 # Intvar # # INSERT_ID=10 master-bin.000001 # Execute_load_query # # use `test`; LOAD DATA INFILE '../../std_data/rpl_loaddata.dat' INTO TABLE `t4` FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`a`, @b) SET `b`=((@b) + `bug27417`(2)) ;file_id=# master-bin.000001 # Query # # ROLLBACK /* the output must denote there is the query */; drop trigger trg_del_t2; drop table t1,t2,t3,t4,t5; drop function bug27417; end of tests set @@session.binlog_format=statement; binlog.binlog_stm_mix_innodb_myisam 'stmt+innodb_plugin' [ retry-fail ] Test ended at 2010-05-04 10:13:30 CURRENT_TEST: binlog.binlog_stm_mix_innodb_myisam mysqltest: At line 11: Could not open './extra/binlog_tests/mix_innodb_myisam_side_effects.test' for reading, errno: 2 - saving '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_stm_mix_innodb_myisam-stmt+innodb_plugin/' to '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_stm_mix_innodb_myisam-stmt+innodb_plugin/' Test has failed 2 times, no more retries! binlog.binlog_base64_flag 'row' [ pass ] 193 binlog.binlog_base64_flag 'stmt' [ pass ] 201 binlog.binlog_base64_flag 'mix' [ pass ] 180 binlog.binlog_old_versions 'row' [ fail ] Test ended at 2010-05-04 10:13:41 CURRENT_TEST: binlog.binlog_old_versions /home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/bin/mysqlbinlog: File 'suite/binlog/std_data/binlog_old_version_4_1.000001' not found (Errcode: 2) mysqltest: At line 64: query 'SELECT * FROM t1 ORDER BY a' failed: 1146: Table 'test.t1' doesn't exist The result from queries just before the failure was: < snip > SELECT COUNT(*) FROM t3; COUNT(*) 17920 DROP TABLE t1, t2, t3; ==== Read binlog from version 5.1.17 ==== SELECT * FROM t1 ORDER BY a; a b 0 last_insert_id 1 one 3 last stm in trx: next event should be xid 4 four 764247 random SELECT * FROM t2 ORDER BY a; a b 3 first stm in trx SELECT COUNT(*) FROM t3; COUNT(*) 17920 DROP TABLE t1, t2, t3; ==== Read binlog from version 4.1 ==== More results from queries before failure can be found in /home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog_old_versions.log - saving '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_old_versions-row/' to '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_old_versions-row/' Retrying test, attempt(2/3)... binlog.binlog_old_versions 'row' [ retry-fail ] Test ended at 2010-05-04 10:13:42 CURRENT_TEST: binlog.binlog_old_versions /home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/bin/mysqlbinlog: File 'suite/binlog/std_data/binlog_old_version_4_1.000001' not found (Errcode: 2) mysqltest: At line 64: query 'SELECT * FROM t1 ORDER BY a' failed: 1146: Table 'test.t1' doesn't exist The result from queries just before the failure was: < snip > SELECT COUNT(*) FROM t3; COUNT(*) 17920 DROP TABLE t1, t2, t3; ==== Read binlog from version 5.1.17 ==== SELECT * FROM t1 ORDER BY a; a b 0 last_insert_id 1 one 3 last stm in trx: next event should be xid 4 four 764247 random SELECT * FROM t2 ORDER BY a; a b 3 first stm in trx SELECT COUNT(*) FROM t3; COUNT(*) 17920 DROP TABLE t1, t2, t3; ==== Read binlog from version 4.1 ==== More results from queries before failure can be found in /home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog_old_versions.log - saving '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_old_versions-row/' to '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_old_versions-row/' Test has failed 2 times, no more retries! binlog.binlog_old_versions 'stmt' [ fail ] Test ended at 2010-05-04 10:13:45 CURRENT_TEST: binlog.binlog_old_versions /home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/bin/mysqlbinlog: File 'suite/binlog/std_data/binlog_old_version_4_1.000001' not found (Errcode: 2) mysqltest: At line 64: query 'SELECT * FROM t1 ORDER BY a' failed: 1146: Table 'test.t1' doesn't exist The result from queries just before the failure was: < snip > SELECT COUNT(*) FROM t3; COUNT(*) 17920 DROP TABLE t1, t2, t3; ==== Read binlog from version 5.1.17 ==== SELECT * FROM t1 ORDER BY a; a b 0 last_insert_id 1 one 3 last stm in trx: next event should be xid 4 four 764247 random SELECT * FROM t2 ORDER BY a; a b 3 first stm in trx SELECT COUNT(*) FROM t3; COUNT(*) 17920 DROP TABLE t1, t2, t3; ==== Read binlog from version 4.1 ==== More results from queries before failure can be found in /home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog_old_versions.log - saving '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_old_versions-stmt/' to '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_old_versions-stmt/' Retrying test, attempt(2/3)... binlog.binlog_old_versions 'stmt' [ retry-fail ] Test ended at 2010-05-04 10:13:47 CURRENT_TEST: binlog.binlog_old_versions /home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/bin/mysqlbinlog: File 'suite/binlog/std_data/binlog_old_version_4_1.000001' not found (Errcode: 2) mysqltest: At line 64: query 'SELECT * FROM t1 ORDER BY a' failed: 1146: Table 'test.t1' doesn't exist The result from queries just before the failure was: < snip > SELECT COUNT(*) FROM t3; COUNT(*) 17920 DROP TABLE t1, t2, t3; ==== Read binlog from version 5.1.17 ==== SELECT * FROM t1 ORDER BY a; a b 0 last_insert_id 1 one 3 last stm in trx: next event should be xid 4 four 764247 random SELECT * FROM t2 ORDER BY a; a b 3 first stm in trx SELECT COUNT(*) FROM t3; COUNT(*) 17920 DROP TABLE t1, t2, t3; ==== Read binlog from version 4.1 ==== More results from queries before failure can be found in /home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog_old_versions.log - saving '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_old_versions-stmt/' to '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_old_versions-stmt/' Test has failed 2 times, no more retries! binlog.binlog_old_versions 'mix' [ fail ] Test ended at 2010-05-04 10:13:49 CURRENT_TEST: binlog.binlog_old_versions /home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/bin/mysqlbinlog: File 'suite/binlog/std_data/binlog_old_version_4_1.000001' not found (Errcode: 2) mysqltest: At line 64: query 'SELECT * FROM t1 ORDER BY a' failed: 1146: Table 'test.t1' doesn't exist The result from queries just before the failure was: < snip > SELECT COUNT(*) FROM t3; COUNT(*) 17920 DROP TABLE t1, t2, t3; ==== Read binlog from version 5.1.17 ==== SELECT * FROM t1 ORDER BY a; a b 0 last_insert_id 1 one 3 last stm in trx: next event should be xid 4 four 764247 random SELECT * FROM t2 ORDER BY a; a b 3 first stm in trx SELECT COUNT(*) FROM t3; COUNT(*) 17920 DROP TABLE t1, t2, t3; ==== Read binlog from version 4.1 ==== More results from queries before failure can be found in /home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog_old_versions.log - saving '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_old_versions-mix/' to '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_old_versions-mix/' Retrying test, attempt(2/3)... binlog.binlog_old_versions 'mix' [ retry-fail ] Test ended at 2010-05-04 10:13:51 CURRENT_TEST: binlog.binlog_old_versions /home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/bin/mysqlbinlog: File 'suite/binlog/std_data/binlog_old_version_4_1.000001' not found (Errcode: 2) mysqltest: At line 64: query 'SELECT * FROM t1 ORDER BY a' failed: 1146: Table 'test.t1' doesn't exist The result from queries just before the failure was: < snip > SELECT COUNT(*) FROM t3; COUNT(*) 17920 DROP TABLE t1, t2, t3; ==== Read binlog from version 5.1.17 ==== SELECT * FROM t1 ORDER BY a; a b 0 last_insert_id 1 one 3 last stm in trx: next event should be xid 4 four 764247 random SELECT * FROM t2 ORDER BY a; a b 3 first stm in trx SELECT COUNT(*) FROM t3; COUNT(*) 17920 DROP TABLE t1, t2, t3; ==== Read binlog from version 4.1 ==== More results from queries before failure can be found in /home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog_old_versions.log - saving '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_old_versions-mix/' to '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_old_versions-mix/' Test has failed 2 times, no more retries! binlog.binlog_stm_ctype_cp932 'stmt' [ fail ] Test ended at 2010-05-04 10:13:52 CURRENT_TEST: binlog.binlog_stm_ctype_cp932 mysqltest: At line 5: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog_stm_ctype_cp932.log', errno: 22 - saving '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_stm_ctype_cp932-stmt/' to '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_stm_ctype_cp932-stmt/' Retrying test, attempt(2/3)... binlog.binlog_stm_ctype_cp932 'stmt' [ retry-fail ] Test ended at 2010-05-04 10:13:54 CURRENT_TEST: binlog.binlog_stm_ctype_cp932 mysqltest: At line 5: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog_stm_ctype_cp932.log', errno: 22 - saving '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_stm_ctype_cp932-stmt/' to '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_stm_ctype_cp932-stmt/' Test has failed 2 times, no more retries! binlog.binlog_stm_ctype_cp932 'mix' [ fail ] Test ended at 2010-05-04 10:13:55 CURRENT_TEST: binlog.binlog_stm_ctype_cp932 mysqltest: At line 5: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog_stm_ctype_cp932.log', errno: 22 - saving '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_stm_ctype_cp932-mix/' to '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_stm_ctype_cp932-mix/' Retrying test, attempt(2/3)... binlog.binlog_stm_ctype_cp932 'mix' [ retry-fail ] Test ended at 2010-05-04 10:13:56 CURRENT_TEST: binlog.binlog_stm_ctype_cp932 mysqltest: At line 5: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog_stm_ctype_cp932.log', errno: 22 - saving '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_stm_ctype_cp932-mix/' to '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_stm_ctype_cp932-mix/' Test has failed 2 times, no more retries! binlog.binlog_stm_drop_tmp_tbl 'stmt' [ fail ] Test ended at 2010-05-04 10:13:58 CURRENT_TEST: binlog.binlog_stm_drop_tmp_tbl mysqltest: At line 4: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog_stm_drop_tmp_tbl.log', errno: 22 - saving '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_stm_drop_tmp_tbl-stmt/' to '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_stm_drop_tmp_tbl-stmt/' Retrying test, attempt(2/3)... binlog.binlog_stm_drop_tmp_tbl 'stmt' [ retry-fail ] Test ended at 2010-05-04 10:13:59 CURRENT_TEST: binlog.binlog_stm_drop_tmp_tbl mysqltest: At line 4: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog_stm_drop_tmp_tbl.log', errno: 22 - saving '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_stm_drop_tmp_tbl-stmt/' to '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_stm_drop_tmp_tbl-stmt/' Test has failed 2 times, no more retries! binlog.binlog_stm_drop_tmp_tbl 'mix' [ fail ] Test ended at 2010-05-04 10:14:01 CURRENT_TEST: binlog.binlog_stm_drop_tmp_tbl mysqltest: At line 4: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog_stm_drop_tmp_tbl.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_stm_drop_tmp_tbl-mix/' Retrying test, attempt(2/3)... binlog.binlog_stm_drop_tmp_tbl 'mix' [ retry-fail ] Test ended at 2010-05-04 10:14:03 CURRENT_TEST: binlog.binlog_stm_drop_tmp_tbl mysqltest: At line 4: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog_stm_drop_tmp_tbl.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_stm_drop_tmp_tbl-mix/' Test has failed 2 times, no more retries! binlog.binlog_database 'row' [ pass ] 1301 binlog.binlog_database 'stmt' [ pass ] 1293 binlog.binlog_database 'mix' [ pass ] 1269 binlog.binlog_grant 'row' [ pass ] 109 binlog.binlog_grant 'stmt' [ pass ] 112 binlog.binlog_grant 'mix' [ pass ] 206 binlog.binlog_row_ctype_cp932 'row' [ pass ] 4276 binlog.binlog_row_ctype_ucs 'row' [ pass ] 325 binlog.binlog_row_drop_tmp_tbl 'row' [ pass ] 394 binlog.binlog_row_insert_select 'row' [ pass ] 429 binlog.binlog_start_comment 'row' [ pass ] 568 binlog.binlog_start_comment 'stmt' [ pass ] 589 binlog.binlog_start_comment 'mix' [ pass ] 553 binlog.binlog_stm_blackhole 'stmt' [ fail ] Test ended at 2010-05-04 10:14:41 CURRENT_TEST: binlog.binlog_stm_blackhole mysqltest: At line 5: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog_stm_blackhole.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_stm_blackhole-stmt/' Retrying test, attempt(2/3)... binlog.binlog_stm_blackhole 'stmt' [ retry-fail ] Test ended at 2010-05-04 10:14:43 CURRENT_TEST: binlog.binlog_stm_blackhole mysqltest: At line 5: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog_stm_blackhole.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_stm_blackhole-stmt/' Test has failed 2 times, no more retries! binlog.binlog_stm_blackhole 'mix' [ fail ] Test ended at 2010-05-04 10:14:45 CURRENT_TEST: binlog.binlog_stm_blackhole mysqltest: At line 5: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog_stm_blackhole.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_stm_blackhole-mix/' Retrying test, attempt(2/3)... binlog.binlog_stm_blackhole 'mix' [ retry-fail ] Test ended at 2010-05-04 10:14:47 CURRENT_TEST: binlog.binlog_stm_blackhole mysqltest: At line 5: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog_stm_blackhole.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_stm_blackhole-mix/' Test has failed 2 times, no more retries! binlog.binlog_stm_ctype_ucs 'stmt' [ fail ] Test ended at 2010-05-04 10:14:48 CURRENT_TEST: binlog.binlog_stm_ctype_ucs mysqltest: At line 4: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog_stm_ctype_ucs.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_stm_ctype_ucs-stmt/' Retrying test, attempt(2/3)... binlog.binlog_stm_ctype_ucs 'stmt' [ retry-fail ] Test ended at 2010-05-04 10:14:50 CURRENT_TEST: binlog.binlog_stm_ctype_ucs mysqltest: At line 4: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog_stm_ctype_ucs.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_stm_ctype_ucs-stmt/' Test has failed 2 times, no more retries! binlog.binlog_stm_ctype_ucs 'mix' [ fail ] Test ended at 2010-05-04 10:14:52 CURRENT_TEST: binlog.binlog_stm_ctype_ucs mysqltest: At line 4: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog_stm_ctype_ucs.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_stm_ctype_ucs-mix/' Retrying test, attempt(2/3)... binlog.binlog_stm_ctype_ucs 'mix' [ retry-fail ] Test ended at 2010-05-04 10:14:54 CURRENT_TEST: binlog.binlog_stm_ctype_ucs mysqltest: At line 4: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog_stm_ctype_ucs.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_stm_ctype_ucs-mix/' Test has failed 2 times, no more retries! binlog.binlog_stm_insert_select 'stmt' [ fail ] Test ended at 2010-05-04 10:14:56 CURRENT_TEST: binlog.binlog_stm_insert_select mysqltest: At line 4: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog_stm_insert_select.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_stm_insert_select-stmt/' Retrying test, attempt(2/3)... binlog.binlog_stm_insert_select 'stmt' [ retry-fail ] Test ended at 2010-05-04 10:14:57 CURRENT_TEST: binlog.binlog_stm_insert_select mysqltest: At line 4: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog_stm_insert_select.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_stm_insert_select-stmt/' Test has failed 2 times, no more retries! binlog.binlog_stm_insert_select 'mix' [ fail ] Test ended at 2010-05-04 10:14:59 CURRENT_TEST: binlog.binlog_stm_insert_select mysqltest: At line 4: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog_stm_insert_select.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_stm_insert_select-mix/' Retrying test, attempt(2/3)... binlog.binlog_stm_insert_select 'mix' [ retry-fail ] Test ended at 2010-05-04 10:15:01 CURRENT_TEST: binlog.binlog_stm_insert_select mysqltest: At line 4: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog_stm_insert_select.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_stm_insert_select-mix/' Test has failed 2 times, no more retries! binlog.binlog_stm_ps 'stmt' [ pass ] 257 binlog.binlog_stm_row 'row' [ pass ] 422 binlog.binlog_stm_unsafe_warning 'stmt' [ fail ] Test ended at 2010-05-04 10:15:08 CURRENT_TEST: binlog.binlog_stm_unsafe_warning *** /home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/suite/binlog/r/binlog_stm_unsafe_warning.result Sun Apr 11 00:17:45 2010 --- /home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/suite/binlog/r/binlog_stm_unsafe_warning.reject Tue May 4 11:15:08 2010 *************** *** 25,31 **** --- 25,35 ---- CREATE TABLE t1 (a int, b int, primary key (a)); INSERT INTO t1 VALUES (1,2), (2,3); UPDATE t1 SET b='4' WHERE a=1 LIMIT 1; + Warnings: + Note 1592 Statement may not be safe to log in statement format. UPDATE t1 SET b='5' WHERE a=2 ORDER BY a LIMIT 1; + Warnings: + Note 1592 Statement may not be safe to log in statement format. DROP TABLE t1; DROP DATABASE b42851; USE test; mysqltest: Result content mismatch - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_stm_unsafe_warning-stmt/' Retrying test, attempt(2/3)... binlog.binlog_stm_unsafe_warning 'stmt' [ retry-fail ] Test ended at 2010-05-04 10:15:10 CURRENT_TEST: binlog.binlog_stm_unsafe_warning *** /home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/suite/binlog/r/binlog_stm_unsafe_warning.result Sun Apr 11 00:17:45 2010 --- /home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/suite/binlog/r/binlog_stm_unsafe_warning.reject Tue May 4 11:15:10 2010 *************** *** 25,31 **** --- 25,35 ---- CREATE TABLE t1 (a int, b int, primary key (a)); INSERT INTO t1 VALUES (1,2), (2,3); UPDATE t1 SET b='4' WHERE a=1 LIMIT 1; + Warnings: + Note 1592 Statement may not be safe to log in statement format. UPDATE t1 SET b='5' WHERE a=2 ORDER BY a LIMIT 1; + Warnings: + Note 1592 Statement may not be safe to log in statement format. DROP TABLE t1; DROP DATABASE b42851; USE test; *************** *** 47,50 **** SET GLOBAL log_warnings = @old_log_warnings; # Count the number of times the "Unsafe" message was printed # to the error log. ! Occurrences: 1 --- 51,54 ---- SET GLOBAL log_warnings = @old_log_warnings; # Count the number of times the "Unsafe" message was printed # to the error log. ! Occurrences: 2 mysqltest: Result content mismatch - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_stm_unsafe_warning-stmt/' Test has failed 2 times, no more retries! binlog.binlog_tmp_table 'stmt' [ fail ] Test ended at 2010-05-04 10:15:12 CURRENT_TEST: binlog.binlog_tmp_table mysqltest: At line 29: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog_tmp_table.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_tmp_table-stmt/' Retrying test, attempt(2/3)... binlog.binlog_tmp_table 'stmt' [ retry-fail ] Test ended at 2010-05-04 10:15:14 CURRENT_TEST: binlog.binlog_tmp_table mysqltest: At line 29: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog_tmp_table.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_tmp_table-stmt/' Test has failed 2 times, no more retries! binlog.binlog_tmp_table 'mix' [ fail ] Test ended at 2010-05-04 10:15:16 CURRENT_TEST: binlog.binlog_tmp_table mysqltest: At line 29: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog_tmp_table.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_tmp_table-mix/' Retrying test, attempt(2/3)... binlog.binlog_tmp_table 'mix' [ retry-fail ] Test ended at 2010-05-04 10:15:17 CURRENT_TEST: binlog.binlog_tmp_table mysqltest: At line 29: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog_tmp_table.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/binlog.binlog_tmp_table-mix/' Test has failed 2 times, no more retries! binlog.binlog_truncate_myisam 'row' [ pass ] 197 binlog.binlog_truncate_myisam 'stmt' [ pass ] 204 binlog.binlog_truncate_myisam 'mix' [ pass ] 189 binlog.binlog_unsafe 'stmt' [ pass ] 1930 main.lock_tables_lost_commit [ pass ] 80 main.lock_tables_lost_commit 'innodb_plugin' [ pass ] 88 main.innodb [ pass ] 36924 main.ctype_filesystem [ pass ] 6 main.lowercase_utf8 [ pass ] 45 main.ctype_ldml [ pass ] 483 main.date_formats [ pass ] 317 main.ctype_latin1_de [ pass ] 478 main.ctype_ucs2_def [ pass ] 157 main.bug47671 [ pass ] 37 main.events_bugs [ pass ] 10799 main.events_restart [ pass ] 3826 main.log_state [ pass ] 6841 main.innodb_bug30919 [ pass ] 25713 main.innodb_bug30919 'innodb_plugin' [ pass ] 25560 main.innodb_autoinc_lock_mode_zero [ pass ] 157 main.innodb_autoinc_lock_mode_zero 'innodb_plugin' [ pass ] 168 main.bug46760 [ pass ] 244 main.bug46760 'innodb_plugin' [ pass ] 200 main.innodb_bug39438 [ pass ] 149 main.innodb_bug39438 'innodb_plugin' [ pass ] 136 main.innodb_mysql [ pass ] 67104 main.innodb_mysql 'innodb_plugin' [ pass ] 65032 main.innodb_bug42101-nonzero [ pass ] 10 main.innodb_bug42101-nonzero 'innodb_plugin' [ pass ] 10 main.concurrent_innodb_unsafelog [ pass ] 9009 main.concurrent_innodb_unsafelog 'innodb_plugin' [ pass ] 9057 main.unsafe_binlog_innodb [ pass ] 5661 main.unsafe_binlog_innodb 'innodb_plugin' [ pass ] 5669 main.innodb_mysql_rbk [ pass ] 3512 main.innodb_mysql_rbk 'innodb_plugin' [ pass ] 3549 main.concurrent_innodb_safelog [ pass ] 22729 main.concurrent_innodb_safelog 'innodb_plugin' [ pass ] 15805 main.innodb_lock_wait_timeout_1 [ pass ] 21499 main.innodb_lock_wait_timeout_1 'innodb_plugin' [ pass ] 18584 main.partition_innodb [ pass ] 9574 main.partition_innodb 'innodb_plugin' [ pass ] 9496 main.innodb_timeout_rollback [ pass ] 3597 main.innodb_timeout_rollback 'innodb_plugin' [ pass ] 3613 main.innodb-semi-consistent [ pass ] 11701 main.innodb-semi-consistent 'innodb_plugin' [ pass ] 12692 main.partition_innodb_semi_consistent [ pass ] 16716 main.partition_innodb_semi_consistent 'innodb_plugin' [ pass ] 16756 innodb.innodb-use-sys-malloc [ skipped ] Test requires: 'true' innodb.innodb-use-sys-malloc 'innodb_plugin' [ pass ] 197 innodb.innodb-consistent [ skipped ] Test requires: 'true' innodb.innodb-consistent 'innodb_plugin' [ pass ] 229 main.lowercase_mixed_tmpdir_innodb [ skipped ] Test requires: 'lowercase2' main.lowercase_mixed_tmpdir_innodb 'innodb_plugin' [ skipped ] Test requires: 'lowercase2' main.lowercase_table3 [ skipped ] Test requires: 'case_insensitive_file_system' main.lowercase_table3 'innodb_plugin' [ skipped ] Test requires: 'case_insensitive_file_system' main.cache_innodb [ pass ] 1017 main.cache_innodb 'innodb_plugin' [ pass ] 1021 innodb.innodb-analyze [ skipped ] Test requires: 'true' innodb.innodb-analyze 'innodb_plugin' [ pass ] 121 innodb.innodb-index_ucs2 [ pass ] 409 innodb.innodb-index_ucs2 'innodb_plugin' [ pass ] 601 innodb.innodb-timeout [ skipped ] Test requires: 'true' innodb.innodb-timeout 'innodb_plugin' [ pass ] 2133 innodb.innodb-zip [ skipped ] Test requires: 'true' innodb.innodb-zip 'innodb_plugin' [ pass ] 7034 innodb.innodb_bug36169 [ skipped ] Test requires: 'true' innodb.innodb_bug36169 'innodb_plugin' [ pass ] 906 innodb.innodb_bug36172 [ skipped ] Test requires: 'true' innodb.innodb_bug36172 'innodb_plugin' [ pass ] 617 innodb.innodb_bug40360 [ pass ] 93 innodb.innodb_bug40360 'innodb_plugin' [ pass ] 93 innodb.innodb_bug41904 [ pass ] 209 innodb.innodb_bug41904 'innodb_plugin' [ pass ] 233 innodb.innodb_bug44032 [ pass ] 129 innodb.innodb_bug44032 'innodb_plugin' [ pass ] 128 innodb.innodb_bug44571 [ skipped ] Test requires: 'true' innodb.innodb_bug44571 'innodb_plugin' [ pass ] 601 innodb.innodb_bug46676 [ pass ] 317 innodb.innodb_bug46676 'innodb_plugin' [ pass ] 309 innodb.innodb_bug47167 [ skipped ] Test requires: 'true' innodb.innodb_bug47167 'innodb_plugin' [ pass ] 39 innodb.innodb_bug47622 [ pass ] 629 innodb.innodb_bug47622 'innodb_plugin' [ pass ] 837 innodb.innodb_bug51378 [ pass ] 881 innodb.innodb_bug51378 'innodb_plugin' [ pass ] 1213 innodb.innodb_file_format [ skipped ] Test requires: 'true' innodb.innodb_file_format 'innodb_plugin' [ pass ] 48 innodb.innodb_information_schema [ skipped ] Test requires: 'true' innodb.innodb_information_schema 'innodb_plugin' [ pass ] 361 main.consistent_snapshot [ pass ] 153 main.consistent_snapshot 'innodb_plugin' [ pass ] 156 main.create_select_tmp [ fail ] Test ended at 2010-05-04 10:32:11 CURRENT_TEST: main.create_select_tmp mysqltest: At line 9: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/create_select_tmp.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/main.create_select_tmp/' Retrying test, attempt(2/3)... main.create_select_tmp [ retry-fail ] Test ended at 2010-05-04 10:32:14 CURRENT_TEST: main.create_select_tmp mysqltest: At line 9: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/create_select_tmp.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/main.create_select_tmp/' Test has failed 2 times, no more retries! main.create_select_tmp 'innodb_plugin' [ fail ] Test ended at 2010-05-04 10:32:16 CURRENT_TEST: main.create_select_tmp mysqltest: At line 9: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/create_select_tmp.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/main.create_select_tmp-innodb_plugin/' Retrying test, attempt(2/3)... main.create_select_tmp 'innodb_plugin' [ retry-fail ] Test ended at 2010-05-04 10:32:18 CURRENT_TEST: main.create_select_tmp mysqltest: At line 9: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/create_select_tmp.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/main.create_select_tmp-innodb_plugin/' Test has failed 2 times, no more retries! main.deadlock_innodb [ pass ] 6597 main.deadlock_innodb 'innodb_plugin' [ pass ] 6606 main.endspace [ pass ] 777 main.endspace 'innodb_plugin' [ pass ] 869 main.events_trans [ pass ] 441 main.events_trans 'innodb_plugin' [ pass ] 445 main.events_trans_notembedded [ pass ] 337 main.events_trans_notembedded 'innodb_plugin' [ pass ] 325 main.flush_block_commit [ pass ] 2117 main.flush_block_commit 'innodb_plugin' [ pass ] 2104 main.func_group_innodb [ pass ] 321 main.func_group_innodb 'innodb_plugin' [ pass ] 309 main.func_rollback [ pass ] 1505 main.func_rollback 'innodb_plugin' [ pass ] 925 main.group_min_max_innodb [ pass ] 1201 main.group_min_max_innodb 'innodb_plugin' [ pass ] 965 main.handler_innodb [ pass ] 5960 main.handler_innodb 'innodb_plugin' [ pass ] 5995 main.information_schema_inno [ pass ] 1230 main.information_schema_inno 'innodb_plugin' [ pass ] 1190 main.innodb-autoinc-optimize [ pass ] 177 main.innodb-autoinc-optimize 'innodb_plugin' [ pass ] 204 main.innodb-lock [ pass ] 4221 main.innodb-lock 'innodb_plugin' [ pass ] 4216 main.innodb-replace [ pass ] 85 main.innodb-replace 'innodb_plugin' [ pass ] 81 main.innodb-ucs2 [ pass ] 2401 main.innodb-ucs2 'innodb_plugin' [ pass ] 2657 main.innodb_bug34053 [ pass ] 389 main.innodb_bug34053 'innodb_plugin' [ pass ] 421 main.innodb_bug34300 [ pass ] 4068 main.innodb_bug34300 'innodb_plugin' [ pass ] 4093 main.innodb_bug35220 [ pass ] 173 main.innodb_bug35220 'innodb_plugin' [ pass ] 164 main.innodb_bug38231 [ pass ] 173 main.innodb_bug38231 'innodb_plugin' [ pass ] 180 main.innodb_bug40565 [ pass ] 113 main.innodb_bug40565 'innodb_plugin' [ pass ] 112 main.innodb_bug42101 [ pass ] 10 main.innodb_bug42101 'innodb_plugin' [ pass ] 10 main.innodb_bug42419 [ pass ] 360 main.innodb_bug42419 'innodb_plugin' [ pass ] 357 main.innodb_bug45357 [ pass ] 101 main.innodb_bug45357 'innodb_plugin' [ pass ] 97 main.innodb_bug47777 [ pass ] 100 main.innodb_bug47777 'innodb_plugin' [ pass ] 101 main.innodb_gis [ pass ] 1826 main.innodb_gis 'innodb_plugin' [ pass ] 1634 main.innodb_notembedded [ pass ] 314 main.innodb_notembedded 'innodb_plugin' [ pass ] 309 main.innodb_trx_weight [ pass ] 957 main.innodb_trx_weight 'innodb_plugin' [ pass ] 872 main.join_outer_innodb [ pass ] 257 main.join_outer_innodb 'innodb_plugin' [ pass ] 160 main.loaddata_autocom_innodb [ pass ] 117 main.loaddata_autocom_innodb 'innodb_plugin' [ pass ] 120 main.lowercase_table2 [ skipped ] Test requires: 'lowercase2' main.lowercase_table2 'innodb_plugin' [ skipped ] Test requires: 'lowercase2' main.merge_innodb [ pass ] 361 main.merge_innodb 'innodb_plugin' [ pass ] 356 main.mysqldump-max [ pass ] 3467 main.mysqldump-max 'innodb_plugin' [ pass ] 3648 main.parser_bug21114_innodb [ pass ] 27319 main.parser_bug21114_innodb 'innodb_plugin' [ pass ] 27927 main.partition_innodb_builtin [ pass ] 353 main.partition_innodb_builtin 'innodb_plugin' [ skipped ] Test requires: 'not_true' main.partition_innodb_plugin [ skipped ] Test requires: 'true' main.partition_innodb_plugin 'innodb_plugin' [ pass ] 382 main.ps_3innodb [ pass ] 4855 main.ps_3innodb 'innodb_plugin' [ pass ] 5556 main.read_only_innodb [ pass ] 173 main.read_only_innodb 'innodb_plugin' [ pass ] 176 main.rowid_order_innodb [ pass ] 573 main.rowid_order_innodb 'innodb_plugin' [ pass ] 549 main.strict [ pass ] 2395 main.strict 'innodb_plugin' [ pass ] 2407 main.strict_autoinc_2innodb [ pass ] 80 main.strict_autoinc_2innodb 'innodb_plugin' [ pass ] 85 main.subselect2 [ pass ] 1781 main.subselect2 'innodb_plugin' [ pass ] 1817 main.subselect_innodb [ pass ] 1802 main.subselect_innodb 'innodb_plugin' [ pass ] 1913 main.trigger-trans [ pass ] 1478 main.trigger-trans 'innodb_plugin' [ pass ] 1441 main.type_bit_innodb [ pass ] 1293 main.type_bit_innodb 'innodb_plugin' [ pass ] 1209 main.xa [ pass ] 1585 main.xa 'innodb_plugin' [ pass ] 1577 main.bug39022 [ pass ] 421 main.bug39022 'innodb_plugin' [ pass ] 512 main.commit_1innodb [ pass ] 2115 main.commit_1innodb 'innodb_plugin' [ pass ] 2547 main.flush_block_commit_notembedded [ pass ] 1326 main.flush_block_commit_notembedded 'innodb_plugin' [ pass ] 1221 main.mysqlbinlog_row_innodb [ skipped ] Test requires: 'have_binlog_format_row' main.mysqlbinlog_row_innodb 'innodb_plugin' [ skipped ] Test requires: 'have_binlog_format_row' main.mysqlbinlog_row_trans [ skipped ] Test requires: 'have_binlog_format_row' main.mysqlbinlog_row_trans 'innodb_plugin' [ skipped ] Test requires: 'have_binlog_format_row' main.partition_innodb_stmt [ pass ] 245 main.partition_innodb_stmt 'innodb_plugin' [ pass ] 245 main.sp_trans [ pass ] 10738 main.sp_trans 'innodb_plugin' [ pass ] 10739 main.sp_trans_log [ skipped ] Test requires: 'have_binlog_format_row' main.sp_trans_log 'innodb_plugin' [ skipped ] Test requires: 'have_binlog_format_row' main.innodb_ignore_builtin [ pass ] 22 main.init_file [ pass ] 73 main.myisam-blob [ pass ] 8896 main.key_cache [ pass ] 490 main.show_check [ pass ] 3854 main.ps [ pass ] 10166 main.union [ pass ] 9686 main.mysql_client_test [ pass ] 250584 main.events_logs_tests [ pass ] 3270 main.log_tables [ pass ] 42728 main.status [ pass ] 326 main.multi_statement [ pass ] 45 main.named_pipe [ skipped ] Need windows main.shm [ skipped ] Need windows main.warnings [ pass ] 778 main.skip_log_bin [ pass ] 85 main.partition_disabled [ pass ] 76 main.warnings_engine_disabled [ skipped ] Test requires: 'true' main.variables-notembedded [ pass ] 27 main.lowercase_mixed_tmpdir [ pass ] 101 main.lowercase_view [ pass ] 485 main.lowercase_table [ pass ] 630 main.lowercase_table_grant [ pass ] 33 main.lowercase_table_qcache [ pass ] 77 main.partition_open_files_limit [ skipped ] Need open_files_limit to be lower than 512 main.no-threads [ pass ] 3 main.grant3 [ pass ] 225 main.bug46080 [ pass ] 45 main.init_connect [ pass ] 248 main.count_distinct2 [ pass ] 1621 main.multi_update_tiny_hash [ pass ] 277 main.order_fill_sortbuf [ pass ] 680 main.multi_update2 [ pass ] 49814 main.skip_grants [ pass ] 348 main.udf_skip_grants [ skipped ] Test requires: 'have_udf_example' main.flush2 [ pass ] 71 main.mysqldump-no-binlog [ pass ] 31 main.skip_name_resolve [ pass ] 26 main.partition [ pass ] 21008 main.partition_not_windows [ pass ] 1081 main.sysdate_is_now [ pass ] 1004 main.temp_table [ pass ] 1070 main.long_tmpdir [ pass ] 33 main.1st [ pass ] 2 main.alias [ pass ] 93 main.almost_full [ pass ] 105 main.alter_table [ pass ] 9664 main.analyse [ pass ] 469 main.analyze [ pass ] 293 main.ansi [ pass ] 89 main.archive [ fail ] Test ended at 2010-05-04 10:55:01 CURRENT_TEST: main.archive mysqltest: At line 6: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/archive.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/main.archive/' Retrying test, attempt(2/3)... main.archive [ retry-fail ] Test ended at 2010-05-04 10:55:03 CURRENT_TEST: main.archive mysqltest: At line 6: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/archive.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/main.archive/' Test has failed 2 times, no more retries! main.archive_bitfield [ pass ] 337 main.archive_gis [ pass ] 982 main.auto_increment [ pass ] 2015 main.backup [ pass ] 669 main.bench_count_distinct [ pass ] 77 main.bigint [ pass ] 1027 main.binary [ pass ] 601 main.bool [ pass ] 89 main.bootstrap [ pass ] 393 main.bulk_replace [ pass ] 41 main.case [ pass ] 393 main.cast [ pass ] 497 main.change_user [ pass ] 18 main.check [ pass ] 5928 main.client_xml [ pass ] 312 main.comments [ pass ] 41 main.compare [ pass ] 253 main.compress [ pass ] 15922 main.connect [ pass ] 10403 main.constraints [ pass ] 433 main.contributors [ pass ] 1 main.count_distinct [ pass ] 426 main.create [ pass ] 6902 main.create_not_windows [ pass ] 141 main.csv [ pass ] 4193 main.csv_alter_table [ pass ] 774 main.csv_not_null [ pass ] 353 main.ctype_ascii [ pass ] 57 main.ctype_big5 [ pass ] 1145 main.ctype_collate [ pass ] 518 main.ctype_cp1250_ch [ pass ] 653 main.ctype_cp1251 [ pass ] 137 main.ctype_create [ pass ] 550 main.ctype_eucjpms [ pass ] 619 main.ctype_euckr [ pass ] 2750 main.ctype_filename [ pass ] 265 main.ctype_gb2312 [ pass ] 910 main.ctype_gbk [ pass ] 1203 main.ctype_gbk_binlog [ fail ] Test ended at 2010-05-04 10:56:39 CURRENT_TEST: main.ctype_gbk_binlog mysqltest: At line 1: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/ctype_gbk_binlog.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/main.ctype_gbk_binlog/' Retrying test, attempt(2/3)... main.ctype_gbk_binlog [ retry-fail ] Test ended at 2010-05-04 10:56:41 CURRENT_TEST: main.ctype_gbk_binlog mysqltest: At line 1: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/ctype_gbk_binlog.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/main.ctype_gbk_binlog/' Test has failed 2 times, no more retries! main.ctype_hebrew [ pass ] 117 main.ctype_latin1 [ pass ] 287 main.ctype_latin2 [ pass ] 53 main.ctype_latin2_ch [ pass ] 121 main.ctype_many [ pass ] 1062 main.ctype_mb [ pass ] 485 main.ctype_recoding [ pass ] 773 main.ctype_sjis [ pass ] 819 main.ctype_tis620 [ pass ] 502 main.ctype_uca [ pass ] 1694 main.ctype_ucs [ pass ] 2912 main.ctype_ujis [ pass ] 1250 main.ctype_ujis_ucs2 [ pass ] 17924 main.ctype_utf8 [ pass ] 5639 main.ddl_i18n_koi8r [ pass ] 9348 main.ddl_i18n_utf8 [ pass ] 8120 main.debug_sync [ skipped ] Test requires: 'have_debug_sync' main.default [ pass ] 337 main.delayed [ pass ] 2861 main.delete [ pass ] 1627 main.derived [ pass ] 3416 main.dirty_close [ pass ] 149 main.distinct [ pass ] 2369 main.drop [ pass ] 938 main.empty_table [ pass ] 44 main.errors [ pass ] 125 main.events_1 [ pass ] 1059 main.events_2 [ pass ] 798 main.events_embedded [ skipped ] Test requires: 'is_embedded' main.events_grant [ pass ] 506 main.events_microsec [ pass ] 29 main.events_scheduling [ pass ] 6342 main.exampledb [ skipped ] Test requires: 'true' main.execution_constants [ pass ] 501 main.explain [ pass ] 1050 main.fix_priv_tables [ pass ] 4327 main.flush [ pass ] 2770 main.flush_table [ pass ] 6253 main.foreign_key [ pass ] 185 main.fulltext [ pass ] 1960 main.fulltext2 [ pass ] 833 main.fulltext3 [ pass ] 97 main.fulltext_cache [ pass ] 93 main.fulltext_distinct [ pass ] 97 main.fulltext_left_join [ pass ] 445 main.fulltext_multi [ pass ] 44 main.fulltext_order_by [ pass ] 369 main.fulltext_update [ pass ] 40 main.fulltext_var [ pass ] 45 main.func_compress [ pass ] 22419 main.func_concat [ pass ] 284 main.func_crypt [ pass ] 117 main.func_date_add [ pass ] 149 main.func_default [ pass ] 92 main.func_encrypt_nossl [ pass ] 23 main.func_equal [ pass ] 141 main.func_gconcat [ pass ] 3169 main.func_group [ pass ] 5049 main.func_if [ pass ] 369 main.func_in [ pass ] 6223 main.func_isnull [ pass ] 44 main.func_like [ pass ] 242 main.func_math [ pass ] 562 main.func_misc [ pass ] 16613 main.func_op [ pass ] 89 main.func_regexp [ pass ] 232 main.func_sapdb [ pass ] 125 main.func_set [ pass ] 233 main.func_str [ pass ] 2860 main.func_system [ pass ] 176 main.func_test [ pass ] 245 main.func_time [ pass ] 8215 main.func_timestamp [ pass ] 45 main.gcc296 [ pass ] 45 main.gis [ pass ] 2675 main.gis-rtree [ pass ] 1242 main.grant [ pass ] 3505 main.grant2 [ pass ] 891 main.grant_cache_no_prot [ pass ] 911 main.grant_cache_ps_prot [ skipped ] Need ps-protocol main.grant_lowercase_fs [ skipped ] Test requires: 'case_insensitive_fs' main.greedy_optimizer [ pass ] 874 main.group_by [ pass ] 5343 main.group_min_max [ pass ] 3268 main.handler_myisam [ pass ] 4795 main.having [ pass ] 1350 main.heap [ pass ] 1637 main.heap_auto_increment [ pass ] 85 main.heap_btree [ pass ] 754 main.heap_hash [ pass ] 725 main.help [ pass ] 953 main.index_merge_myisam [ pass ] 34374 main.information_schema [ pass ] 193865 main.information_schema_chmod [ pass ] 81 main.information_schema_db [ pass ] 1895 main.information_schema_part [ pass ] 1327 main.insert [ pass ] 2903 main.insert_notembedded [ pass ] 534 main.insert_select [ pass ] 2044 main.insert_update [ pass ] 2982 main.join [ pass ] 4146 main.join_crash [ pass ] 181 main.join_nested [ pass ] 3901 main.join_outer [ pass ] 3854 main.key [ pass ] 3097 main.key_diff [ pass ] 48 main.key_primary [ pass ] 44 main.keywords [ pass ] 137 main.limit [ pass ] 207 main.loaddata [ pass ] 1342 main.locale [ pass ] 2 main.lock [ pass ] 990 main.lock_multi [ pass ] 3080 main.lock_multi_bug38499 [ pass ] 88795 main.lock_multi_bug38691 [ pass ] 44815 main.log_tables_upgrade [ pass ] 4631 main.lowercase_fs_off [ pass ] 381 main.merge [ pass ] 17772 main.metadata [ pass ] 582 main.mix2_myisam [ pass ] 10712 main.mix2_myisam_ucs2 [ pass ] 838 main.myisam [ pass ] 11341 main.myisam-system [ pass ] 117 main.myisampack [ pass ] 994 main.mysql [ pass ] 3749 main.mysql-bug41486 [ pass ] 2402 main.mysql-bug45236 [ pass ] 905 main.mysql_comments [ pass ] 382 main.mysql_cp932 [ pass ] 199 main.mysql_protocols [ pass ] 150 main.mysql_upgrade [ pass ] 22245 main.mysqladmin [ pass ] 72 main.mysqlbinlog2 [ fail ] Test ended at 2010-05-04 11:09:25 CURRENT_TEST: main.mysqlbinlog2 mysqltest: At line 5: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/mysqlbinlog2.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/main.mysqlbinlog2/' Retrying test, attempt(2/3)... main.mysqlbinlog2 [ retry-fail ] Test ended at 2010-05-04 11:09:27 CURRENT_TEST: main.mysqlbinlog2 mysqltest: At line 5: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/mysqlbinlog2.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/main.mysqlbinlog2/' Test has failed 2 times, no more retries! main.mysqlcheck [ pass ] 3003 main.mysqldump-compat [ pass ] 248 main.mysqlshow [ pass ] 253 main.mysqlslap [ pass ] 15221 main.negation_elimination [ pass ] 65 main.no_binlog [ pass ] 13 main.not_embedded_server [ pass ] 11 main.not_partition [ skipped ] Test requires: 'not_partition' main.null [ pass ] 1126 main.null_key [ pass ] 2470 main.odbc [ pass ] 89 main.olap [ pass ] 1386 main.order_by [ pass ] 11645 main.outfile [ pass ] 284 main.outfile_loaddata [ fail ] Test ended at 2010-05-04 11:10:19 CURRENT_TEST: main.outfile_loaddata *** /home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/r/outfile_loaddata.result Sun Apr 11 00:17:20 2010 --- /home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/r/outfile_loaddata.reject Tue May 4 12:10:18 2010 *************** *** 143,157 **** LOAD DATA INFILE 'MYSQLTEST_VARDIR/tmp/t1.txt' INTO TABLE t2 CHARACTER SET binary FIELDS TERMINATED BY 'ÑŠ'; Warnings: Warning 1638 Non-ASCII separator arguments are not fully supported - Warning 1265 Data truncated for column 'a' at row 1 - Warning 1261 Row 1 doesn't contain data for all columns - Warning 1261 Row 1 doesn't contain data for all columns - Warning 1265 Data truncated for column 'a' at row 2 - Warning 1261 Row 2 doesn't contain data for all columns - Warning 1261 Row 2 doesn't contain data for all columns SELECT * FROM t1 UNION SELECT * FROM t2 ORDER BY a, b, c; a b c - 1 NULL NULL 1 ABC-ÐБВ DEF-ÂÃÄ 2 NULL NULL SELECT * FROM t1 INTO OUTFILE 'MYSQLTEST_VARDIR/tmp/t1.txt' LINES STARTING BY 'ÑŠ'; --- 143,150 ---- *************** *** 181,187 **** SELECT * FROM t1 UNION SELECT * FROM t2 ORDER BY a, b, c; a b c 1 ABC-ÐБВ DEF-ÂÃÄ - 1 ABC-ÐБВ DEF-ÂÃÄÑŠ2 2 NULL NULL # Default (binary) charset: SELECT * INTO OUTFILE 'MYSQLTEST_VARDIR/tmp/t1.txt' FROM t1; --- 174,179 ---- *************** *** 198,204 **** # latin1 charset (INTO OUTFILE warning is expected): SELECT * INTO OUTFILE 'MYSQLTEST_VARDIR/tmp/t1.txt' CHARACTER SET latin1 FROM t1; Warnings: ! Warning 1366 Incorrect string value: '\xE1\xE2\xF7' for column 'b' at row 1 ################################################## 1 ABC-??? DEF-ÂÃÄ 2 \N \N --- 190,196 ---- # latin1 charset (INTO OUTFILE warning is expected): SELECT * INTO OUTFILE 'MYSQLTEST_VARDIR/tmp/t1.txt' CHARACTER SET latin1 FROM t1; Warnings: ! Warning 1366 Incorrect string value: '\xE1\xE2\xF7' for column 'b' at row 0 ################################################## 1 ABC-??? DEF-ÂÃÄ 2 \N \N *************** *** 213,219 **** # KOI8-R charset (INTO OUTFILE warning is expected): SELECT * INTO OUTFILE 'MYSQLTEST_VARDIR/tmp/t1.txt' CHARACTER SET koi8r FROM t1; Warnings: ! Warning 1366 Incorrect string value: '\xC2\xC3\xC4' for column 'c' at row 1 ################################################## 1 ABC-áâ÷ DEF-??? 2 \N \N --- 205,211 ---- # KOI8-R charset (INTO OUTFILE warning is expected): SELECT * INTO OUTFILE 'MYSQLTEST_VARDIR/tmp/t1.txt' CHARACTER SET koi8r FROM t1; Warnings: ! Warning 1366 Incorrect string value: '\xC2\xC3\xC4' for column 'c' at row 0 ################################################## 1 ABC-áâ÷ DEF-??? 2 \N \N mysqltest: Result content mismatch - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/main.outfile_loaddata/' Retrying test, attempt(2/3)... main.outfile_loaddata [ retry-fail ] Test ended at 2010-05-04 11:10:21 CURRENT_TEST: main.outfile_loaddata *** /home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/r/outfile_loaddata.result Sun Apr 11 00:17:20 2010 --- /home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/r/outfile_loaddata.reject Tue May 4 12:10:21 2010 *************** *** 143,157 **** LOAD DATA INFILE 'MYSQLTEST_VARDIR/tmp/t1.txt' INTO TABLE t2 CHARACTER SET binary FIELDS TERMINATED BY 'ÑŠ'; Warnings: Warning 1638 Non-ASCII separator arguments are not fully supported - Warning 1265 Data truncated for column 'a' at row 1 - Warning 1261 Row 1 doesn't contain data for all columns - Warning 1261 Row 1 doesn't contain data for all columns - Warning 1265 Data truncated for column 'a' at row 2 - Warning 1261 Row 2 doesn't contain data for all columns - Warning 1261 Row 2 doesn't contain data for all columns SELECT * FROM t1 UNION SELECT * FROM t2 ORDER BY a, b, c; a b c - 1 NULL NULL 1 ABC-ÐБВ DEF-ÂÃÄ 2 NULL NULL SELECT * FROM t1 INTO OUTFILE 'MYSQLTEST_VARDIR/tmp/t1.txt' LINES STARTING BY 'ÑŠ'; --- 143,150 ---- *************** *** 181,187 **** SELECT * FROM t1 UNION SELECT * FROM t2 ORDER BY a, b, c; a b c 1 ABC-ÐБВ DEF-ÂÃÄ - 1 ABC-ÐБВ DEF-ÂÃÄÑŠ2 2 NULL NULL # Default (binary) charset: SELECT * INTO OUTFILE 'MYSQLTEST_VARDIR/tmp/t1.txt' FROM t1; --- 174,179 ---- *************** *** 198,204 **** # latin1 charset (INTO OUTFILE warning is expected): SELECT * INTO OUTFILE 'MYSQLTEST_VARDIR/tmp/t1.txt' CHARACTER SET latin1 FROM t1; Warnings: ! Warning 1366 Incorrect string value: '\xE1\xE2\xF7' for column 'b' at row 1 ################################################## 1 ABC-??? DEF-ÂÃÄ 2 \N \N --- 190,196 ---- # latin1 charset (INTO OUTFILE warning is expected): SELECT * INTO OUTFILE 'MYSQLTEST_VARDIR/tmp/t1.txt' CHARACTER SET latin1 FROM t1; Warnings: ! Warning 1366 Incorrect string value: '\xE1\xE2\xF7' for column 'b' at row 0 ################################################## 1 ABC-??? DEF-ÂÃÄ 2 \N \N *************** *** 213,219 **** # KOI8-R charset (INTO OUTFILE warning is expected): SELECT * INTO OUTFILE 'MYSQLTEST_VARDIR/tmp/t1.txt' CHARACTER SET koi8r FROM t1; Warnings: ! Warning 1366 Incorrect string value: '\xC2\xC3\xC4' for column 'c' at row 1 ################################################## 1 ABC-áâ÷ DEF-??? 2 \N \N --- 205,211 ---- # KOI8-R charset (INTO OUTFILE warning is expected): SELECT * INTO OUTFILE 'MYSQLTEST_VARDIR/tmp/t1.txt' CHARACTER SET koi8r FROM t1; Warnings: ! Warning 1366 Incorrect string value: '\xC2\xC3\xC4' for column 'c' at row 0 ################################################## 1 ABC-áâ÷ DEF-??? 2 \N \N mysqltest: Result content mismatch - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/main.outfile_loaddata/' Test has failed 2 times, no more retries! main.overflow [ pass ] 6 main.packet [ pass ] 127 main.parser [ pass ] 2631 main.parser_not_embedded [ pass ] 45 main.parser_precedence [ pass ] 83 main.parser_stack [ pass ] 146 main.partition_archive [ pass ] 1394 main.partition_blackhole [ pass ] 56 main.partition_bug18198 [ pass ] 148 main.partition_charset [ pass ] 93 main.partition_csv [ pass ] 1147 main.partition_datatype [ pass ] 3131 main.partition_debug_sync [ skipped ] Test requires: 'have_debug_sync' main.partition_error [ pass ] 4946 main.partition_federated [ skipped ] Need federated engine main.partition_grant [ pass ] 623 main.partition_hash [ pass ] 2174 main.partition_list [ pass ] 1079 main.partition_mgm [ pass ] 1598 main.partition_mgm_err [ pass ] 1867 main.partition_mgm_err2 [ pass ] 141 main.partition_not_embedded [ pass ] 157 main.partition_order [ pass ] 3200 main.partition_pruning [ pass ] 12504 main.partition_range [ pass ] 6929 main.partition_rename_longfilename [ pass ] 209 main.partition_symlink [ pass ] 790 main.partition_windows [ skipped ] Need windows main.perror [ pass ] 36 main.perror-win [ skipped ] Need windows main.preload [ pass ] 4365 main.profiling [ pass ] 651 main.ps_10nestset [ pass ] 53 main.ps_11bugs [ pass ] 426 main.ps_1general [ pass ] 1900 main.ps_2myisam [ pass ] 1371 main.ps_4heap [ pass ] 1018 main.ps_5merge [ pass ] 3089 main.ps_ddl [ pass ] 10666 main.ps_ddl1 [ pass ] 1051 main.ps_grant [ pass ] 123 main.ps_not_windows [ pass ] 33 main.query_cache [ fail ] Test ended at 2010-05-04 11:12:20 CURRENT_TEST: main.query_cache *** /home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/r/query_cache.result Sun Apr 11 00:17:22 2010 --- /home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/r/query_cache.reject Tue May 4 12:12:20 2010 *************** *** 1709,1714 **** --- 1709,1716 ---- SET GLOBAL query_cache_size= default; End of 5.0 tests SET GLOBAL query_cache_size=1024*1024*512; + Warnings: + Warning 1282 Query cache failed to set size 536870912; new query cache size is 0 CREATE TABLE t1 (a ENUM('rainbow')); INSERT INTO t1 VALUES (),(),(),(),(); SELECT 1 FROM t1 GROUP BY (SELECT 1 FROM t1 ORDER BY AVG(LAST_INSERT_ID())); mysqltest: Result content mismatch - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/main.query_cache/' Retrying test, attempt(2/3)... main.query_cache [ retry-fail ] Test ended at 2010-05-04 11:12:36 CURRENT_TEST: main.query_cache *** /home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/r/query_cache.result Sun Apr 11 00:17:22 2010 --- /home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/r/query_cache.reject Tue May 4 12:12:35 2010 *************** *** 1709,1714 **** --- 1709,1716 ---- SET GLOBAL query_cache_size= default; End of 5.0 tests SET GLOBAL query_cache_size=1024*1024*512; + Warnings: + Warning 1282 Query cache failed to set size 536870912; new query cache size is 0 CREATE TABLE t1 (a ENUM('rainbow')); INSERT INTO t1 VALUES (),(),(),(),(); SELECT 1 FROM t1 GROUP BY (SELECT 1 FROM t1 ORDER BY AVG(LAST_INSERT_ID())); mysqltest: Result content mismatch - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/main.query_cache/' Test has failed 2 times, no more retries! main.query_cache_merge [ pass ] 24686 main.query_cache_notembedded [ pass ] 6779 main.query_cache_ps_no_prot [ pass ] 326 main.query_cache_ps_ps_prot [ skipped ] Test requires: ps-protocol enabled, other protocols disabled main.query_cache_with_views [ pass ] 641 main.range [ pass ] 3480 main.read_only [ pass ] 267 main.rename [ pass ] 661 main.renamedb [ pass ] 2 main.repair [ pass ] 801 main.replace [ pass ] 209 main.rollback [ pass ] 49 main.round [ pass ] 392 main.row [ pass ] 450 main.schema [ pass ] 21 main.select [ pass ] 25796 main.select_found [ pass ] 541 main.select_safe [ pass ] 173 main.sp [ pass ] 53119 main.sp-big [ pass ] 766 main.sp-bugs [ pass ] 250 main.sp-destruct [ pass ] 641 main.sp-dynamic [ pass ] 670 main.sp-error [ pass ] 2172 main.sp-fib [ pass ] 49 main.sp-prelocking [ pass ] 1166 main.sp-security [ pass ] 749 main.sp-threads [ pass ] 2446 main.sp-ucs2 [ pass ] 121 main.sp-vars [ pass ] 610 main.sp_gis [ pass ] 18 main.sp_notembedded [ pass ] 470 main.sp_stress_case [ pass ] 21216 main.sp_sync [ skipped ] Test requires: 'have_debug_sync' main.sql_mode [ pass ] 650 main.status2 [ pass ] 169 main.strict_autoinc_1myisam [ pass ] 41 main.strict_autoinc_3heap [ pass ] 25 main.subselect [ pass ] 72060 main.subselect3 [ pass ] 3188 main.subselect4 [ pass ] 293 main.subselect_gis [ pass ] 57 main.subselect_notembedded [ pass ] 180 main.sum_distinct [ pass ] 1852 main.symlink [ pass ] 2398 main.synchronization [ pass ] 1880 main.system_mysql_db [ pass ] 18 main.system_mysql_db_fix30020 [ pass ] 7442 main.system_mysql_db_fix40123 [ pass ] 6838 main.system_mysql_db_fix50030 [ pass ] 5820 main.system_mysql_db_fix50117 [ pass ] 5976 main.system_mysql_db_refs [ pass ] 269 main.tablelock [ pass ] 273 main.timezone [ skipped ] Test requires: 'have_met_timezone' main.timezone2 [ pass ] 429 main.timezone3 [ skipped ] Test requires: 'have_moscow_leap_timezone' main.timezone4 [ pass ] 1 main.timezone_grant [ pass ] 269 main.trigger [ pass ] 18195 main.trigger-compat [ pass ] 649 main.trigger_notembedded [ pass ] 3330 main.truncate [ pass ] 216 main.type_binary [ pass ] 549 main.type_bit [ pass ] 2516 main.type_blob [ pass ] 2973 main.type_date [ pass ] 1234 main.type_datetime [ pass ] 2018 main.type_decimal [ pass ] 1711 main.type_enum [ pass ] 2691 main.type_float [ pass ] 1378 main.type_nchar [ pass ] 308 main.type_newdecimal [ pass ] 3798 main.type_ranges [ pass ] 1159 main.type_set [ pass ] 353 main.type_time [ pass ] 265 main.type_timestamp [ pass ] 1522 main.type_uint [ pass ] 40 main.type_varchar [ pass ] 2019 main.type_year [ pass ] 289 main.update [ pass ] 2567 main.upgrade [ pass ] 982 main.user_limits [ pass ] 91 main.user_var [ pass ] 1026 main.user_var-binlog [ fail ] Test ended at 2010-05-04 11:19:03 CURRENT_TEST: main.user_var-binlog mysqltest: At line 2: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/user_var-binlog.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/main.user_var-binlog/' Retrying test, attempt(2/3)... main.user_var-binlog [ retry-fail ] Test ended at 2010-05-04 11:19:05 CURRENT_TEST: main.user_var-binlog mysqltest: At line 2: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/user_var-binlog.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/main.user_var-binlog/' Test has failed 2 times, no more retries! main.varbinary [ pass ] 430 main.variables [ pass ] 5771 main.variables_community [ pass ] 10 main.view [ pass ] 20995 main.view_alias [ pass ] 1238 main.view_grant [ pass ] 6332 main.wait_timeout [ pass ] 4220 main.windows [ skipped ] Need windows main.xml [ pass ] 169 main.mysqlbinlog [ fail ] Test ended at 2010-05-04 11:19:54 CURRENT_TEST: main.mysqlbinlog mysqltest: At line 3: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/mysqlbinlog.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/main.mysqlbinlog/' Retrying test, attempt(2/3)... main.mysqlbinlog [ retry-fail ] Test ended at 2010-05-04 11:19:56 CURRENT_TEST: main.mysqlbinlog mysqltest: At line 3: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/mysqlbinlog.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/main.mysqlbinlog/' Test has failed 2 times, no more retries! main.mysqlbinlog-cp932 [ fail ] Test ended at 2010-05-04 11:19:58 CURRENT_TEST: main.mysqlbinlog-cp932 mysqltest: At line 4: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/mysqlbinlog-cp932.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/main.mysqlbinlog-cp932/' Retrying test, attempt(2/3)... main.mysqlbinlog-cp932 [ retry-fail ] Test ended at 2010-05-04 11:20:00 CURRENT_TEST: main.mysqlbinlog-cp932 mysqltest: At line 4: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/mysqlbinlog-cp932.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/main.mysqlbinlog-cp932/' Test has failed 2 times, no more retries! main.multi_update [ pass ] 7009 main.ctype_cp932_binlog_row [ skipped ] Test requires: 'have_binlog_format_row' main.ctype_cp932_binlog_stm [ fail ] Test ended at 2010-05-04 11:20:12 CURRENT_TEST: main.ctype_cp932_binlog_stm mysqltest: At line 4: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/ctype_cp932_binlog_stm.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/main.ctype_cp932_binlog_stm/' Retrying test, attempt(2/3)... main.ctype_cp932_binlog_stm [ retry-fail ] Test ended at 2010-05-04 11:20:14 CURRENT_TEST: main.ctype_cp932_binlog_stm mysqltest: At line 4: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/ctype_cp932_binlog_stm.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/main.ctype_cp932_binlog_stm/' Test has failed 2 times, no more retries! main.mysqlbinlog_base64 [ skipped ] Test requires: 'have_binlog_format_row' main.mysqlbinlog_row [ skipped ] Test requires: 'have_binlog_format_row' main.mysqlbinlog_row_myisam [ skipped ] Test requires: 'have_binlog_format_row' main.mysqldump [ pass ] 31979 main.mysqldump_restore [ pass ] 1547 main.mysqltest [ fail ] Test ended at 2010-05-04 11:21:02 CURRENT_TEST: main.mysqltest mysqltest: At line 1449: query 'connect con2,localhost,root,,*NO-ONE*' failed: 2002: Can't connect to local MySQL server through socket '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/tmp/mysqld.1.sock' (79) The result from queries just before the failure was: < snip > mysqltest: At line 1: Wrong column number to replace_column in 'replace_column a b' mysqltest: At line 1: Wrong column number to replace_column in 'replace_column a 1' mysqltest: At line 1: Wrong column number to replace_column in 'replace_column 1 b c ' select "LONG_STRING" as x; x LONG_STRING mysqltest: At line 1: Invalid integer argument "10!" mysqltest: At line 1: Invalid integer argument "a" mysqltest: At line 1: Missing required argument 'connection name' to command 'connect' mysqltest: At line 1: Missing required argument 'connection name' to command 'connect' mysqltest: At line 1: Missing required argument 'host' to command 'connect' mysqltest: At line 1: Missing required argument 'host' to command 'connect' mysqltest: At line 1: query 'connect con2,localhost,root,,illegal_db' failed: 1049: Unknown database 'illegal_db' mysqltest: At line 1: Illegal argument for port: 'illegal_port' mysqltest: At line 1: Illegal option to connect: SMTP OK mysqltest: The test didn't produce any output mysqltest: In included file "MYSQLTEST_VARDIR/tmp/mysqltest.sql": At line 3: connection 'test_con1' not found in connection pool mysqltest: In included file "MYSQLTEST_VARDIR/tmp/mysqltest.sql": At line 2: Connection test_con1 already exists connect(localhost,root,,test,MASTER_PORT,MASTER_SOCKET); More results from queries before failure can be found in /home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/mysqltest.log - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/main.mysqltest/' Retrying test, attempt(2/3)... worker[1] Trying to dump core for [mysqltest - pid: 311308, winpid: 311308] worker[1] Trying to dump core for [mysqld.1 - pid: 336084, winpid: 336084] main.mysqltest [ retry-fail ] timeout after 900 seconds Test ended at 2010-05-04 11:36:55 Test case timeout after 900 seconds == /home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/mysqltest.log == select "500g blåbærsyltetøy" as "will be lower cased"; will be lower cased 500g blåbærsyltetøy SELECT "UPPER" AS "WILL NOT BE lower cased"; WILL NOT BE lower cased UPPER UP SELECT 0 as "UP AGAIN"; UP AGAIN 0 select "abcdef" as "uvwxyz"; uvwxyz abcdef select "xyz" as name union select "abc" as name order by name desc; name abc xyz select 1 as "some new text"; some new text 1 == /home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/tmp/analyze-timeout-mysqld.1.err == mysqltest: Could not open connection 'default' after 500 attempts: 2002 Can't connect to local MySQL server through socket '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/tmp/mysqld.1.sock' (79) - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/main.mysqltest/' Test has failed 2 times, no more retries! main.index_merge_innodb [ pass ] 38551 main.innodb-autoinc [ pass ] 17701 main.innodb_bug21704 [ pass ] 1253 main.innodb_bug44369 [ pass ] 89 main.innodb_bug46000 [ pass ] 249 main.innodb_bug47621 [ pass ] 765 rpl.rpl_plugin_load 'row' [ skipped ] Test requires: 'have_example_plugin' rpl.rpl_plugin_load 'stmt' [ skipped ] Test requires: 'have_example_plugin' rpl.rpl_plugin_load 'mix' [ skipped ] Test requires: 'have_example_plugin' rpl.rpl_udf 'row' [ skipped ] Test requires: 'have_udf_example' rpl.rpl_udf 'stmt' [ skipped ] Test requires: 'have_udf_example' rpl.rpl_udf 'mix' [ skipped ] Test requires: 'have_udf_example' rpl.rpl_auto_increment 'row' [ pass ] 3855 rpl.rpl_auto_increment 'stmt' [ pass ] 3892 rpl.rpl_auto_increment 'mix' [ pass ] 3951 rpl.rpl_auto_increment 'row+innodb_plugin' [ pass ] 3803 rpl.rpl_auto_increment 'stmt+innodb_plugin' [ pass ] 4020 rpl.rpl_auto_increment 'mix+innodb_plugin' [ pass ] 4047 rpl.rpl_stm_binlog_direct 'stmt' [ pass ] 7628 rpl.rpl_stm_binlog_direct 'stmt+innodb_plugin' [ pass ] 9381 rpl.rpl_create_database 'row' [ pass ] 939 rpl.rpl_create_database 'stmt' [ pass ] 958 rpl.rpl_create_database 'mix' [ pass ] 950 rpl.rpl_begin_commit_rollback 'stmt' [ pass ] 1428 rpl.rpl_begin_commit_rollback 'stmt+innodb_plugin' [ pass ] 1359 rpl.rpl_binlog_max_cache_size 'row' [ pass ] 2870 rpl.rpl_binlog_max_cache_size 'stmt' [ pass ] 2919 rpl.rpl_binlog_max_cache_size 'mix' [ pass ] 2786 rpl.rpl_binlog_max_cache_size 'row+innodb_plugin' [ pass ] 2954 rpl.rpl_binlog_max_cache_size 'stmt+innodb_plugin' [ pass ] 2950 rpl.rpl_binlog_max_cache_size 'mix+innodb_plugin' [ pass ] 2727 rpl.rpl_loaddata_m 'row' [ pass ] 722 rpl.rpl_loaddata_m 'stmt' [ pass ] 710 rpl.rpl_loaddata_m 'mix' [ pass ] 709 rpl.rpl_row_basic_11bugs 'row' [ pass ] 4846 rpl.rpl_timezone 'row' [ pass ] 1263 rpl.rpl_timezone 'stmt' [ pass ] 1274 rpl.rpl_timezone 'mix' [ pass ] 1254 rpl.rpl_concurrency_error 'stmt' [ pass ] 8905 rpl.rpl_concurrency_error 'stmt+innodb_plugin' [ pass ] 12586 rpl.rpl_innodb 'row' [ pass ] 2264 rpl.rpl_innodb 'stmt' [ pass ] 2404 rpl.rpl_innodb 'mix' [ pass ] 2335 rpl.rpl_innodb 'row+innodb_plugin' [ pass ] 2335 rpl.rpl_innodb 'stmt+innodb_plugin' [ pass ] 2367 rpl.rpl_innodb 'mix+innodb_plugin' [ pass ] 2395 rpl.rpl_innodb_bug28430 'row' [ pass ] 256050 rpl.rpl_innodb_bug28430 'mix' [ pass ] 252581 rpl.rpl_innodb_bug28430 'row+innodb_plugin' [ pass ] 249735 rpl.rpl_innodb_bug28430 'mix+innodb_plugin' [ pass ] 250586 rpl.rpl_failed_optimize 'row' [ pass ] 2541 rpl.rpl_failed_optimize 'stmt' [ pass ] 2553 rpl.rpl_failed_optimize 'mix' [ pass ] 3429 rpl.rpl_failed_optimize 'row+innodb_plugin' [ pass ] 2625 rpl.rpl_failed_optimize 'stmt+innodb_plugin' [ pass ] 3609 rpl.rpl_failed_optimize 'mix+innodb_plugin' [ pass ] 3621 rpl.rpl_row_log_innodb 'row' [ pass ] 3124 rpl.rpl_row_log_innodb 'row+innodb_plugin' [ pass ] 3102 rpl.rpl_binlog_grant 'stmt' [ fail ] Test ended at 2010-05-04 12:04:29 CURRENT_TEST: rpl.rpl_binlog_grant mysqltest: At line 4: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 The result from queries just before the failure was: stop slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; reset master; reset slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; start slave; - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_binlog_grant-stmt/' Retrying test, attempt(2/3)... rpl.rpl_binlog_grant 'stmt' [ retry-fail ] Test ended at 2010-05-04 12:04:34 CURRENT_TEST: rpl.rpl_binlog_grant mysqltest: At line 4: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 The result from queries just before the failure was: stop slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; reset master; reset slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; start slave; - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_binlog_grant-stmt/' Test has failed 2 times, no more retries! rpl.rpl_binlog_grant 'mix' [ fail ] Test ended at 2010-05-04 12:04:39 CURRENT_TEST: rpl.rpl_binlog_grant mysqltest: At line 4: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 The result from queries just before the failure was: stop slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; reset master; reset slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; start slave; - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_binlog_grant-mix/' Retrying test, attempt(2/3)... rpl.rpl_binlog_grant 'mix' [ retry-fail ] Test ended at 2010-05-04 12:04:44 CURRENT_TEST: rpl.rpl_binlog_grant mysqltest: At line 4: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 The result from queries just before the failure was: stop slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; reset master; reset slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; start slave; - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_binlog_grant-mix/' Test has failed 2 times, no more retries! rpl.rpl_binlog_grant 'stmt+innodb_plugin' [ fail ] Test ended at 2010-05-04 12:04:49 CURRENT_TEST: rpl.rpl_binlog_grant mysqltest: At line 4: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 The result from queries just before the failure was: stop slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; reset master; reset slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; start slave; - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_binlog_grant-stmt+innodb_plugin/' Retrying test, attempt(2/3)... rpl.rpl_binlog_grant 'stmt+innodb_plugin' [ retry-fail ] Test ended at 2010-05-04 12:04:54 CURRENT_TEST: rpl.rpl_binlog_grant mysqltest: At line 4: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 The result from queries just before the failure was: stop slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; reset master; reset slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; start slave; - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_binlog_grant-stmt+innodb_plugin/' Test has failed 2 times, no more retries! rpl.rpl_binlog_grant 'mix+innodb_plugin' [ fail ] Test ended at 2010-05-04 12:04:58 CURRENT_TEST: rpl.rpl_binlog_grant mysqltest: At line 4: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 The result from queries just before the failure was: stop slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; reset master; reset slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; start slave; - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_binlog_grant-mix+innodb_plugin/' Retrying test, attempt(2/3)... rpl.rpl_binlog_grant 'mix+innodb_plugin' [ retry-fail ] Test ended at 2010-05-04 12:05:03 CURRENT_TEST: rpl.rpl_binlog_grant mysqltest: At line 4: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 The result from queries just before the failure was: stop slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; reset master; reset slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; start slave; - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_binlog_grant-mix+innodb_plugin/' Test has failed 2 times, no more retries! rpl.rpl_commit_after_flush 'row' [ pass ] 750 rpl.rpl_commit_after_flush 'stmt' [ pass ] 909 rpl.rpl_commit_after_flush 'mix' [ pass ] 753 rpl.rpl_commit_after_flush 'row+innodb_plugin' [ pass ] 802 rpl.rpl_commit_after_flush 'stmt+innodb_plugin' [ pass ] 810 rpl.rpl_commit_after_flush 'mix+innodb_plugin' [ pass ] 770 rpl.rpl_ddl 'row' [ skipped ] This test needs on slave side: InnoDB disabled, default engine: MyISAM rpl.rpl_ddl 'stmt' [ skipped ] This test needs on slave side: InnoDB disabled, default engine: MyISAM rpl.rpl_ddl 'mix' [ skipped ] This test needs on slave side: InnoDB disabled, default engine: MyISAM rpl.rpl_ddl 'row+innodb_plugin' [ skipped ] This test needs on slave side: InnoDB disabled, default engine: MyISAM rpl.rpl_ddl 'stmt+innodb_plugin' [ skipped ] This test needs on slave side: InnoDB disabled, default engine: MyISAM rpl.rpl_ddl 'mix+innodb_plugin' [ skipped ] This test needs on slave side: InnoDB disabled, default engine: MyISAM rpl.rpl_deadlock_innodb 'row' [ pass ] 38580 rpl.rpl_deadlock_innodb 'stmt' [ pass ] 37585 rpl.rpl_deadlock_innodb 'mix' [ pass ] 40605 rpl.rpl_deadlock_innodb 'row+innodb_plugin' [ pass ] 37602 rpl.rpl_deadlock_innodb 'stmt+innodb_plugin' [ pass ] 37577 rpl.rpl_deadlock_innodb 'mix+innodb_plugin' [ pass ] 40640 rpl.rpl_dual_pos_advance 'row' [ pass ] 2090 rpl.rpl_dual_pos_advance 'stmt' [ pass ] 3315 rpl.rpl_dual_pos_advance 'mix' [ pass ] 2130 rpl.rpl_dual_pos_advance 'row+innodb_plugin' [ pass ] 2134 rpl.rpl_dual_pos_advance 'stmt+innodb_plugin' [ pass ] 2106 rpl.rpl_dual_pos_advance 'mix+innodb_plugin' [ pass ] 1990 rpl.rpl_extraCol_innodb 'row' [ pass ] 16287 rpl.rpl_extraCol_innodb 'row+innodb_plugin' [ pass ] 14658 rpl.rpl_extraColmaster_innodb 'row' [ pass ] 40021 rpl.rpl_extraColmaster_innodb 'stmt' [ pass ] 39770 rpl.rpl_extraColmaster_innodb 'mix' [ pass ] 40087 rpl.rpl_extraColmaster_innodb 'row+innodb_plugin' [ pass ] 38164 rpl.rpl_extraColmaster_innodb 'stmt+innodb_plugin' [ pass ] 38456 rpl.rpl_extraColmaster_innodb 'mix+innodb_plugin' [ pass ] 39328 rpl.rpl_foreign_key_innodb 'row' [ pass ] 1497 rpl.rpl_foreign_key_innodb 'stmt' [ pass ] 2433 rpl.rpl_foreign_key_innodb 'mix' [ pass ] 1494 rpl.rpl_foreign_key_innodb 'row+innodb_plugin' [ pass ] 1558 rpl.rpl_foreign_key_innodb 'stmt+innodb_plugin' [ pass ] 1574 rpl.rpl_foreign_key_innodb 'mix+innodb_plugin' [ pass ] 1505 rpl.rpl_idempotency 'row' [ pass ] 3576 rpl.rpl_idempotency 'stmt' [ pass ] 2527 rpl.rpl_idempotency 'mix' [ pass ] 2439 rpl.rpl_idempotency 'row+innodb_plugin' [ pass ] 2507 rpl.rpl_idempotency 'stmt+innodb_plugin' [ pass ] 3083 rpl.rpl_idempotency 'mix+innodb_plugin' [ pass ] 2483 rpl.rpl_innodb_bug30888 'row' [ pass ] 84984 rpl.rpl_innodb_bug30888 'mix' [ pass ] 83895 rpl.rpl_innodb_bug30888 'row+innodb_plugin' [ pass ] 84292 rpl.rpl_innodb_bug30888 'mix+innodb_plugin' [ pass ] 84820 rpl.rpl_innodb_mixed_ddl 'mix' [ fail ] Test ended at 2010-05-04 12:28:39 CURRENT_TEST: rpl.rpl_innodb_mixed_ddl mysqltest: In included file "./suite/rpl/include/rpl_mixed_ddl.inc": At line 14: Could not open './suite/rpl/include/rpl_mixed_show_binlog_format.inc' for reading, errno: 2 The result from queries just before the failure was: stop slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; reset master; reset slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; start slave; ==========MASTER========== Warnings from just before the error: Note 1051 Unknown table 't1' Note 1051 Unknown table 't2' Note 1051 Unknown table 't3' Note 1051 Unknown table 't4' Note 1051 Unknown table 't5' Note 1051 Unknown table 't6' Note 1051 Unknown table 't7' Note 1051 Unknown table 't8' - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_innodb_mixed_ddl-mix/' Retrying test, attempt(2/3)... rpl.rpl_innodb_mixed_ddl 'mix' [ retry-fail ] Test ended at 2010-05-04 12:28:43 CURRENT_TEST: rpl.rpl_innodb_mixed_ddl mysqltest: In included file "./suite/rpl/include/rpl_mixed_ddl.inc": At line 14: Could not open './suite/rpl/include/rpl_mixed_show_binlog_format.inc' for reading, errno: 2 The result from queries just before the failure was: stop slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; reset master; reset slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; start slave; ==========MASTER========== Warnings from just before the error: Note 1051 Unknown table 't1' Note 1051 Unknown table 't2' Note 1051 Unknown table 't3' Note 1051 Unknown table 't4' Note 1051 Unknown table 't5' Note 1051 Unknown table 't6' Note 1051 Unknown table 't7' Note 1051 Unknown table 't8' - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_innodb_mixed_ddl-mix/' Test has failed 2 times, no more retries! rpl.rpl_innodb_mixed_ddl 'mix+innodb_plugin' [ fail ] Test ended at 2010-05-04 12:28:48 CURRENT_TEST: rpl.rpl_innodb_mixed_ddl mysqltest: In included file "./suite/rpl/include/rpl_mixed_ddl.inc": At line 14: Could not open './suite/rpl/include/rpl_mixed_show_binlog_format.inc' for reading, errno: 2 The result from queries just before the failure was: stop slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; reset master; reset slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; start slave; ==========MASTER========== Warnings from just before the error: Note 1051 Unknown table 't1' Note 1051 Unknown table 't2' Note 1051 Unknown table 't3' Note 1051 Unknown table 't4' Note 1051 Unknown table 't5' Note 1051 Unknown table 't6' Note 1051 Unknown table 't7' Note 1051 Unknown table 't8' - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_innodb_mixed_ddl-mix+innodb_plugin/' Retrying test, attempt(2/3)... rpl.rpl_innodb_mixed_ddl 'mix+innodb_plugin' [ retry-fail ] Test ended at 2010-05-04 12:28:53 CURRENT_TEST: rpl.rpl_innodb_mixed_ddl mysqltest: In included file "./suite/rpl/include/rpl_mixed_ddl.inc": At line 14: Could not open './suite/rpl/include/rpl_mixed_show_binlog_format.inc' for reading, errno: 2 The result from queries just before the failure was: stop slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; reset master; reset slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; start slave; ==========MASTER========== Warnings from just before the error: Note 1051 Unknown table 't1' Note 1051 Unknown table 't2' Note 1051 Unknown table 't3' Note 1051 Unknown table 't4' Note 1051 Unknown table 't5' Note 1051 Unknown table 't6' Note 1051 Unknown table 't7' Note 1051 Unknown table 't8' - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_innodb_mixed_ddl-mix+innodb_plugin/' Test has failed 2 times, no more retries! rpl.rpl_innodb_mixed_dml 'mix' [ fail ] Test ended at 2010-05-04 12:28:58 CURRENT_TEST: rpl.rpl_innodb_mixed_dml mysqltest: In included file "./suite/rpl/include/rpl_mixed_dml.inc": At line 14: Could not open './suite/rpl/include/rpl_mixed_show_binlog_format.inc' for reading, errno: 2 The result from queries just before the failure was: stop slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; reset master; reset slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; start slave; ==========MASTER========== Warnings from just before the error: Note 1051 Unknown table 't1' Note 1051 Unknown table 't2' Note 1051 Unknown table 't3' Note 1051 Unknown table 't4' Note 1051 Unknown table 't5' Note 1051 Unknown table 't6' Note 1051 Unknown table 't7' Note 1051 Unknown table 't8' - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_innodb_mixed_dml-mix/' Retrying test, attempt(2/3)... rpl.rpl_innodb_mixed_dml 'mix' [ retry-fail ] Test ended at 2010-05-04 12:29:03 CURRENT_TEST: rpl.rpl_innodb_mixed_dml mysqltest: In included file "./suite/rpl/include/rpl_mixed_dml.inc": At line 14: Could not open './suite/rpl/include/rpl_mixed_show_binlog_format.inc' for reading, errno: 2 The result from queries just before the failure was: stop slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; reset master; reset slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; start slave; ==========MASTER========== Warnings from just before the error: Note 1051 Unknown table 't1' Note 1051 Unknown table 't2' Note 1051 Unknown table 't3' Note 1051 Unknown table 't4' Note 1051 Unknown table 't5' Note 1051 Unknown table 't6' Note 1051 Unknown table 't7' Note 1051 Unknown table 't8' - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_innodb_mixed_dml-mix/' Test has failed 2 times, no more retries! rpl.rpl_innodb_mixed_dml 'mix+innodb_plugin' [ fail ] Test ended at 2010-05-04 12:29:08 CURRENT_TEST: rpl.rpl_innodb_mixed_dml mysqltest: In included file "./suite/rpl/include/rpl_mixed_dml.inc": At line 14: Could not open './suite/rpl/include/rpl_mixed_show_binlog_format.inc' for reading, errno: 2 The result from queries just before the failure was: stop slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; reset master; reset slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; start slave; ==========MASTER========== Warnings from just before the error: Note 1051 Unknown table 't1' Note 1051 Unknown table 't2' Note 1051 Unknown table 't3' Note 1051 Unknown table 't4' Note 1051 Unknown table 't5' Note 1051 Unknown table 't6' Note 1051 Unknown table 't7' Note 1051 Unknown table 't8' - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_innodb_mixed_dml-mix+innodb_plugin/' Retrying test, attempt(2/3)... rpl.rpl_innodb_mixed_dml 'mix+innodb_plugin' [ retry-fail ] Test ended at 2010-05-04 12:29:13 CURRENT_TEST: rpl.rpl_innodb_mixed_dml mysqltest: In included file "./suite/rpl/include/rpl_mixed_dml.inc": At line 14: Could not open './suite/rpl/include/rpl_mixed_show_binlog_format.inc' for reading, errno: 2 The result from queries just before the failure was: stop slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; reset master; reset slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; start slave; ==========MASTER========== Warnings from just before the error: Note 1051 Unknown table 't1' Note 1051 Unknown table 't2' Note 1051 Unknown table 't3' Note 1051 Unknown table 't4' Note 1051 Unknown table 't5' Note 1051 Unknown table 't6' Note 1051 Unknown table 't7' Note 1051 Unknown table 't8' - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_innodb_mixed_dml-mix+innodb_plugin/' Test has failed 2 times, no more retries! rpl.rpl_insert_id 'row' [ pass ] 4441 rpl.rpl_insert_id 'stmt' [ pass ] 2624 rpl.rpl_insert_id 'mix' [ pass ] 2688 rpl.rpl_insert_id 'row+innodb_plugin' [ pass ] 2556 rpl.rpl_insert_id 'stmt+innodb_plugin' [ pass ] 2705 rpl.rpl_insert_id 'mix+innodb_plugin' [ pass ] 4075 rpl.rpl_insert_id_pk 'row' [ pass ] 1446 rpl.rpl_insert_id_pk 'stmt' [ pass ] 1394 rpl.rpl_insert_id_pk 'mix' [ pass ] 1335 rpl.rpl_insert_id_pk 'row+innodb_plugin' [ pass ] 1442 rpl.rpl_insert_id_pk 'stmt+innodb_plugin' [ pass ] 1426 rpl.rpl_insert_id_pk 'mix+innodb_plugin' [ pass ] 1438 rpl.rpl_insert_ignore 'row' [ pass ] 1481 rpl.rpl_insert_ignore 'stmt' [ pass ] 1370 rpl.rpl_insert_ignore 'mix' [ pass ] 1417 rpl.rpl_insert_ignore 'row+innodb_plugin' [ pass ] 1513 rpl.rpl_insert_ignore 'stmt+innodb_plugin' [ pass ] 1738 rpl.rpl_insert_ignore 'mix+innodb_plugin' [ pass ] 1474 rpl.rpl_invoked_features 'row' [ pass ] 6247 rpl.rpl_invoked_features 'stmt' [ pass ] 5990 rpl.rpl_invoked_features 'mix' [ pass ] 8084 rpl.rpl_invoked_features 'row+innodb_plugin' [ pass ] 4002 rpl.rpl_invoked_features 'stmt+innodb_plugin' [ pass ] 6255 rpl.rpl_invoked_features 'mix+innodb_plugin' [ pass ] 6194 rpl.rpl_loaddata 'stmt' [ fail ] Test ended at 2010-05-04 12:34:32 CURRENT_TEST: rpl.rpl_loaddata mysqltest: In included file "./extra/rpl_tests/rpl_loaddata.test": At line 2: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_loaddata.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_loaddata-stmt/' Retrying test, attempt(2/3)... rpl.rpl_loaddata 'stmt' [ retry-fail ] Test ended at 2010-05-04 12:34:37 CURRENT_TEST: rpl.rpl_loaddata mysqltest: In included file "./extra/rpl_tests/rpl_loaddata.test": At line 2: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_loaddata.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_loaddata-stmt/' Test has failed 2 times, no more retries! rpl.rpl_loaddata 'mix' [ fail ] Test ended at 2010-05-04 12:34:42 CURRENT_TEST: rpl.rpl_loaddata mysqltest: In included file "./extra/rpl_tests/rpl_loaddata.test": At line 2: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_loaddata.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_loaddata-mix/' Retrying test, attempt(2/3)... rpl.rpl_loaddata 'mix' [ retry-fail ] Test ended at 2010-05-04 12:34:46 CURRENT_TEST: rpl.rpl_loaddata mysqltest: In included file "./extra/rpl_tests/rpl_loaddata.test": At line 2: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_loaddata.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_loaddata-mix/' Test has failed 2 times, no more retries! rpl.rpl_loaddata 'stmt+innodb_plugin' [ fail ] Test ended at 2010-05-04 12:34:50 CURRENT_TEST: rpl.rpl_loaddata mysqltest: In included file "./extra/rpl_tests/rpl_loaddata.test": At line 2: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_loaddata.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_loaddata-stmt+innodb_plugin/' Retrying test, attempt(2/3)... rpl.rpl_loaddata 'stmt+innodb_plugin' [ retry-fail ] Test ended at 2010-05-04 12:34:55 CURRENT_TEST: rpl.rpl_loaddata mysqltest: In included file "./extra/rpl_tests/rpl_loaddata.test": At line 2: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_loaddata.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_loaddata-stmt+innodb_plugin/' Test has failed 2 times, no more retries! rpl.rpl_loaddata 'mix+innodb_plugin' [ fail ] Test ended at 2010-05-04 12:34:59 CURRENT_TEST: rpl.rpl_loaddata mysqltest: In included file "./extra/rpl_tests/rpl_loaddata.test": At line 2: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_loaddata.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_loaddata-mix+innodb_plugin/' Retrying test, attempt(2/3)... rpl.rpl_loaddata 'mix+innodb_plugin' [ retry-fail ] Test ended at 2010-05-04 12:35:03 CURRENT_TEST: rpl.rpl_loaddata mysqltest: In included file "./extra/rpl_tests/rpl_loaddata.test": At line 2: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_loaddata.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_loaddata-mix+innodb_plugin/' Test has failed 2 times, no more retries! rpl.rpl_loaddata_concurrent 'stmt' [ fail ] Test ended at 2010-05-04 12:35:08 CURRENT_TEST: rpl.rpl_loaddata_concurrent mysqltest: In included file "./extra/rpl_tests/rpl_loaddata.test": At line 2: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 The result from queries just before the failure was: CREATE TABLE t1 (c1 char(50)); LOAD DATA INFILE '../../std_data/words.dat' INTO TABLE t1; LOAD DATA CONCURRENT INFILE '../../std_data/words.dat' INTO TABLE t1; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # use `test`; CREATE TABLE t1 (c1 char(50)) master-bin.000001 # Begin_load_query # # ;file_id=#;block_len=# master-bin.000001 # Execute_load_query # # use `test`; LOAD DATA INFILE '../../std_data/words.dat' INTO TABLE `t1` FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`c1`) ;file_id=# master-bin.000001 # Begin_load_query # # ;file_id=#;block_len=# master-bin.000001 # Execute_load_query # # use `test`; LOAD DATA CONCURRENT INFILE '../../std_data/words.dat' INTO TABLE `t1` FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`c1`) ;file_id=# DROP TABLE t1; - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_loaddata_concurrent-stmt/' Retrying test, attempt(2/3)... rpl.rpl_loaddata_concurrent 'stmt' [ retry-fail ] Test ended at 2010-05-04 12:35:12 CURRENT_TEST: rpl.rpl_loaddata_concurrent mysqltest: In included file "./extra/rpl_tests/rpl_loaddata.test": At line 2: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 The result from queries just before the failure was: CREATE TABLE t1 (c1 char(50)); LOAD DATA INFILE '../../std_data/words.dat' INTO TABLE t1; LOAD DATA CONCURRENT INFILE '../../std_data/words.dat' INTO TABLE t1; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # use `test`; CREATE TABLE t1 (c1 char(50)) master-bin.000001 # Begin_load_query # # ;file_id=#;block_len=# master-bin.000001 # Execute_load_query # # use `test`; LOAD DATA INFILE '../../std_data/words.dat' INTO TABLE `t1` FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`c1`) ;file_id=# master-bin.000001 # Begin_load_query # # ;file_id=#;block_len=# master-bin.000001 # Execute_load_query # # use `test`; LOAD DATA CONCURRENT INFILE '../../std_data/words.dat' INTO TABLE `t1` FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`c1`) ;file_id=# DROP TABLE t1; - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_loaddata_concurrent-stmt/' Test has failed 2 times, no more retries! rpl.rpl_loaddata_concurrent 'mix' [ fail ] Test ended at 2010-05-04 12:35:16 CURRENT_TEST: rpl.rpl_loaddata_concurrent mysqltest: In included file "./extra/rpl_tests/rpl_loaddata.test": At line 2: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 The result from queries just before the failure was: CREATE TABLE t1 (c1 char(50)); LOAD DATA INFILE '../../std_data/words.dat' INTO TABLE t1; LOAD DATA CONCURRENT INFILE '../../std_data/words.dat' INTO TABLE t1; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # use `test`; CREATE TABLE t1 (c1 char(50)) master-bin.000001 # Begin_load_query # # ;file_id=#;block_len=# master-bin.000001 # Execute_load_query # # use `test`; LOAD DATA INFILE '../../std_data/words.dat' INTO TABLE `t1` FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`c1`) ;file_id=# master-bin.000001 # Begin_load_query # # ;file_id=#;block_len=# master-bin.000001 # Execute_load_query # # use `test`; LOAD DATA CONCURRENT INFILE '../../std_data/words.dat' INTO TABLE `t1` FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`c1`) ;file_id=# DROP TABLE t1; - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_loaddata_concurrent-mix/' Retrying test, attempt(2/3)... rpl.rpl_loaddata_concurrent 'mix' [ retry-fail ] Test ended at 2010-05-04 12:35:21 CURRENT_TEST: rpl.rpl_loaddata_concurrent mysqltest: In included file "./extra/rpl_tests/rpl_loaddata.test": At line 2: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 The result from queries just before the failure was: CREATE TABLE t1 (c1 char(50)); LOAD DATA INFILE '../../std_data/words.dat' INTO TABLE t1; LOAD DATA CONCURRENT INFILE '../../std_data/words.dat' INTO TABLE t1; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # use `test`; CREATE TABLE t1 (c1 char(50)) master-bin.000001 # Begin_load_query # # ;file_id=#;block_len=# master-bin.000001 # Execute_load_query # # use `test`; LOAD DATA INFILE '../../std_data/words.dat' INTO TABLE `t1` FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`c1`) ;file_id=# master-bin.000001 # Begin_load_query # # ;file_id=#;block_len=# master-bin.000001 # Execute_load_query # # use `test`; LOAD DATA CONCURRENT INFILE '../../std_data/words.dat' INTO TABLE `t1` FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`c1`) ;file_id=# DROP TABLE t1; - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_loaddata_concurrent-mix/' Test has failed 2 times, no more retries! rpl.rpl_loaddata_concurrent 'stmt+innodb_plugin' [ fail ] Test ended at 2010-05-04 12:35:25 CURRENT_TEST: rpl.rpl_loaddata_concurrent mysqltest: In included file "./extra/rpl_tests/rpl_loaddata.test": At line 2: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 The result from queries just before the failure was: CREATE TABLE t1 (c1 char(50)); LOAD DATA INFILE '../../std_data/words.dat' INTO TABLE t1; LOAD DATA CONCURRENT INFILE '../../std_data/words.dat' INTO TABLE t1; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # use `test`; CREATE TABLE t1 (c1 char(50)) master-bin.000001 # Begin_load_query # # ;file_id=#;block_len=# master-bin.000001 # Execute_load_query # # use `test`; LOAD DATA INFILE '../../std_data/words.dat' INTO TABLE `t1` FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`c1`) ;file_id=# master-bin.000001 # Begin_load_query # # ;file_id=#;block_len=# master-bin.000001 # Execute_load_query # # use `test`; LOAD DATA CONCURRENT INFILE '../../std_data/words.dat' INTO TABLE `t1` FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`c1`) ;file_id=# DROP TABLE t1; - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_loaddata_concurrent-stmt+innodb_plugin/' Retrying test, attempt(2/3)... rpl.rpl_loaddata_concurrent 'stmt+innodb_plugin' [ retry-fail ] Test ended at 2010-05-04 12:35:29 CURRENT_TEST: rpl.rpl_loaddata_concurrent mysqltest: In included file "./extra/rpl_tests/rpl_loaddata.test": At line 2: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 The result from queries just before the failure was: CREATE TABLE t1 (c1 char(50)); LOAD DATA INFILE '../../std_data/words.dat' INTO TABLE t1; LOAD DATA CONCURRENT INFILE '../../std_data/words.dat' INTO TABLE t1; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # use `test`; CREATE TABLE t1 (c1 char(50)) master-bin.000001 # Begin_load_query # # ;file_id=#;block_len=# master-bin.000001 # Execute_load_query # # use `test`; LOAD DATA INFILE '../../std_data/words.dat' INTO TABLE `t1` FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`c1`) ;file_id=# master-bin.000001 # Begin_load_query # # ;file_id=#;block_len=# master-bin.000001 # Execute_load_query # # use `test`; LOAD DATA CONCURRENT INFILE '../../std_data/words.dat' INTO TABLE `t1` FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`c1`) ;file_id=# DROP TABLE t1; - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_loaddata_concurrent-stmt+innodb_plugin/' Test has failed 2 times, no more retries! rpl.rpl_loaddata_concurrent 'mix+innodb_plugin' [ fail ] Test ended at 2010-05-04 12:35:34 CURRENT_TEST: rpl.rpl_loaddata_concurrent mysqltest: In included file "./extra/rpl_tests/rpl_loaddata.test": At line 2: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 The result from queries just before the failure was: CREATE TABLE t1 (c1 char(50)); LOAD DATA INFILE '../../std_data/words.dat' INTO TABLE t1; LOAD DATA CONCURRENT INFILE '../../std_data/words.dat' INTO TABLE t1; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # use `test`; CREATE TABLE t1 (c1 char(50)) master-bin.000001 # Begin_load_query # # ;file_id=#;block_len=# master-bin.000001 # Execute_load_query # # use `test`; LOAD DATA INFILE '../../std_data/words.dat' INTO TABLE `t1` FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`c1`) ;file_id=# master-bin.000001 # Begin_load_query # # ;file_id=#;block_len=# master-bin.000001 # Execute_load_query # # use `test`; LOAD DATA CONCURRENT INFILE '../../std_data/words.dat' INTO TABLE `t1` FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`c1`) ;file_id=# DROP TABLE t1; - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_loaddata_concurrent-mix+innodb_plugin/' Retrying test, attempt(2/3)... rpl.rpl_loaddata_concurrent 'mix+innodb_plugin' [ retry-fail ] Test ended at 2010-05-04 12:35:38 CURRENT_TEST: rpl.rpl_loaddata_concurrent mysqltest: In included file "./extra/rpl_tests/rpl_loaddata.test": At line 2: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 The result from queries just before the failure was: CREATE TABLE t1 (c1 char(50)); LOAD DATA INFILE '../../std_data/words.dat' INTO TABLE t1; LOAD DATA CONCURRENT INFILE '../../std_data/words.dat' INTO TABLE t1; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # use `test`; CREATE TABLE t1 (c1 char(50)) master-bin.000001 # Begin_load_query # # ;file_id=#;block_len=# master-bin.000001 # Execute_load_query # # use `test`; LOAD DATA INFILE '../../std_data/words.dat' INTO TABLE `t1` FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`c1`) ;file_id=# master-bin.000001 # Begin_load_query # # ;file_id=#;block_len=# master-bin.000001 # Execute_load_query # # use `test`; LOAD DATA CONCURRENT INFILE '../../std_data/words.dat' INTO TABLE `t1` FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`c1`) ;file_id=# DROP TABLE t1; - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_loaddata_concurrent-mix+innodb_plugin/' Test has failed 2 times, no more retries! rpl.rpl_multi_engine 'row' [ pass ] 2258 rpl.rpl_multi_engine 'stmt' [ pass ] 2214 rpl.rpl_multi_engine 'mix' [ pass ] 2310 rpl.rpl_multi_engine 'row+innodb_plugin' [ pass ] 2250 rpl.rpl_multi_engine 'stmt+innodb_plugin' [ pass ] 2306 rpl.rpl_multi_engine 'mix+innodb_plugin' [ pass ] 2211 rpl.rpl_not_null_innodb 'row' [ pass ] 4027 rpl.rpl_not_null_innodb 'row+innodb_plugin' [ pass ] 3649 rpl.rpl_read_only 'row' [ pass ] 1074 rpl.rpl_read_only 'stmt' [ pass ] 1078 rpl.rpl_read_only 'mix' [ pass ] 1033 rpl.rpl_read_only 'row+innodb_plugin' [ pass ] 1070 rpl.rpl_read_only 'stmt+innodb_plugin' [ pass ] 1070 rpl.rpl_read_only 'mix+innodb_plugin' [ pass ] 1073 rpl.rpl_relay_space_innodb 'row' [ pass ] 1061 rpl.rpl_relay_space_innodb 'stmt' [ pass ] 1101 rpl.rpl_relay_space_innodb 'mix' [ pass ] 1117 rpl.rpl_relay_space_innodb 'row+innodb_plugin' [ pass ] 1061 rpl.rpl_relay_space_innodb 'stmt+innodb_plugin' [ pass ] 1130 rpl.rpl_relay_space_innodb 'mix+innodb_plugin' [ pass ] 1233 rpl.rpl_relayrotate 'row' [ pass ] 9533 rpl.rpl_relayrotate 'stmt' [ pass ] 9957 rpl.rpl_relayrotate 'mix' [ pass ] 9664 rpl.rpl_relayrotate 'row+innodb_plugin' [ pass ] 8468 rpl.rpl_relayrotate 'stmt+innodb_plugin' [ pass ] 9469 rpl.rpl_relayrotate 'mix+innodb_plugin' [ pass ] 9417 rpl.rpl_row_basic_3innodb 'row' [ pass ] 10261 rpl.rpl_row_basic_3innodb 'row+innodb_plugin' [ pass ] 12234 rpl.rpl_row_blob_innodb 'row' [ pass ] 22045 rpl.rpl_row_blob_innodb 'row+innodb_plugin' [ pass ] 22298 rpl.rpl_row_func003 'row' [ pass ] 12988 rpl.rpl_row_func003 'row+innodb_plugin' [ pass ] 13029 rpl.rpl_row_sp002_innodb 'row' [ pass ] 2926 rpl.rpl_row_sp002_innodb 'row+innodb_plugin' [ pass ] 2890 rpl.rpl_row_sp003 'row' [ pass ] 106948 rpl.rpl_row_sp003 'row+innodb_plugin' [ pass ] 106943 rpl.rpl_row_sp006_InnoDB 'row' [ pass ] 1415 rpl.rpl_row_sp006_InnoDB 'row+innodb_plugin' [ pass ] 1402 rpl.rpl_row_sp007_innodb 'row' [ pass ] 1061 rpl.rpl_row_sp007_innodb 'row+innodb_plugin' [ pass ] 1019 rpl.rpl_row_tabledefs_3innodb 'row' [ pass ] 4344 rpl.rpl_row_tabledefs_3innodb 'row+innodb_plugin' [ pass ] 4155 rpl.rpl_row_tbl_metadata 'row' [ pass ] 5813 rpl.rpl_row_tbl_metadata 'row+innodb_plugin' [ pass ] 7143 rpl.rpl_row_trig004 'row' [ pass ] 10969 rpl.rpl_row_trig004 'row+innodb_plugin' [ pass ] 10961 rpl.rpl_set_null_innodb 'row' [ pass ] 2678 rpl.rpl_set_null_innodb 'mix' [ pass ] 2718 rpl.rpl_set_null_innodb 'row+innodb_plugin' [ pass ] 2518 rpl.rpl_set_null_innodb 'mix+innodb_plugin' [ pass ] 2675 rpl.rpl_skip_error 'row' [ pass ] 1238 rpl.rpl_skip_error 'stmt' [ pass ] 1237 rpl.rpl_skip_error 'mix' [ pass ] 1249 rpl.rpl_skip_error 'row+innodb_plugin' [ pass ] 1214 rpl.rpl_skip_error 'stmt+innodb_plugin' [ pass ] 1290 rpl.rpl_skip_error 'mix+innodb_plugin' [ pass ] 1261 rpl.rpl_slave_grp_exec 'row' [ pass ] 2691 rpl.rpl_slave_grp_exec 'stmt' [ pass ] 2803 rpl.rpl_slave_grp_exec 'mix' [ pass ] 2531 rpl.rpl_slave_grp_exec 'row+innodb_plugin' [ pass ] 2664 rpl.rpl_slave_grp_exec 'stmt+innodb_plugin' [ pass ] 2755 rpl.rpl_slave_grp_exec 'mix+innodb_plugin' [ pass ] 2795 rpl.rpl_slave_load_in 'row' [ pass ] 1006 rpl.rpl_slave_load_in 'stmt' [ pass ] 1042 rpl.rpl_slave_load_in 'mix' [ pass ] 1025 rpl.rpl_slave_load_in 'row+innodb_plugin' [ pass ] 1074 rpl.rpl_slave_load_in 'stmt+innodb_plugin' [ pass ] 1049 rpl.rpl_slave_load_in 'mix+innodb_plugin' [ pass ] 1005 rpl.rpl_slave_skip 'row' [ pass ] 3355 rpl.rpl_slave_skip 'stmt' [ pass ] 3423 rpl.rpl_slave_skip 'mix' [ pass ] 3339 rpl.rpl_slave_skip 'row+innodb_plugin' [ pass ] 3448 rpl.rpl_slave_skip 'stmt+innodb_plugin' [ pass ] 3471 rpl.rpl_slave_skip 'mix+innodb_plugin' [ pass ] 3582 rpl.rpl_start_stop_slave 'row' [ pass ] 3214 rpl.rpl_start_stop_slave 'stmt' [ pass ] 2805 rpl.rpl_start_stop_slave 'mix' [ pass ] 2810 rpl.rpl_start_stop_slave 'row+innodb_plugin' [ pass ] 3278 rpl.rpl_start_stop_slave 'stmt+innodb_plugin' [ pass ] 2849 rpl.rpl_start_stop_slave 'mix+innodb_plugin' [ pass ] 2710 rpl.rpl_stm_mixing_engines 'stmt' [ pass ] 6287 rpl.rpl_stm_mixing_engines 'stmt+innodb_plugin' [ pass ] 7476 rpl.rpl_trigger 'stmt' [ fail ] Test ended at 2010-05-04 12:58:52 CURRENT_TEST: rpl.rpl_trigger mysqltest: At line 5: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_trigger.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_trigger-stmt/' Retrying test, attempt(2/3)... rpl.rpl_trigger 'stmt' [ retry-fail ] Test ended at 2010-05-04 12:58:57 CURRENT_TEST: rpl.rpl_trigger mysqltest: At line 5: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_trigger.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_trigger-stmt/' Test has failed 2 times, no more retries! rpl.rpl_trigger 'mix' [ fail ] Test ended at 2010-05-04 12:59:01 CURRENT_TEST: rpl.rpl_trigger mysqltest: At line 5: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_trigger.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_trigger-mix/' Retrying test, attempt(2/3)... rpl.rpl_trigger 'mix' [ retry-fail ] Test ended at 2010-05-04 12:59:05 CURRENT_TEST: rpl.rpl_trigger mysqltest: At line 5: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_trigger.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_trigger-mix/' Test has failed 2 times, no more retries! rpl.rpl_trigger 'stmt+innodb_plugin' [ fail ] Test ended at 2010-05-04 12:59:09 CURRENT_TEST: rpl.rpl_trigger mysqltest: At line 5: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_trigger.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_trigger-stmt+innodb_plugin/' Retrying test, attempt(2/3)... rpl.rpl_trigger 'stmt+innodb_plugin' [ retry-fail ] Test ended at 2010-05-04 12:59:13 CURRENT_TEST: rpl.rpl_trigger mysqltest: At line 5: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_trigger.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_trigger-stmt+innodb_plugin/' Test has failed 2 times, no more retries! rpl.rpl_trigger 'mix+innodb_plugin' [ fail ] Test ended at 2010-05-04 12:59:18 CURRENT_TEST: rpl.rpl_trigger mysqltest: At line 5: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_trigger.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_trigger-mix+innodb_plugin/' Retrying test, attempt(2/3)... rpl.rpl_trigger 'mix+innodb_plugin' [ retry-fail ] Test ended at 2010-05-04 12:59:22 CURRENT_TEST: rpl.rpl_trigger mysqltest: At line 5: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_trigger.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_trigger-mix+innodb_plugin/' Test has failed 2 times, no more retries! rpl.rpl_truncate_3innodb 'row' [ pass ] 2831 rpl.rpl_truncate_3innodb 'stmt' [ pass ] 3939 rpl.rpl_truncate_3innodb 'mix' [ pass ] 2775 rpl.rpl_truncate_3innodb 'row+innodb_plugin' [ pass ] 2911 rpl.rpl_truncate_3innodb 'stmt+innodb_plugin' [ pass ] 2842 rpl.rpl_truncate_3innodb 'mix+innodb_plugin' [ pass ] 2791 rpl.rpl_typeconv_innodb 'row' [ pass ] 2383 rpl.rpl_typeconv_innodb 'row+innodb_plugin' [ pass ] 1310 rpl.rpl_sp 'mix' [ pass ] 2188 rpl.rpl_sp_effects 'row' [ pass ] 1099 rpl.rpl_sp_effects 'stmt' [ pass ] 1075 rpl.rpl_sp_effects 'mix' [ pass ] 1135 rpl.rpl_sporadic_master 'row' [ pass ] 1250 rpl.rpl_sporadic_master 'stmt' [ pass ] 1219 rpl.rpl_sporadic_master 'mix' [ pass ] 1997 rpl.rpl_row_mysqlbinlog 'row' [ skipped ] Test requires: 'slave-running' rpl.rpl_loaddata_map 'stmt' [ fail ] Test ended at 2010-05-04 13:02:07 CURRENT_TEST: rpl.rpl_loaddata_map mysqltest: At line 19: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_loaddata_map.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_loaddata_map-stmt/' Retrying test, attempt(2/3)... rpl.rpl_loaddata_map 'stmt' [ retry-fail ] Test ended at 2010-05-04 13:02:10 CURRENT_TEST: rpl.rpl_loaddata_map mysqltest: At line 19: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_loaddata_map.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_loaddata_map-stmt/' Test has failed 2 times, no more retries! rpl.rpl_loaddata_map 'mix' [ fail ] Test ended at 2010-05-04 13:02:12 CURRENT_TEST: rpl.rpl_loaddata_map mysqltest: At line 19: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_loaddata_map.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_loaddata_map-mix/' Retrying test, attempt(2/3)... rpl.rpl_loaddata_map 'mix' [ retry-fail ] Test ended at 2010-05-04 13:02:15 CURRENT_TEST: rpl.rpl_loaddata_map mysqltest: At line 19: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_loaddata_map.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_loaddata_map-mix/' Test has failed 2 times, no more retries! rpl.rpl_flushlog_loop 'row' [ pass ] 1662 rpl.rpl_flushlog_loop 'stmt' [ pass ] 1709 rpl.rpl_flushlog_loop 'mix' [ pass ] 1694 rpl.rpl_cross_version 'row' [ fail ] Test ended at 2010-05-04 13:02:35 CURRENT_TEST: rpl.rpl_cross_version mysqltest: In included file "./include/setup_fake_relay_log.inc": At line 70: command "copy_file" failed with error 1 The result from queries just before the failure was: ==== Initialize ==== Setting up fake replication from MYSQL_TEST_DIR/suite/binlog/std_data/binlog_old_version_4_1.000001 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_cross_version-row/' Retrying test, attempt(2/3)... rpl.rpl_cross_version 'row' [ retry-fail ] Test ended at 2010-05-04 13:02:38 CURRENT_TEST: rpl.rpl_cross_version mysqltest: In included file "./include/setup_fake_relay_log.inc": At line 70: command "copy_file" failed with error 1 The result from queries just before the failure was: ==== Initialize ==== Setting up fake replication from MYSQL_TEST_DIR/suite/binlog/std_data/binlog_old_version_4_1.000001 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_cross_version-row/' Test has failed 2 times, no more retries! rpl.rpl_cross_version 'stmt' [ fail ] Test ended at 2010-05-04 13:02:41 CURRENT_TEST: rpl.rpl_cross_version mysqltest: In included file "./include/setup_fake_relay_log.inc": At line 70: command "copy_file" failed with error 1 The result from queries just before the failure was: ==== Initialize ==== Setting up fake replication from MYSQL_TEST_DIR/suite/binlog/std_data/binlog_old_version_4_1.000001 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_cross_version-stmt/' Retrying test, attempt(2/3)... rpl.rpl_cross_version 'stmt' [ retry-fail ] Test ended at 2010-05-04 13:02:44 CURRENT_TEST: rpl.rpl_cross_version mysqltest: In included file "./include/setup_fake_relay_log.inc": At line 70: command "copy_file" failed with error 1 The result from queries just before the failure was: ==== Initialize ==== Setting up fake replication from MYSQL_TEST_DIR/suite/binlog/std_data/binlog_old_version_4_1.000001 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_cross_version-stmt/' Test has failed 2 times, no more retries! rpl.rpl_cross_version 'mix' [ fail ] Test ended at 2010-05-04 13:02:46 CURRENT_TEST: rpl.rpl_cross_version mysqltest: In included file "./include/setup_fake_relay_log.inc": At line 70: command "copy_file" failed with error 1 The result from queries just before the failure was: ==== Initialize ==== Setting up fake replication from MYSQL_TEST_DIR/suite/binlog/std_data/binlog_old_version_4_1.000001 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_cross_version-mix/' Retrying test, attempt(2/3)... rpl.rpl_cross_version 'mix' [ retry-fail ] Test ended at 2010-05-04 13:02:49 CURRENT_TEST: rpl.rpl_cross_version mysqltest: In included file "./include/setup_fake_relay_log.inc": At line 70: command "copy_file" failed with error 1 The result from queries just before the failure was: ==== Initialize ==== Setting up fake replication from MYSQL_TEST_DIR/suite/binlog/std_data/binlog_old_version_4_1.000001 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_cross_version-mix/' Test has failed 2 times, no more retries! rpl.rpl_loaddata_symlink 'stmt' [ pass ] 713 rpl.rpl_row_log 'row' [ pass ] 2851 rpl.rpl_packet 'row' [ pass ] 1778 rpl.rpl000010 'row' [ pass ] 665 rpl.rpl000010 'stmt' [ pass ] 673 rpl.rpl000010 'mix' [ pass ] 665 rpl.rpl000011 'row' [ pass ] 815 rpl.rpl000011 'stmt' [ pass ] 790 rpl.rpl000011 'mix' [ pass ] 785 rpl.rpl000013 'stmt' [ fail ] Test ended at 2010-05-04 13:03:47 CURRENT_TEST: rpl.rpl000013 mysqltest: At line 10: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl000013.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl000013-stmt/' Retrying test, attempt(2/3)... rpl.rpl000013 'stmt' [ retry-fail ] Test ended at 2010-05-04 13:03:50 CURRENT_TEST: rpl.rpl000013 mysqltest: At line 10: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl000013.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl000013-stmt/' Test has failed 2 times, no more retries! rpl.rpl000013 'mix' [ fail ] Test ended at 2010-05-04 13:03:53 CURRENT_TEST: rpl.rpl000013 mysqltest: At line 10: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl000013.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl000013-mix/' Retrying test, attempt(2/3)... rpl.rpl000013 'mix' [ retry-fail ] Test ended at 2010-05-04 13:03:57 CURRENT_TEST: rpl.rpl000013 mysqltest: At line 10: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl000013.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl000013-mix/' Test has failed 2 times, no more retries! rpl.rpl000017 'row' [ pass ] 918 rpl.rpl000017 'stmt' [ pass ] 782 rpl.rpl000017 'mix' [ pass ] 786 rpl.rpl_EE_err 'row' [ pass ] 665 rpl.rpl_EE_err 'stmt' [ pass ] 673 rpl.rpl_EE_err 'mix' [ pass ] 685 rpl.rpl_LD_INFILE 'row' [ pass ] 677 rpl.rpl_LD_INFILE 'stmt' [ pass ] 677 rpl.rpl_LD_INFILE 'mix' [ pass ] 669 rpl.rpl_alter 'row' [ pass ] 942 rpl.rpl_alter 'stmt' [ pass ] 961 rpl.rpl_alter 'mix' [ pass ] 982 rpl.rpl_alter_db 'row' [ pass ] 617 rpl.rpl_alter_db 'stmt' [ pass ] 601 rpl.rpl_alter_db 'mix' [ pass ] 609 rpl.rpl_auto_increment_11932 'row' [ pass ] 766 rpl.rpl_auto_increment_11932 'stmt' [ pass ] 789 rpl.rpl_auto_increment_11932 'mix' [ pass ] 794 rpl.rpl_binlog_query_filter_rules 'row' [ pass ] 392 rpl.rpl_bit 'row' [ pass ] 677 rpl.rpl_bit 'stmt' [ pass ] 664 rpl.rpl_bit 'mix' [ pass ] 694 rpl.rpl_bit_npk 'row' [ pass ] 810 rpl.rpl_bit_npk 'stmt' [ pass ] 1002 rpl.rpl_bit_npk 'mix' [ pass ] 805 rpl.rpl_blackhole 'row' [ pass ] 1003 rpl.rpl_blackhole 'stmt' [ pass ] 998 rpl.rpl_blackhole 'mix' [ pass ] 1085 rpl.rpl_bug31076 'row' [ pass ] 746 rpl.rpl_bug31076 'stmt' [ pass ] 745 rpl.rpl_bug31076 'mix' [ pass ] 710 rpl.rpl_bug38694 'row' [ pass ] 1225 rpl.rpl_bug38694 'stmt' [ pass ] 590 rpl.rpl_bug38694 'mix' [ pass ] 592 rpl.rpl_change_master 'row' [ pass ] 1046 rpl.rpl_change_master 'stmt' [ pass ] 1014 rpl.rpl_change_master 'mix' [ pass ] 886 rpl.rpl_charset 'row' [ pass ] 938 rpl.rpl_charset 'stmt' [ pass ] 998 rpl.rpl_charset 'mix' [ pass ] 950 rpl.rpl_charset_sjis 'row' [ pass ] 650 rpl.rpl_charset_sjis 'stmt' [ pass ] 914 rpl.rpl_charset_sjis 'mix' [ pass ] 674 rpl.rpl_colSize 'row' [ pass ] 1630 rpl.rpl_colSize 'stmt' [ pass ] 1626 rpl.rpl_colSize 'mix' [ pass ] 1678 rpl.rpl_create_if_not_exists 'row' [ pass ] 1287 rpl.rpl_create_if_not_exists 'stmt' [ pass ] 1326 rpl.rpl_create_if_not_exists 'mix' [ pass ] 1335 rpl.rpl_critical_errors 'row' [ pass ] 1 rpl.rpl_critical_errors 'stmt' [ pass ] 1 rpl.rpl_critical_errors 'mix' [ pass ] 1 rpl.rpl_delete_no_where 'row' [ pass ] 1329 rpl.rpl_delete_no_where 'stmt' [ pass ] 685 rpl.rpl_delete_no_where 'mix' [ pass ] 669 rpl.rpl_do_grant 'row' [ pass ] 2160 rpl.rpl_do_grant 'stmt' [ pass ] 2055 rpl.rpl_do_grant 'mix' [ pass ] 2003 rpl.rpl_drop 'row' [ pass ] 637 rpl.rpl_drop 'stmt' [ pass ] 641 rpl.rpl_drop 'mix' [ pass ] 649 rpl.rpl_drop_db 'row' [ pass ] 6972 rpl.rpl_drop_db 'stmt' [ pass ] 4743 rpl.rpl_drop_db 'mix' [ pass ] 4870 rpl.rpl_drop_if_exists 'row' [ pass ] 303 rpl.rpl_drop_if_exists 'stmt' [ pass ] 279 rpl.rpl_drop_if_exists 'mix' [ pass ] 278 rpl.rpl_drop_temp 'stmt' [ fail ] Test ended at 2010-05-04 13:10:55 CURRENT_TEST: rpl.rpl_drop_temp mysqltest: At line 9: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 The result from queries just before the failure was: stop slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; reset master; reset slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; start slave; Warnings from just before the error: Note 1051 Unknown table 't1' Note 1051 Unknown table 't2' Note 1051 Unknown table 't3' Note 1051 Unknown table 't4' Note 1051 Unknown table 't5' Note 1051 Unknown table 't6' Note 1051 Unknown table 't7' Note 1051 Unknown table 't8' - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_drop_temp-stmt/' Retrying test, attempt(2/3)... rpl.rpl_drop_temp 'stmt' [ retry-fail ] Test ended at 2010-05-04 13:10:59 CURRENT_TEST: rpl.rpl_drop_temp mysqltest: At line 9: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 The result from queries just before the failure was: stop slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; reset master; reset slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; start slave; Warnings from just before the error: Note 1051 Unknown table 't1' Note 1051 Unknown table 't2' Note 1051 Unknown table 't3' Note 1051 Unknown table 't4' Note 1051 Unknown table 't5' Note 1051 Unknown table 't6' Note 1051 Unknown table 't7' Note 1051 Unknown table 't8' - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_drop_temp-stmt/' Test has failed 2 times, no more retries! rpl.rpl_drop_temp 'mix' [ fail ] Test ended at 2010-05-04 13:11:02 CURRENT_TEST: rpl.rpl_drop_temp mysqltest: At line 9: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 The result from queries just before the failure was: stop slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; reset master; reset slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; start slave; Warnings from just before the error: Note 1051 Unknown table 't1' Note 1051 Unknown table 't2' Note 1051 Unknown table 't3' Note 1051 Unknown table 't4' Note 1051 Unknown table 't5' Note 1051 Unknown table 't6' Note 1051 Unknown table 't7' Note 1051 Unknown table 't8' - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_drop_temp-mix/' Retrying test, attempt(2/3)... rpl.rpl_drop_temp 'mix' [ retry-fail ] Test ended at 2010-05-04 13:11:05 CURRENT_TEST: rpl.rpl_drop_temp mysqltest: At line 9: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 The result from queries just before the failure was: stop slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; reset master; reset slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; start slave; Warnings from just before the error: Note 1051 Unknown table 't1' Note 1051 Unknown table 't2' Note 1051 Unknown table 't3' Note 1051 Unknown table 't4' Note 1051 Unknown table 't5' Note 1051 Unknown table 't6' Note 1051 Unknown table 't7' Note 1051 Unknown table 't8' - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_drop_temp-mix/' Test has failed 2 times, no more retries! rpl.rpl_drop_view 'row' [ pass ] 918 rpl.rpl_drop_view 'stmt' [ pass ] 962 rpl.rpl_drop_view 'mix' [ pass ] 973 rpl.rpl_empty_master_crash 'row' [ pass ] 416 rpl.rpl_empty_master_crash 'stmt' [ pass ] 574 rpl.rpl_empty_master_crash 'mix' [ pass ] 554 rpl.rpl_err_ignoredtable 'row' [ pass ] 10789 rpl.rpl_err_ignoredtable 'stmt' [ pass ] 10801 rpl.rpl_err_ignoredtable 'mix' [ pass ] 11601 rpl.rpl_events 'row' [ pass ] 1059 rpl.rpl_events 'stmt' [ pass ] 1062 rpl.rpl_events 'mix' [ pass ] 1103 rpl.rpl_extraCol_myisam 'row' [ pass ] 12704 rpl.rpl_extraColmaster_myisam 'row' [ pass ] 24474 rpl.rpl_extraColmaster_myisam 'stmt' [ pass ] 22868 rpl.rpl_extraColmaster_myisam 'mix' [ pass ] 24462 rpl.rpl_filter_tables_not_exist 'stmt' [ fail ] Test ended at 2010-05-04 13:19:59 CURRENT_TEST: rpl.rpl_filter_tables_not_exist *** /home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/suite/rpl/r/rpl_filter_tables_not_exist.result Sun Apr 11 00:18:05 2010 --- /home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/suite/rpl/r/rpl_filter_tables_not_exist.reject Tue May 4 14:19:59 2010 *************** *** 28,33 **** --- 28,39 ---- t1 t2 t3 + t4 + t5 + t6 + t7 + t8 + t9 [on master] UPDATE t7 LEFT JOIN t4 ON (t4.id=t7.id) SET d=0, g=0 where t7.id=1; UPDATE t7 LEFT JOIN (t4, t5, t6) ON (t7.id=t4.id and t7.id=t5.id and t7.id=t6.id) SET d=0, e=0, f=0, g=0 where t7.id=1; *************** *** 48,151 **** UPDATE t7 LEFT JOIN (t8, t4, t1) ON (t7.id=t8.id and t7.id=t4.id and t7.id=t1.id) SET a=0, d=0, g=0, h=0 where t7.id=1; UPDATE t1 LEFT JOIN t4 ON (t1.id=t4.id) SET a=0 where t1.id=1; --source include/wait_for_slave_sql_error_and_skip.inc ! Last_SQL_Error = Error 'Table 'test.t4' doesn't exist' on query. Default database: 'test'. Query: 'UPDATE t1 LEFT JOIN t4 ON (t1.id=t4.id) SET a=0 where t1.id=1' ! set global sql_slave_skip_counter=1; ! include/start_slave.inc ! UPDATE t1 LEFT JOIN (t4, t7) ON (t1.id=t4.id and t1.id=t7.id) SET a=0 where t1.id=1; ! --source include/wait_for_slave_sql_error_and_skip.inc ! Last_SQL_Error = Error 'Table 'test.t4' doesn't exist' on query. Default database: 'test'. Query: 'UPDATE t1 LEFT JOIN (t4, t7) ON (t1.id=t4.id and t1.id=t7.id) SET a=0 where t1.id=1' ! set global sql_slave_skip_counter=1; ! include/start_slave.inc ! UPDATE t1 LEFT JOIN (t2, t4, t7) ON (t1.id=t2.id and t1.id=t4.id and t1.id=t7.id) SET a=0, b=0 where t1.id=1; ! --source include/wait_for_slave_sql_error_and_skip.inc ! Last_SQL_Error = Error 'Table 'test.t4' doesn't exist' on query. Default database: 'test'. Query: 'UPDATE t1 LEFT JOIN (t2, t4, t7) ON (t1.id=t2.id and t1.id=t4.id and t1.id=t7.id) SET a=0, b=0 where t1.id=1' ! set global sql_slave_skip_counter=1; ! include/start_slave.inc ! UPDATE t1 LEFT JOIN (t2, t3, t7) ON (t1.id=t2.id and t1.id=t3.id and t1.id=t7.id) SET a=0, b=0, c=0 where t1.id=1; ! --source include/wait_for_slave_sql_error_and_skip.inc ! Last_SQL_Error = Error 'Table 'test.t7' doesn't exist' on query. Default database: 'test'. Query: 'UPDATE t1 LEFT JOIN (t2, t3, t7) ON (t1.id=t2.id and t1.id=t3.id and t1.id=t7.id) SET a=0, b=0, c=0 where t1.id=1' ! set global sql_slave_skip_counter=1; ! include/start_slave.inc ! UPDATE t1 LEFT JOIN t7 ON (t1.id=t7.id) SET a=0, g=0 where t1.id=1; ! --source include/wait_for_slave_sql_error_and_skip.inc ! Last_SQL_Error = Error 'Table 'test.t7' doesn't exist' on query. Default database: 'test'. Query: 'UPDATE t1 LEFT JOIN t7 ON (t1.id=t7.id) SET a=0, g=0 where t1.id=1' ! set global sql_slave_skip_counter=1; ! include/start_slave.inc ! UPDATE t7 LEFT JOIN t1 ON (t1.id=t7.id) SET a=0, g=0 where t7.id=1; ! --source include/wait_for_slave_sql_error_and_skip.inc ! Last_SQL_Error = Error 'Table 'test.t7' doesn't exist' on query. Default database: 'test'. Query: 'UPDATE t7 LEFT JOIN t1 ON (t1.id=t7.id) SET a=0, g=0 where t7.id=1' ! set global sql_slave_skip_counter=1; ! include/start_slave.inc ! UPDATE t1 LEFT JOIN (t4, t5, t7) ON (t1.id=t4.id and t1.id=t5.id and t1.id=t7.id) SET a=0, g=0 where t1.id=1; ! --source include/wait_for_slave_sql_error_and_skip.inc ! Last_SQL_Error = Error 'Table 'test.t4' doesn't exist' on query. Default database: 'test'. Query: 'UPDATE t1 LEFT JOIN (t4, t5, t7) ON (t1.id=t4.id and t1.id=t5.id and t1.id=t7.id) SET a=0, g=0 where t1.id=1' ! set global sql_slave_skip_counter=1; ! include/start_slave.inc ! UPDATE t1 LEFT JOIN (t4, t7, t8) ON (t1.id=t4.id and t1.id=t7.id and t1.id=t8.id) SET a=0, g=0 where t1.id=1; ! --source include/wait_for_slave_sql_error_and_skip.inc ! Last_SQL_Error = Error 'Table 'test.t4' doesn't exist' on query. Default database: 'test'. Query: 'UPDATE t1 LEFT JOIN (t4, t7, t8) ON (t1.id=t4.id and t1.id=t7.id and t1.id=t8.id) SET a=0, g=0 where t1.id=1' ! set global sql_slave_skip_counter=1; ! include/start_slave.inc ! UPDATE t1 LEFT JOIN (t7, t8, t9) ON (t1.id=t7.id and t1.id=t8.id and t1.id=t9.id) SET a=0, g=0, h=0, i=0 where t1.id=1; ! --source include/wait_for_slave_sql_error_and_skip.inc ! Last_SQL_Error = Error 'Table 'test.t7' doesn't exist' on query. Default database: 'test'. Query: 'UPDATE t1 LEFT JOIN (t7, t8, t9) ON (t1.id=t7.id and t1.id=t8.id and t1.id=t9.id) SET a=0, g=0, h=0, i=0 where t1.id=1' ! set global sql_slave_skip_counter=1; ! include/start_slave.inc ! UPDATE t7 LEFT JOIN (t1, t2, t3) ON (t7.id=t1.id and t7.id=t2.id and t7.id=t3.id) SET g=0, a=0, b=0, c=0 where t7.id=1; ! --source include/wait_for_slave_sql_error_and_skip.inc ! Last_SQL_Error = Error 'Table 'test.t7' doesn't exist' on query. Default database: 'test'. Query: 'UPDATE t7 LEFT JOIN (t1, t2, t3) ON (t7.id=t1.id and t7.id=t2.id and t7.id=t3.id) SET g=0, a=0, b=0, c=0 where t7.id=1' ! set global sql_slave_skip_counter=1; ! include/start_slave.inc ! UPDATE t7 LEFT JOIN (t4, t5, t3) ON (t7.id=t4.id and t7.id=t5.id and t7.id=t3.id) SET g=0, c=0 where t7.id=1; ! --source include/wait_for_slave_sql_error_and_skip.inc ! Last_SQL_Error = Error 'Table 'test.t7' doesn't exist' on query. Default database: 'test'. Query: 'UPDATE t7 LEFT JOIN (t4, t5, t3) ON (t7.id=t4.id and t7.id=t5.id and t7.id=t3.id) SET g=0, c=0 where t7.id=1' ! set global sql_slave_skip_counter=1; ! include/start_slave.inc ! UPDATE t7 LEFT JOIN (t8, t9, t3) ON (t7.id=t8.id and t7.id=t9.id and t7.id=t3.id) SET g=0, h=0, i=0, c=0 where t7.id=1; ! --source include/wait_for_slave_sql_error_and_skip.inc ! Last_SQL_Error = Error 'Table 'test.t7' doesn't exist' on query. Default database: 'test'. Query: 'UPDATE t7 LEFT JOIN (t8, t9, t3) ON (t7.id=t8.id and t7.id=t9.id and t7.id=t3.id) SET g=0, h=0, i=0, c=0 where t7.id=1' ! set global sql_slave_skip_counter=1; ! include/start_slave.inc ! UPDATE t1 LEFT JOIN t4 ON (t1.id=t4.id) SET a=0, d=0 where t1.id=1; ! --source include/wait_for_slave_sql_error_and_skip.inc ! Last_SQL_Error = Error 'Table 'test.t4' doesn't exist' on query. Default database: 'test'. Query: 'UPDATE t1 LEFT JOIN t4 ON (t1.id=t4.id) SET a=0, d=0 where t1.id=1' ! set global sql_slave_skip_counter=1; ! include/start_slave.inc ! UPDATE t1 LEFT JOIN (t4, t5, t6) ON (t1.id=t4.id and t1.id=t5.id and t1.id=t6.id) SET a=0, d=0, e=0, f=0 where t1.id=1; ! --source include/wait_for_slave_sql_error_and_skip.inc ! Last_SQL_Error = Error 'Table 'test.t4' doesn't exist' on query. Default database: 'test'. Query: 'UPDATE t1 LEFT JOIN (t4, t5, t6) ON (t1.id=t4.id and t1.id=t5.id and t1.id=t6.id) SET a=0, d=0, e=0, f=0 where t1.id=1' ! set global sql_slave_skip_counter=1; ! include/start_slave.inc ! UPDATE t4 LEFT JOIN (t1, t5, t6) ON (t4.id=t1.id and t4.id=t5.id and t4.id=t6.id) SET a=0, e=0, f=0 where t4.id=1; ! --source include/wait_for_slave_sql_error_and_skip.inc ! Last_SQL_Error = Error 'Table 'test.t4' doesn't exist' on query. Default database: 'test'. Query: 'UPDATE t4 LEFT JOIN (t1, t5, t6) ON (t4.id=t1.id and t4.id=t5.id and t4.id=t6.id) SET a=0, e=0, f=0 where t4.id=1' ! set global sql_slave_skip_counter=1; ! include/start_slave.inc ! UPDATE t7 LEFT JOIN (t1, t4, t2) ON (t7.id=t1.id and t7.id=t4.id and t7.id=t2.id) SET a=0, b=0, d=0, g=0 where t7.id=1; ! --source include/wait_for_slave_sql_error_and_skip.inc ! Last_SQL_Error = Error 'Table 'test.t7' doesn't exist' on query. Default database: 'test'. Query: 'UPDATE t7 LEFT JOIN (t1, t4, t2) ON (t7.id=t1.id and t7.id=t4.id and t7.id=t2.id) SET a=0, b=0, d=0, g=0 where t7.id=1' ! set global sql_slave_skip_counter=1; ! include/start_slave.inc [on slave] ! show tables like 't%'; ! Tables_in_test (t%) ! t1 ! t2 ! t3 ! SELECT * FROM t1; ! id a ! 1 1 ! 2 2 ! 3 3 ! SELECT * FROM t2; ! id b ! 1 1 ! 2 2 ! 3 3 ! SELECT * FROM t3; ! id c ! 1 1 ! 2 2 ! 3 3 [on master] ! drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; --- 54,210 ---- UPDATE t7 LEFT JOIN (t8, t4, t1) ON (t7.id=t8.id and t7.id=t4.id and t7.id=t1.id) SET a=0, d=0, g=0, h=0 where t7.id=1; UPDATE t1 LEFT JOIN t4 ON (t1.id=t4.id) SET a=0 where t1.id=1; --source include/wait_for_slave_sql_error_and_skip.inc ! **** ERROR: timeout after seconds while waiting for slave parameter Slave_SQL_Running = No **** ! Message: Failed while waiting for slave to stop the SQL thread (expecting error in the SQL thread) ! Current connection is 'slave' ! Note: the following output may have changed since the failure was detected ! [on slave] ! ! **** SHOW SLAVE STATUS on slave **** ! SHOW SLAVE STATUS; ! Slave_IO_State Waiting for master to send event ! Master_Host 127.0.0.1 ! Master_User root ! Master_Port 13000 ! Connect_Retry 1 ! Master_Log_File master-bin.000001 ! Read_Master_Log_Pos 4982 ! Relay_Log_File slave-relay-bin.000005 ! Relay_Log_Pos 252 ! Relay_Master_Log_File master-bin.000001 ! Slave_IO_Running Yes ! Slave_SQL_Running Yes ! Replicate_Do_DB ! Replicate_Ignore_DB ! Replicate_Do_Table ! Replicate_Ignore_Table ! Replicate_Wild_Do_Table ! Replicate_Wild_Ignore_Table ! Last_Errno 0 ! Last_Error ! Skip_Counter 0 ! Exec_Master_Log_Pos 4982 ! Relay_Log_Space 553 ! Until_Condition None ! Until_Log_File ! Until_Log_Pos 0 ! Master_SSL_Allowed No ! Master_SSL_CA_File ! Master_SSL_CA_Path ! Master_SSL_Cert ! Master_SSL_Cipher ! Master_SSL_Key ! Seconds_Behind_Master 0 ! Master_SSL_Verify_Server_Cert No ! Last_IO_Errno 0 ! Last_IO_Error ! Last_SQL_Errno 0 ! Last_SQL_Error ! ! **** SHOW PROCESSLIST on slave **** ! SHOW PROCESSLIST; ! Id User Host db Command Time State Info ! 2 root localhost:44587 test Query 0 NULL SHOW PROCESSLIST ! 3 root localhost:44588 test Sleep 304 NULL ! 4 system user NULL Connect 303 Waiting for master to send event NULL ! 5 system user NULL Connect 303 Has read all relay log; waiting for the slave I/O thread to update it NULL ! ! **** SHOW BINLOG EVENTS on slave **** ! SHOW BINLOG EVENTS IN 'slave-bin.000001'; ! Log_name Pos Event_type Server_id End_log_pos Info ! slave-bin.000001 4 Format_desc 2 106 Server ver: 5.1.46-enterprise-gpl-advanced-log, Binlog ver: 4 ! slave-bin.000001 106 Query 1 200 use `test`; CREATE TABLE t1 (id int, a int) ! slave-bin.000001 200 Query 1 294 use `test`; CREATE TABLE t2 (id int, b int) ! slave-bin.000001 294 Query 1 388 use `test`; CREATE TABLE t3 (id int, c int) ! slave-bin.000001 388 Query 1 482 use `test`; CREATE TABLE t4 (id int, d int) ! slave-bin.000001 482 Query 1 576 use `test`; CREATE TABLE t5 (id int, e int) ! slave-bin.000001 576 Query 1 670 use `test`; CREATE TABLE t6 (id int, f int) ! slave-bin.000001 670 Query 1 764 use `test`; CREATE TABLE t7 (id int, g int) ! slave-bin.000001 764 Query 1 858 use `test`; CREATE TABLE t8 (id int, h int) ! slave-bin.000001 858 Query 1 952 use `test`; CREATE TABLE t9 (id int, i int) ! slave-bin.000001 952 Query 1 1059 use `test`; INSERT INTO t1 VALUES (1, 1), (2, 2), (3, 3) ! slave-bin.000001 1059 Query 1 1166 use `test`; INSERT INTO t2 VALUES (1, 1), (2, 2), (3, 3) ! slave-bin.000001 1166 Query 1 1273 use `test`; INSERT INTO t3 VALUES (1, 1), (2, 2), (3, 3) ! slave-bin.000001 1273 Query 1 1380 use `test`; INSERT INTO t4 VALUES (1, 1), (2, 2), (3, 3) ! slave-bin.000001 1380 Query 1 1487 use `test`; INSERT INTO t5 VALUES (1, 1), (2, 2), (3, 3) ! slave-bin.000001 1487 Query 1 1594 use `test`; INSERT INTO t6 VALUES (1, 1), (2, 2), (3, 3) ! slave-bin.000001 1594 Query 1 1701 use `test`; INSERT INTO t7 VALUES (1, 1), (2, 2), (3, 3) ! slave-bin.000001 1701 Query 1 1808 use `test`; INSERT INTO t8 VALUES (1, 1), (2, 2), (3, 3) ! slave-bin.000001 1808 Query 1 1915 use `test`; INSERT INTO t9 VALUES (1, 1), (2, 2), (3, 3) ! slave-bin.000001 1915 Query 1 2053 use `test`; UPDATE t7 LEFT JOIN t4 ON (t4.id=t7.id) SET d=0, g=0 where t7.id=1 ! slave-bin.000001 2053 Query 1 2243 use `test`; UPDATE t7 LEFT JOIN (t4, t5, t6) ON (t7.id=t4.id and t7.id=t5.id and t7.id=t6.id) SET d=0, e=0, f=0, g=0 where t7.id=1 ! slave-bin.000001 2243 Query 1 2433 use `test`; UPDATE t4 LEFT JOIN (t7, t8, t9) ON (t4.id=t7.id and t4.id=t8.id and t4.id=t9.id) SET d=0, g=0, h=0, i=0 where t4.id=1 ! slave-bin.000001 2433 Query 1 2598 use `test`; UPDATE t7 LEFT JOIN (t8, t9) ON (t7.id=t8.id and t7.id=t9.id) SET g=0, h=0, i=0 where t7.id=1 ! slave-bin.000001 2598 Query 1 2731 use `test`; UPDATE t1 LEFT JOIN t4 ON (t1.id=t4.id) SET d=0 where t1.id=1 ! slave-bin.000001 2731 Query 1 2864 use `test`; UPDATE t1 LEFT JOIN t7 ON (t1.id=t7.id) SET g=0 where t1.id=1 ! slave-bin.000001 2864 Query 1 3049 use `test`; UPDATE t1 LEFT JOIN (t4, t5, t6) ON (t1.id=t4.id and t1.id=t5.id and t1.id=t6.id) SET d=0, e=0, f=0 where t1.id=1 ! slave-bin.000001 3049 Query 1 3234 use `test`; UPDATE t1 LEFT JOIN (t4, t5, t8) ON (t1.id=t4.id and t1.id=t5.id and t1.id=t8.id) SET d=0, e=0, h=0 where t1.id=1 ! slave-bin.000001 3234 Query 1 3419 use `test`; UPDATE t1 LEFT JOIN (t7, t8, t5) ON (t1.id=t7.id and t1.id=t8.id and t1.id=t5.id) SET g=0, h=0, e=0 where t1.id=1 ! slave-bin.000001 3419 Query 1 3594 use `test`; UPDATE t1 LEFT JOIN (t2, t3, t5) ON (t1.id=t2.id and t1.id=t3.id and t1.id=t5.id) SET e=0 where t1.id=1 ! slave-bin.000001 3594 Query 1 3732 use `test`; UPDATE t4 LEFT JOIN t1 ON (t1.id=t4.id) SET a=0, d=0 where t4.id=1 ! slave-bin.000001 3732 Query 1 3899 use `test`; UPDATE t4 LEFT JOIN (t1, t7) ON (t4.id=t1.id and t7.id=t4.id) SET a = 0, d=0, g=0 where t4.id=1 ! slave-bin.000001 3899 Query 1 4089 use `test`; UPDATE t4 LEFT JOIN (t1, t2, t3) ON (t1.id=t4.id and t2.id=t4.id and t3.id=t4.id) SET a=0, b=0, c=0, d=0 where t4.id=1 ! slave-bin.000001 4089 Query 1 4279 use `test`; UPDATE t4 LEFT JOIN (t1, t2, t5) ON (t1.id=t4.id and t2.id=t4.id and t5.id=t4.id) SET a=0, b=0, e=0, d=0 where t4.id=1 ! slave-bin.000001 4279 Query 1 4469 use `test`; UPDATE t4 LEFT JOIN (t1, t6, t7) ON (t4.id=t1.id and t4.id=t6.id and t4.id=t7.id) SET a=0, d=0, f=0, g=0 where t4.id=1 ! slave-bin.000001 4469 Query 1 4659 use `test`; UPDATE t7 LEFT JOIN (t4, t1, t2) ON (t7.id=t4.id and t7.id=t1.id and t7.id=t2.id) SET a=0, b=0, d=0, g=0 where t7.id=1 ! slave-bin.000001 4659 Query 1 4849 use `test`; UPDATE t7 LEFT JOIN (t8, t4, t1) ON (t7.id=t8.id and t7.id=t4.id and t7.id=t1.id) SET a=0, d=0, g=0, h=0 where t7.id=1 ! slave-bin.000001 4849 Query 1 4982 use `test`; UPDATE t1 LEFT JOIN t4 ON (t1.id=t4.id) SET a=0 where t1.id=1 ! [on master] ! ! **** SHOW MASTER STATUS on master **** ! SHOW MASTER STATUS; ! File master-bin.000001 ! Position 4982 ! Binlog_Do_DB ! Binlog_Ignore_DB ! ! **** SHOW PROCESSLIST on master **** ! SHOW PROCESSLIST; ! Id User Host db Command Time State Info ! 2 root localhost test Sleep 304 NULL ! 3 root localhost:44585 test Query 0 NULL SHOW PROCESSLIST ! 4 root localhost:44586 test Sleep 304 NULL ! 7 root localhost:44592 NULL Binlog Dump 63 Has sent all binlog to slave; waiting for binlog to be updated NULL ! ! **** SHOW BINLOG EVENTS on master **** ! SHOW BINLOG EVENTS IN 'master-bin.000001'; ! Log_name Pos Event_type Server_id End_log_pos Info ! master-bin.000001 4 Format_desc 1 106 Server ver: 5.1.46-enterprise-gpl-advanced-log, Binlog ver: 4 ! master-bin.000001 106 Query 1 200 use `test`; CREATE TABLE t1 (id int, a int) ! master-bin.000001 200 Query 1 294 use `test`; CREATE TABLE t2 (id int, b int) ! master-bin.000001 294 Query 1 388 use `test`; CREATE TABLE t3 (id int, c int) ! master-bin.000001 388 Query 1 482 use `test`; CREATE TABLE t4 (id int, d int) ! master-bin.000001 482 Query 1 576 use `test`; CREATE TABLE t5 (id int, e int) ! master-bin.000001 576 Query 1 670 use `test`; CREATE TABLE t6 (id int, f int) ! master-bin.000001 670 Query 1 764 use `test`; CREATE TABLE t7 (id int, g int) ! master-bin.000001 764 Query 1 858 use `test`; CREATE TABLE t8 (id int, h int) ! master-bin.000001 858 Query 1 952 use `test`; CREATE TABLE t9 (id int, i int) ! master-bin.000001 952 Query 1 1059 use `test`; INSERT INTO t1 VALUES (1, 1), (2, 2), (3, 3) ! master-bin.000001 1059 Query 1 1166 use `test`; INSERT INTO t2 VALUES (1, 1), (2, 2), (3, 3) ! master-bin.000001 1166 Query 1 1273 use `test`; INSERT INTO t3 VALUES (1, 1), (2, 2), (3, 3) ! master-bin.000001 1273 Query 1 1380 use `test`; INSERT INTO t4 VALUES (1, 1), (2, 2), (3, 3) ! master-bin.000001 1380 Query 1 1487 use `test`; INSERT INTO t5 VALUES (1, 1), (2, 2), (3, 3) ! master-bin.000001 1487 Query 1 1594 use `test`; INSERT INTO t6 VALUES (1, 1), (2, 2), (3, 3) ! master-bin.000001 1594 Query 1 1701 use `test`; INSERT INTO t7 VALUES (1, 1), (2, 2), (3, 3) ! master-bin.000001 1701 Query 1 1808 use `test`; INSERT INTO t8 VALUES (1, 1), (2, 2), (3, 3) ! master-bin.000001 1808 Query 1 1915 use `test`; INSERT INTO t9 VALUES (1, 1), (2, 2), (3, 3) ! master-bin.000001 1915 Query 1 2053 use `test`; UPDATE t7 LEFT JOIN t4 ON (t4.id=t7.id) SET d=0, g=0 where t7.id=1 ! master-bin.000001 2053 Query 1 2243 use `test`; UPDATE t7 LEFT JOIN (t4, t5, t6) ON (t7.id=t4.id and t7.id=t5.id and t7.id=t6.id) SET d=0, e=0, f=0, g=0 where t7.id=1 ! master-bin.000001 2243 Query 1 2433 use `test`; UPDATE t4 LEFT JOIN (t7, t8, t9) ON (t4.id=t7.id and t4.id=t8.id and t4.id=t9.id) SET d=0, g=0, h=0, i=0 where t4.id=1 ! master-bin.000001 2433 Query 1 2598 use `test`; UPDATE t7 LEFT JOIN (t8, t9) ON (t7.id=t8.id and t7.id=t9.id) SET g=0, h=0, i=0 where t7.id=1 ! master-bin.000001 2598 Query 1 2731 use `test`; UPDATE t1 LEFT JOIN t4 ON (t1.id=t4.id) SET d=0 where t1.id=1 ! master-bin.000001 2731 Query 1 2864 use `test`; UPDATE t1 LEFT JOIN t7 ON (t1.id=t7.id) SET g=0 where t1.id=1 ! master-bin.000001 2864 Query 1 3049 use `test`; UPDATE t1 LEFT JOIN (t4, t5, t6) ON (t1.id=t4.id and t1.id=t5.id and t1.id=t6.id) SET d=0, e=0, f=0 where t1.id=1 ! master-bin.000001 3049 Query 1 3234 use `test`; UPDATE t1 LEFT JOIN (t4, t5, t8) ON (t1.id=t4.id and t1.id=t5.id and t1.id=t8.id) SET d=0, e=0, h=0 where t1.id=1 ! master-bin.000001 3234 Query 1 3419 use `test`; UPDATE t1 LEFT JOIN (t7, t8, t5) ON (t1.id=t7.id and t1.id=t8.id and t1.id=t5.id) SET g=0, h=0, e=0 where t1.id=1 ! master-bin.000001 3419 Query 1 3594 use `test`; UPDATE t1 LEFT JOIN (t2, t3, t5) ON (t1.id=t2.id and t1.id=t3.id and t1.id=t5.id) SET e=0 where t1.id=1 ! master-bin.000001 3594 Query 1 3732 use `test`; UPDATE t4 LEFT JOIN t1 ON (t1.id=t4.id) SET a=0, d=0 where t4.id=1 ! master-bin.000001 3732 Query 1 3899 use `test`; UPDATE t4 LEFT JOIN (t1, t7) ON (t4.id=t1.id and t7.id=t4.id) SET a = 0, d=0, g=0 where t4.id=1 ! master-bin.000001 3899 Query 1 4089 use `test`; UPDATE t4 LEFT JOIN (t1, t2, t3) ON (t1.id=t4.id and t2.id=t4.id and t3.id=t4.id) SET a=0, b=0, c=0, d=0 where t4.id=1 ! master-bin.000001 4089 Query 1 4279 use `test`; UPDATE t4 LEFT JOIN (t1, t2, t5) ON (t1.id=t4.id and t2.id=t4.id and t5.id=t4.id) SET a=0, b=0, e=0, d=0 where t4.id=1 ! master-bin.000001 4279 Query 1 4469 use `test`; UPDATE t4 LEFT JOIN (t1, t6, t7) ON (t4.id=t1.id and t4.id=t6.id and t4.id=t7.id) SET a=0, d=0, f=0, g=0 where t4.id=1 ! master-bin.000001 4469 Query 1 4659 use `test`; UPDATE t7 LEFT JOIN (t4, t1, t2) ON (t7.id=t4.id and t7.id=t1.id and t7.id=t2.id) SET a=0, b=0, d=0, g=0 where t7.id=1 ! master-bin.000001 4659 Query 1 4849 use `test`; UPDATE t7 LEFT JOIN (t8, t4, t1) ON (t7.id=t8.id and t7.id=t4.id and t7.id=t1.id) SET a=0, d=0, g=0, h=0 where t7.id=1 ! master-bin.000001 4849 Query 1 4982 use `test`; UPDATE t1 LEFT JOIN t4 ON (t1.id=t4.id) SET a=0 where t1.id=1 mysqltest: In included file "./include/wait_for_slave_param.inc": Result content mismatch - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_filter_tables_not_exist-stmt/' Retrying test, attempt(2/3)... rpl.rpl_filter_tables_not_exist 'stmt' [ retry-fail ] Test ended at 2010-05-04 13:25:06 CURRENT_TEST: rpl.rpl_filter_tables_not_exist *** /home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/suite/rpl/r/rpl_filter_tables_not_exist.result Sun Apr 11 00:18:05 2010 --- /home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/suite/rpl/r/rpl_filter_tables_not_exist.reject Tue May 4 14:25:06 2010 *************** *** 28,33 **** --- 28,39 ---- t1 t2 t3 + t4 + t5 + t6 + t7 + t8 + t9 [on master] UPDATE t7 LEFT JOIN t4 ON (t4.id=t7.id) SET d=0, g=0 where t7.id=1; UPDATE t7 LEFT JOIN (t4, t5, t6) ON (t7.id=t4.id and t7.id=t5.id and t7.id=t6.id) SET d=0, e=0, f=0, g=0 where t7.id=1; *************** *** 48,151 **** UPDATE t7 LEFT JOIN (t8, t4, t1) ON (t7.id=t8.id and t7.id=t4.id and t7.id=t1.id) SET a=0, d=0, g=0, h=0 where t7.id=1; UPDATE t1 LEFT JOIN t4 ON (t1.id=t4.id) SET a=0 where t1.id=1; --source include/wait_for_slave_sql_error_and_skip.inc ! Last_SQL_Error = Error 'Table 'test.t4' doesn't exist' on query. Default database: 'test'. Query: 'UPDATE t1 LEFT JOIN t4 ON (t1.id=t4.id) SET a=0 where t1.id=1' ! set global sql_slave_skip_counter=1; ! include/start_slave.inc ! UPDATE t1 LEFT JOIN (t4, t7) ON (t1.id=t4.id and t1.id=t7.id) SET a=0 where t1.id=1; ! --source include/wait_for_slave_sql_error_and_skip.inc ! Last_SQL_Error = Error 'Table 'test.t4' doesn't exist' on query. Default database: 'test'. Query: 'UPDATE t1 LEFT JOIN (t4, t7) ON (t1.id=t4.id and t1.id=t7.id) SET a=0 where t1.id=1' ! set global sql_slave_skip_counter=1; ! include/start_slave.inc ! UPDATE t1 LEFT JOIN (t2, t4, t7) ON (t1.id=t2.id and t1.id=t4.id and t1.id=t7.id) SET a=0, b=0 where t1.id=1; ! --source include/wait_for_slave_sql_error_and_skip.inc ! Last_SQL_Error = Error 'Table 'test.t4' doesn't exist' on query. Default database: 'test'. Query: 'UPDATE t1 LEFT JOIN (t2, t4, t7) ON (t1.id=t2.id and t1.id=t4.id and t1.id=t7.id) SET a=0, b=0 where t1.id=1' ! set global sql_slave_skip_counter=1; ! include/start_slave.inc ! UPDATE t1 LEFT JOIN (t2, t3, t7) ON (t1.id=t2.id and t1.id=t3.id and t1.id=t7.id) SET a=0, b=0, c=0 where t1.id=1; ! --source include/wait_for_slave_sql_error_and_skip.inc ! Last_SQL_Error = Error 'Table 'test.t7' doesn't exist' on query. Default database: 'test'. Query: 'UPDATE t1 LEFT JOIN (t2, t3, t7) ON (t1.id=t2.id and t1.id=t3.id and t1.id=t7.id) SET a=0, b=0, c=0 where t1.id=1' ! set global sql_slave_skip_counter=1; ! include/start_slave.inc ! UPDATE t1 LEFT JOIN t7 ON (t1.id=t7.id) SET a=0, g=0 where t1.id=1; ! --source include/wait_for_slave_sql_error_and_skip.inc ! Last_SQL_Error = Error 'Table 'test.t7' doesn't exist' on query. Default database: 'test'. Query: 'UPDATE t1 LEFT JOIN t7 ON (t1.id=t7.id) SET a=0, g=0 where t1.id=1' ! set global sql_slave_skip_counter=1; ! include/start_slave.inc ! UPDATE t7 LEFT JOIN t1 ON (t1.id=t7.id) SET a=0, g=0 where t7.id=1; ! --source include/wait_for_slave_sql_error_and_skip.inc ! Last_SQL_Error = Error 'Table 'test.t7' doesn't exist' on query. Default database: 'test'. Query: 'UPDATE t7 LEFT JOIN t1 ON (t1.id=t7.id) SET a=0, g=0 where t7.id=1' ! set global sql_slave_skip_counter=1; ! include/start_slave.inc ! UPDATE t1 LEFT JOIN (t4, t5, t7) ON (t1.id=t4.id and t1.id=t5.id and t1.id=t7.id) SET a=0, g=0 where t1.id=1; ! --source include/wait_for_slave_sql_error_and_skip.inc ! Last_SQL_Error = Error 'Table 'test.t4' doesn't exist' on query. Default database: 'test'. Query: 'UPDATE t1 LEFT JOIN (t4, t5, t7) ON (t1.id=t4.id and t1.id=t5.id and t1.id=t7.id) SET a=0, g=0 where t1.id=1' ! set global sql_slave_skip_counter=1; ! include/start_slave.inc ! UPDATE t1 LEFT JOIN (t4, t7, t8) ON (t1.id=t4.id and t1.id=t7.id and t1.id=t8.id) SET a=0, g=0 where t1.id=1; ! --source include/wait_for_slave_sql_error_and_skip.inc ! Last_SQL_Error = Error 'Table 'test.t4' doesn't exist' on query. Default database: 'test'. Query: 'UPDATE t1 LEFT JOIN (t4, t7, t8) ON (t1.id=t4.id and t1.id=t7.id and t1.id=t8.id) SET a=0, g=0 where t1.id=1' ! set global sql_slave_skip_counter=1; ! include/start_slave.inc ! UPDATE t1 LEFT JOIN (t7, t8, t9) ON (t1.id=t7.id and t1.id=t8.id and t1.id=t9.id) SET a=0, g=0, h=0, i=0 where t1.id=1; ! --source include/wait_for_slave_sql_error_and_skip.inc ! Last_SQL_Error = Error 'Table 'test.t7' doesn't exist' on query. Default database: 'test'. Query: 'UPDATE t1 LEFT JOIN (t7, t8, t9) ON (t1.id=t7.id and t1.id=t8.id and t1.id=t9.id) SET a=0, g=0, h=0, i=0 where t1.id=1' ! set global sql_slave_skip_counter=1; ! include/start_slave.inc ! UPDATE t7 LEFT JOIN (t1, t2, t3) ON (t7.id=t1.id and t7.id=t2.id and t7.id=t3.id) SET g=0, a=0, b=0, c=0 where t7.id=1; ! --source include/wait_for_slave_sql_error_and_skip.inc ! Last_SQL_Error = Error 'Table 'test.t7' doesn't exist' on query. Default database: 'test'. Query: 'UPDATE t7 LEFT JOIN (t1, t2, t3) ON (t7.id=t1.id and t7.id=t2.id and t7.id=t3.id) SET g=0, a=0, b=0, c=0 where t7.id=1' ! set global sql_slave_skip_counter=1; ! include/start_slave.inc ! UPDATE t7 LEFT JOIN (t4, t5, t3) ON (t7.id=t4.id and t7.id=t5.id and t7.id=t3.id) SET g=0, c=0 where t7.id=1; ! --source include/wait_for_slave_sql_error_and_skip.inc ! Last_SQL_Error = Error 'Table 'test.t7' doesn't exist' on query. Default database: 'test'. Query: 'UPDATE t7 LEFT JOIN (t4, t5, t3) ON (t7.id=t4.id and t7.id=t5.id and t7.id=t3.id) SET g=0, c=0 where t7.id=1' ! set global sql_slave_skip_counter=1; ! include/start_slave.inc ! UPDATE t7 LEFT JOIN (t8, t9, t3) ON (t7.id=t8.id and t7.id=t9.id and t7.id=t3.id) SET g=0, h=0, i=0, c=0 where t7.id=1; ! --source include/wait_for_slave_sql_error_and_skip.inc ! Last_SQL_Error = Error 'Table 'test.t7' doesn't exist' on query. Default database: 'test'. Query: 'UPDATE t7 LEFT JOIN (t8, t9, t3) ON (t7.id=t8.id and t7.id=t9.id and t7.id=t3.id) SET g=0, h=0, i=0, c=0 where t7.id=1' ! set global sql_slave_skip_counter=1; ! include/start_slave.inc ! UPDATE t1 LEFT JOIN t4 ON (t1.id=t4.id) SET a=0, d=0 where t1.id=1; ! --source include/wait_for_slave_sql_error_and_skip.inc ! Last_SQL_Error = Error 'Table 'test.t4' doesn't exist' on query. Default database: 'test'. Query: 'UPDATE t1 LEFT JOIN t4 ON (t1.id=t4.id) SET a=0, d=0 where t1.id=1' ! set global sql_slave_skip_counter=1; ! include/start_slave.inc ! UPDATE t1 LEFT JOIN (t4, t5, t6) ON (t1.id=t4.id and t1.id=t5.id and t1.id=t6.id) SET a=0, d=0, e=0, f=0 where t1.id=1; ! --source include/wait_for_slave_sql_error_and_skip.inc ! Last_SQL_Error = Error 'Table 'test.t4' doesn't exist' on query. Default database: 'test'. Query: 'UPDATE t1 LEFT JOIN (t4, t5, t6) ON (t1.id=t4.id and t1.id=t5.id and t1.id=t6.id) SET a=0, d=0, e=0, f=0 where t1.id=1' ! set global sql_slave_skip_counter=1; ! include/start_slave.inc ! UPDATE t4 LEFT JOIN (t1, t5, t6) ON (t4.id=t1.id and t4.id=t5.id and t4.id=t6.id) SET a=0, e=0, f=0 where t4.id=1; ! --source include/wait_for_slave_sql_error_and_skip.inc ! Last_SQL_Error = Error 'Table 'test.t4' doesn't exist' on query. Default database: 'test'. Query: 'UPDATE t4 LEFT JOIN (t1, t5, t6) ON (t4.id=t1.id and t4.id=t5.id and t4.id=t6.id) SET a=0, e=0, f=0 where t4.id=1' ! set global sql_slave_skip_counter=1; ! include/start_slave.inc ! UPDATE t7 LEFT JOIN (t1, t4, t2) ON (t7.id=t1.id and t7.id=t4.id and t7.id=t2.id) SET a=0, b=0, d=0, g=0 where t7.id=1; ! --source include/wait_for_slave_sql_error_and_skip.inc ! Last_SQL_Error = Error 'Table 'test.t7' doesn't exist' on query. Default database: 'test'. Query: 'UPDATE t7 LEFT JOIN (t1, t4, t2) ON (t7.id=t1.id and t7.id=t4.id and t7.id=t2.id) SET a=0, b=0, d=0, g=0 where t7.id=1' ! set global sql_slave_skip_counter=1; ! include/start_slave.inc [on slave] ! show tables like 't%'; ! Tables_in_test (t%) ! t1 ! t2 ! t3 ! SELECT * FROM t1; ! id a ! 1 1 ! 2 2 ! 3 3 ! SELECT * FROM t2; ! id b ! 1 1 ! 2 2 ! 3 3 ! SELECT * FROM t3; ! id c ! 1 1 ! 2 2 ! 3 3 [on master] ! drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; --- 54,210 ---- UPDATE t7 LEFT JOIN (t8, t4, t1) ON (t7.id=t8.id and t7.id=t4.id and t7.id=t1.id) SET a=0, d=0, g=0, h=0 where t7.id=1; UPDATE t1 LEFT JOIN t4 ON (t1.id=t4.id) SET a=0 where t1.id=1; --source include/wait_for_slave_sql_error_and_skip.inc ! **** ERROR: timeout after seconds while waiting for slave parameter Slave_SQL_Running = No **** ! Message: Failed while waiting for slave to stop the SQL thread (expecting error in the SQL thread) ! Current connection is 'slave' ! Note: the following output may have changed since the failure was detected ! [on slave] ! ! **** SHOW SLAVE STATUS on slave **** ! SHOW SLAVE STATUS; ! Slave_IO_State Waiting for master to send event ! Master_Host 127.0.0.1 ! Master_User root ! Master_Port 13000 ! Connect_Retry 1 ! Master_Log_File master-bin.000001 ! Read_Master_Log_Pos 4982 ! Relay_Log_File slave-relay-bin.000005 ! Relay_Log_Pos 252 ! Relay_Master_Log_File master-bin.000001 ! Slave_IO_Running Yes ! Slave_SQL_Running Yes ! Replicate_Do_DB ! Replicate_Ignore_DB ! Replicate_Do_Table ! Replicate_Ignore_Table ! Replicate_Wild_Do_Table ! Replicate_Wild_Ignore_Table ! Last_Errno 0 ! Last_Error ! Skip_Counter 0 ! Exec_Master_Log_Pos 4982 ! Relay_Log_Space 553 ! Until_Condition None ! Until_Log_File ! Until_Log_Pos 0 ! Master_SSL_Allowed No ! Master_SSL_CA_File ! Master_SSL_CA_Path ! Master_SSL_Cert ! Master_SSL_Cipher ! Master_SSL_Key ! Seconds_Behind_Master 0 ! Master_SSL_Verify_Server_Cert No ! Last_IO_Errno 0 ! Last_IO_Error ! Last_SQL_Errno 0 ! Last_SQL_Error ! ! **** SHOW PROCESSLIST on slave **** ! SHOW PROCESSLIST; ! Id User Host db Command Time State Info ! 2 root localhost:44596 test Query 0 NULL SHOW PROCESSLIST ! 3 root localhost:44597 test Sleep 304 NULL ! 4 system user NULL Connect 303 Waiting for master to send event NULL ! 5 system user NULL Connect 303 Has read all relay log; waiting for the slave I/O thread to update it NULL ! ! **** SHOW BINLOG EVENTS on slave **** ! SHOW BINLOG EVENTS IN 'slave-bin.000001'; ! Log_name Pos Event_type Server_id End_log_pos Info ! slave-bin.000001 4 Format_desc 2 106 Server ver: 5.1.46-enterprise-gpl-advanced-log, Binlog ver: 4 ! slave-bin.000001 106 Query 1 200 use `test`; CREATE TABLE t1 (id int, a int) ! slave-bin.000001 200 Query 1 294 use `test`; CREATE TABLE t2 (id int, b int) ! slave-bin.000001 294 Query 1 388 use `test`; CREATE TABLE t3 (id int, c int) ! slave-bin.000001 388 Query 1 482 use `test`; CREATE TABLE t4 (id int, d int) ! slave-bin.000001 482 Query 1 576 use `test`; CREATE TABLE t5 (id int, e int) ! slave-bin.000001 576 Query 1 670 use `test`; CREATE TABLE t6 (id int, f int) ! slave-bin.000001 670 Query 1 764 use `test`; CREATE TABLE t7 (id int, g int) ! slave-bin.000001 764 Query 1 858 use `test`; CREATE TABLE t8 (id int, h int) ! slave-bin.000001 858 Query 1 952 use `test`; CREATE TABLE t9 (id int, i int) ! slave-bin.000001 952 Query 1 1059 use `test`; INSERT INTO t1 VALUES (1, 1), (2, 2), (3, 3) ! slave-bin.000001 1059 Query 1 1166 use `test`; INSERT INTO t2 VALUES (1, 1), (2, 2), (3, 3) ! slave-bin.000001 1166 Query 1 1273 use `test`; INSERT INTO t3 VALUES (1, 1), (2, 2), (3, 3) ! slave-bin.000001 1273 Query 1 1380 use `test`; INSERT INTO t4 VALUES (1, 1), (2, 2), (3, 3) ! slave-bin.000001 1380 Query 1 1487 use `test`; INSERT INTO t5 VALUES (1, 1), (2, 2), (3, 3) ! slave-bin.000001 1487 Query 1 1594 use `test`; INSERT INTO t6 VALUES (1, 1), (2, 2), (3, 3) ! slave-bin.000001 1594 Query 1 1701 use `test`; INSERT INTO t7 VALUES (1, 1), (2, 2), (3, 3) ! slave-bin.000001 1701 Query 1 1808 use `test`; INSERT INTO t8 VALUES (1, 1), (2, 2), (3, 3) ! slave-bin.000001 1808 Query 1 1915 use `test`; INSERT INTO t9 VALUES (1, 1), (2, 2), (3, 3) ! slave-bin.000001 1915 Query 1 2053 use `test`; UPDATE t7 LEFT JOIN t4 ON (t4.id=t7.id) SET d=0, g=0 where t7.id=1 ! slave-bin.000001 2053 Query 1 2243 use `test`; UPDATE t7 LEFT JOIN (t4, t5, t6) ON (t7.id=t4.id and t7.id=t5.id and t7.id=t6.id) SET d=0, e=0, f=0, g=0 where t7.id=1 ! slave-bin.000001 2243 Query 1 2433 use `test`; UPDATE t4 LEFT JOIN (t7, t8, t9) ON (t4.id=t7.id and t4.id=t8.id and t4.id=t9.id) SET d=0, g=0, h=0, i=0 where t4.id=1 ! slave-bin.000001 2433 Query 1 2598 use `test`; UPDATE t7 LEFT JOIN (t8, t9) ON (t7.id=t8.id and t7.id=t9.id) SET g=0, h=0, i=0 where t7.id=1 ! slave-bin.000001 2598 Query 1 2731 use `test`; UPDATE t1 LEFT JOIN t4 ON (t1.id=t4.id) SET d=0 where t1.id=1 ! slave-bin.000001 2731 Query 1 2864 use `test`; UPDATE t1 LEFT JOIN t7 ON (t1.id=t7.id) SET g=0 where t1.id=1 ! slave-bin.000001 2864 Query 1 3049 use `test`; UPDATE t1 LEFT JOIN (t4, t5, t6) ON (t1.id=t4.id and t1.id=t5.id and t1.id=t6.id) SET d=0, e=0, f=0 where t1.id=1 ! slave-bin.000001 3049 Query 1 3234 use `test`; UPDATE t1 LEFT JOIN (t4, t5, t8) ON (t1.id=t4.id and t1.id=t5.id and t1.id=t8.id) SET d=0, e=0, h=0 where t1.id=1 ! slave-bin.000001 3234 Query 1 3419 use `test`; UPDATE t1 LEFT JOIN (t7, t8, t5) ON (t1.id=t7.id and t1.id=t8.id and t1.id=t5.id) SET g=0, h=0, e=0 where t1.id=1 ! slave-bin.000001 3419 Query 1 3594 use `test`; UPDATE t1 LEFT JOIN (t2, t3, t5) ON (t1.id=t2.id and t1.id=t3.id and t1.id=t5.id) SET e=0 where t1.id=1 ! slave-bin.000001 3594 Query 1 3732 use `test`; UPDATE t4 LEFT JOIN t1 ON (t1.id=t4.id) SET a=0, d=0 where t4.id=1 ! slave-bin.000001 3732 Query 1 3899 use `test`; UPDATE t4 LEFT JOIN (t1, t7) ON (t4.id=t1.id and t7.id=t4.id) SET a = 0, d=0, g=0 where t4.id=1 ! slave-bin.000001 3899 Query 1 4089 use `test`; UPDATE t4 LEFT JOIN (t1, t2, t3) ON (t1.id=t4.id and t2.id=t4.id and t3.id=t4.id) SET a=0, b=0, c=0, d=0 where t4.id=1 ! slave-bin.000001 4089 Query 1 4279 use `test`; UPDATE t4 LEFT JOIN (t1, t2, t5) ON (t1.id=t4.id and t2.id=t4.id and t5.id=t4.id) SET a=0, b=0, e=0, d=0 where t4.id=1 ! slave-bin.000001 4279 Query 1 4469 use `test`; UPDATE t4 LEFT JOIN (t1, t6, t7) ON (t4.id=t1.id and t4.id=t6.id and t4.id=t7.id) SET a=0, d=0, f=0, g=0 where t4.id=1 ! slave-bin.000001 4469 Query 1 4659 use `test`; UPDATE t7 LEFT JOIN (t4, t1, t2) ON (t7.id=t4.id and t7.id=t1.id and t7.id=t2.id) SET a=0, b=0, d=0, g=0 where t7.id=1 ! slave-bin.000001 4659 Query 1 4849 use `test`; UPDATE t7 LEFT JOIN (t8, t4, t1) ON (t7.id=t8.id and t7.id=t4.id and t7.id=t1.id) SET a=0, d=0, g=0, h=0 where t7.id=1 ! slave-bin.000001 4849 Query 1 4982 use `test`; UPDATE t1 LEFT JOIN t4 ON (t1.id=t4.id) SET a=0 where t1.id=1 ! [on master] ! ! **** SHOW MASTER STATUS on master **** ! SHOW MASTER STATUS; ! File master-bin.000001 ! Position 4982 ! Binlog_Do_DB ! Binlog_Ignore_DB ! ! **** SHOW PROCESSLIST on master **** ! SHOW PROCESSLIST; ! Id User Host db Command Time State Info ! 2 root localhost test Sleep 304 NULL ! 3 root localhost:44594 test Query 0 NULL SHOW PROCESSLIST ! 4 root localhost:44595 test Sleep 304 NULL ! 7 root localhost:44601 NULL Binlog Dump 63 Has sent all binlog to slave; waiting for binlog to be updated NULL ! ! **** SHOW BINLOG EVENTS on master **** ! SHOW BINLOG EVENTS IN 'master-bin.000001'; ! Log_name Pos Event_type Server_id End_log_pos Info ! master-bin.000001 4 Format_desc 1 106 Server ver: 5.1.46-enterprise-gpl-advanced-log, Binlog ver: 4 ! master-bin.000001 106 Query 1 200 use `test`; CREATE TABLE t1 (id int, a int) ! master-bin.000001 200 Query 1 294 use `test`; CREATE TABLE t2 (id int, b int) ! master-bin.000001 294 Query 1 388 use `test`; CREATE TABLE t3 (id int, c int) ! master-bin.000001 388 Query 1 482 use `test`; CREATE TABLE t4 (id int, d int) ! master-bin.000001 482 Query 1 576 use `test`; CREATE TABLE t5 (id int, e int) ! master-bin.000001 576 Query 1 670 use `test`; CREATE TABLE t6 (id int, f int) ! master-bin.000001 670 Query 1 764 use `test`; CREATE TABLE t7 (id int, g int) ! master-bin.000001 764 Query 1 858 use `test`; CREATE TABLE t8 (id int, h int) ! master-bin.000001 858 Query 1 952 use `test`; CREATE TABLE t9 (id int, i int) ! master-bin.000001 952 Query 1 1059 use `test`; INSERT INTO t1 VALUES (1, 1), (2, 2), (3, 3) ! master-bin.000001 1059 Query 1 1166 use `test`; INSERT INTO t2 VALUES (1, 1), (2, 2), (3, 3) ! master-bin.000001 1166 Query 1 1273 use `test`; INSERT INTO t3 VALUES (1, 1), (2, 2), (3, 3) ! master-bin.000001 1273 Query 1 1380 use `test`; INSERT INTO t4 VALUES (1, 1), (2, 2), (3, 3) ! master-bin.000001 1380 Query 1 1487 use `test`; INSERT INTO t5 VALUES (1, 1), (2, 2), (3, 3) ! master-bin.000001 1487 Query 1 1594 use `test`; INSERT INTO t6 VALUES (1, 1), (2, 2), (3, 3) ! master-bin.000001 1594 Query 1 1701 use `test`; INSERT INTO t7 VALUES (1, 1), (2, 2), (3, 3) ! master-bin.000001 1701 Query 1 1808 use `test`; INSERT INTO t8 VALUES (1, 1), (2, 2), (3, 3) ! master-bin.000001 1808 Query 1 1915 use `test`; INSERT INTO t9 VALUES (1, 1), (2, 2), (3, 3) ! master-bin.000001 1915 Query 1 2053 use `test`; UPDATE t7 LEFT JOIN t4 ON (t4.id=t7.id) SET d=0, g=0 where t7.id=1 ! master-bin.000001 2053 Query 1 2243 use `test`; UPDATE t7 LEFT JOIN (t4, t5, t6) ON (t7.id=t4.id and t7.id=t5.id and t7.id=t6.id) SET d=0, e=0, f=0, g=0 where t7.id=1 ! master-bin.000001 2243 Query 1 2433 use `test`; UPDATE t4 LEFT JOIN (t7, t8, t9) ON (t4.id=t7.id and t4.id=t8.id and t4.id=t9.id) SET d=0, g=0, h=0, i=0 where t4.id=1 ! master-bin.000001 2433 Query 1 2598 use `test`; UPDATE t7 LEFT JOIN (t8, t9) ON (t7.id=t8.id and t7.id=t9.id) SET g=0, h=0, i=0 where t7.id=1 ! master-bin.000001 2598 Query 1 2731 use `test`; UPDATE t1 LEFT JOIN t4 ON (t1.id=t4.id) SET d=0 where t1.id=1 ! master-bin.000001 2731 Query 1 2864 use `test`; UPDATE t1 LEFT JOIN t7 ON (t1.id=t7.id) SET g=0 where t1.id=1 ! master-bin.000001 2864 Query 1 3049 use `test`; UPDATE t1 LEFT JOIN (t4, t5, t6) ON (t1.id=t4.id and t1.id=t5.id and t1.id=t6.id) SET d=0, e=0, f=0 where t1.id=1 ! master-bin.000001 3049 Query 1 3234 use `test`; UPDATE t1 LEFT JOIN (t4, t5, t8) ON (t1.id=t4.id and t1.id=t5.id and t1.id=t8.id) SET d=0, e=0, h=0 where t1.id=1 ! master-bin.000001 3234 Query 1 3419 use `test`; UPDATE t1 LEFT JOIN (t7, t8, t5) ON (t1.id=t7.id and t1.id=t8.id and t1.id=t5.id) SET g=0, h=0, e=0 where t1.id=1 ! master-bin.000001 3419 Query 1 3594 use `test`; UPDATE t1 LEFT JOIN (t2, t3, t5) ON (t1.id=t2.id and t1.id=t3.id and t1.id=t5.id) SET e=0 where t1.id=1 ! master-bin.000001 3594 Query 1 3732 use `test`; UPDATE t4 LEFT JOIN t1 ON (t1.id=t4.id) SET a=0, d=0 where t4.id=1 ! master-bin.000001 3732 Query 1 3899 use `test`; UPDATE t4 LEFT JOIN (t1, t7) ON (t4.id=t1.id and t7.id=t4.id) SET a = 0, d=0, g=0 where t4.id=1 ! master-bin.000001 3899 Query 1 4089 use `test`; UPDATE t4 LEFT JOIN (t1, t2, t3) ON (t1.id=t4.id and t2.id=t4.id and t3.id=t4.id) SET a=0, b=0, c=0, d=0 where t4.id=1 ! master-bin.000001 4089 Query 1 4279 use `test`; UPDATE t4 LEFT JOIN (t1, t2, t5) ON (t1.id=t4.id and t2.id=t4.id and t5.id=t4.id) SET a=0, b=0, e=0, d=0 where t4.id=1 ! master-bin.000001 4279 Query 1 4469 use `test`; UPDATE t4 LEFT JOIN (t1, t6, t7) ON (t4.id=t1.id and t4.id=t6.id and t4.id=t7.id) SET a=0, d=0, f=0, g=0 where t4.id=1 ! master-bin.000001 4469 Query 1 4659 use `test`; UPDATE t7 LEFT JOIN (t4, t1, t2) ON (t7.id=t4.id and t7.id=t1.id and t7.id=t2.id) SET a=0, b=0, d=0, g=0 where t7.id=1 ! master-bin.000001 4659 Query 1 4849 use `test`; UPDATE t7 LEFT JOIN (t8, t4, t1) ON (t7.id=t8.id and t7.id=t4.id and t7.id=t1.id) SET a=0, d=0, g=0, h=0 where t7.id=1 ! master-bin.000001 4849 Query 1 4982 use `test`; UPDATE t1 LEFT JOIN t4 ON (t1.id=t4.id) SET a=0 where t1.id=1 mysqltest: In included file "./include/wait_for_slave_param.inc": Result content mismatch - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_filter_tables_not_exist-stmt/' Test has failed 2 times, no more retries! rpl.rpl_found_rows 'row' [ pass ] 1671 rpl.rpl_found_rows 'stmt' [ pass ] 1679 rpl.rpl_found_rows 'mix' [ pass ] 1584 rpl.rpl_free_items 'row' [ pass ] 1049 rpl.rpl_free_items 'stmt' [ pass ] 1466 rpl.rpl_free_items 'mix' [ pass ] 1089 rpl.rpl_geometry 'row' [ pass ] 770 rpl.rpl_get_lock 'row' [ pass ] 1113 rpl.rpl_get_lock 'stmt' [ pass ] 1093 rpl.rpl_get_lock 'mix' [ pass ] 1089 rpl.rpl_grant 'row' [ pass ] 611 rpl.rpl_grant 'stmt' [ pass ] 611 rpl.rpl_grant 'mix' [ pass ] 599 rpl.rpl_ignore_grant 'row' [ pass ] 585 rpl.rpl_ignore_grant 'stmt' [ pass ] 1106 rpl.rpl_ignore_grant 'mix' [ pass ] 567 rpl.rpl_ignore_revoke 'row' [ pass ] 572 rpl.rpl_ignore_revoke 'stmt' [ pass ] 583 rpl.rpl_ignore_revoke 'mix' [ pass ] 575 rpl.rpl_ignore_table 'row' [ pass ] 1022 rpl.rpl_ignore_table 'stmt' [ pass ] 1009 rpl.rpl_ignore_table 'mix' [ pass ] 1029 rpl.rpl_ignore_table_update 'row' [ pass ] 789 rpl.rpl_ignore_table_update 'stmt' [ pass ] 785 rpl.rpl_ignore_table_update 'mix' [ pass ] 834 rpl.rpl_init_slave 'row' [ pass ] 1494 rpl.rpl_init_slave 'stmt' [ pass ] 815 rpl.rpl_init_slave 'mix' [ pass ] 830 rpl.rpl_insert 'row' [ pass ] 1446 rpl.rpl_insert 'stmt' [ pass ] 1437 rpl.rpl_insert 'mix' [ pass ] 1429 rpl.rpl_insert_select 'row' [ pass ] 769 rpl.rpl_insert_select 'stmt' [ pass ] 737 rpl.rpl_insert_select 'mix' [ pass ] 729 rpl.rpl_load_from_master 'row' [ pass ] 2119 rpl.rpl_load_from_master 'stmt' [ pass ] 2140 rpl.rpl_load_from_master 'mix' [ pass ] 2123 rpl.rpl_load_table_from_master 'row' [ pass ] 1058 rpl.rpl_load_table_from_master 'stmt' [ pass ] 1053 rpl.rpl_load_table_from_master 'mix' [ pass ] 1114 rpl.rpl_loaddata_charset 'row' [ pass ] 897 rpl.rpl_loaddata_charset 'stmt' [ pass ] 993 rpl.rpl_loaddata_charset 'mix' [ pass ] 982 rpl.rpl_loaddata_s 'stmt' [ fail ] Test ended at 2010-05-04 13:29:47 CURRENT_TEST: rpl.rpl_loaddata_s mysqltest: At line 5: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_loaddata_s.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_loaddata_s-stmt/' Retrying test, attempt(2/3)... rpl.rpl_loaddata_s 'stmt' [ retry-fail ] Test ended at 2010-05-04 13:29:49 CURRENT_TEST: rpl.rpl_loaddata_s mysqltest: At line 5: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_loaddata_s.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_loaddata_s-stmt/' Test has failed 2 times, no more retries! rpl.rpl_loaddata_s 'mix' [ fail ] Test ended at 2010-05-04 13:29:52 CURRENT_TEST: rpl.rpl_loaddata_s mysqltest: At line 5: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_loaddata_s.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_loaddata_s-mix/' Retrying test, attempt(2/3)... rpl.rpl_loaddata_s 'mix' [ retry-fail ] Test ended at 2010-05-04 13:29:55 CURRENT_TEST: rpl.rpl_loaddata_s mysqltest: At line 5: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_loaddata_s.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_loaddata_s-mix/' Test has failed 2 times, no more retries! rpl.rpl_loaddata_simple 'row' [ pass ] 669 rpl.rpl_loaddata_simple 'stmt' [ pass ] 685 rpl.rpl_loaddata_simple 'mix' [ pass ] 737 rpl.rpl_loaddatalocal 'row' [ pass ] 2381 rpl.rpl_loaddatalocal 'stmt' [ pass ] 2418 rpl.rpl_loaddatalocal 'mix' [ pass ] 2549 rpl.rpl_loadfile 'row' [ pass ] 1510 rpl.rpl_loadfile 'mix' [ pass ] 1518 rpl.rpl_locale 'row' [ pass ] 657 rpl.rpl_locale 'stmt' [ pass ] 665 rpl.rpl_locale 'mix' [ pass ] 929 rpl.rpl_log_pos 'row' [ pass ] 1249 rpl.rpl_log_pos 'stmt' [ pass ] 1226 rpl.rpl_log_pos 'mix' [ pass ] 1213 rpl.rpl_manual_change_index_file 'row' [ pass ] 2543 rpl.rpl_manual_change_index_file 'stmt' [ pass ] 2575 rpl.rpl_manual_change_index_file 'mix' [ pass ] 2763 rpl.rpl_many_optimize 'row' [ pass ] 954 rpl.rpl_many_optimize 'stmt' [ pass ] 1005 rpl.rpl_many_optimize 'mix' [ pass ] 1205 rpl.rpl_master_pos_wait 'row' [ pass ] 2566 rpl.rpl_master_pos_wait 'stmt' [ pass ] 2571 rpl.rpl_master_pos_wait 'mix' [ pass ] 2593 rpl.rpl_misc_functions 'row' [ pass ] 834 rpl.rpl_misc_functions 'stmt' [ pass ] 850 rpl.rpl_misc_functions 'mix' [ pass ] 846 rpl.rpl_mixed_bit_pk 'row' [ pass ] 1170 rpl.rpl_mixed_bit_pk 'stmt' [ pass ] 1290 rpl.rpl_mixed_bit_pk 'mix' [ pass ] 1217 rpl.rpl_mixed_ddl_dml 'stmt' [ fail ] Test ended at 2010-05-04 13:33:29 CURRENT_TEST: rpl.rpl_mixed_ddl_dml mysqltest: At line 4: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_mixed_ddl_dml.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_mixed_ddl_dml-stmt/' Retrying test, attempt(2/3)... rpl.rpl_mixed_ddl_dml 'stmt' [ retry-fail ] Test ended at 2010-05-04 13:33:32 CURRENT_TEST: rpl.rpl_mixed_ddl_dml mysqltest: At line 4: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_mixed_ddl_dml.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_mixed_ddl_dml-stmt/' Test has failed 2 times, no more retries! rpl.rpl_mixed_ddl_dml 'mix' [ fail ] Test ended at 2010-05-04 13:33:35 CURRENT_TEST: rpl.rpl_mixed_ddl_dml mysqltest: At line 4: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_mixed_ddl_dml.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_mixed_ddl_dml-mix/' Retrying test, attempt(2/3)... rpl.rpl_mixed_ddl_dml 'mix' [ retry-fail ] Test ended at 2010-05-04 13:33:38 CURRENT_TEST: rpl.rpl_mixed_ddl_dml mysqltest: At line 4: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_mixed_ddl_dml.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_mixed_ddl_dml-mix/' Test has failed 2 times, no more retries! rpl.rpl_multi_delete 'row' [ pass ] 762 rpl.rpl_multi_delete 'stmt' [ pass ] 737 rpl.rpl_multi_delete 'mix' [ pass ] 713 rpl.rpl_multi_delete2 'row' [ pass ] 1525 rpl.rpl_multi_delete2 'stmt' [ pass ] 801 rpl.rpl_multi_delete2 'mix' [ pass ] 773 rpl.rpl_multi_update 'row' [ pass ] 765 rpl.rpl_multi_update 'stmt' [ pass ] 749 rpl.rpl_multi_update 'mix' [ pass ] 745 rpl.rpl_multi_update2 'row' [ pass ] 897 rpl.rpl_multi_update2 'stmt' [ pass ] 989 rpl.rpl_multi_update2 'mix' [ pass ] 929 rpl.rpl_multi_update3 'row' [ pass ] 1250 rpl.rpl_multi_update3 'stmt' [ pass ] 1670 rpl.rpl_multi_update3 'mix' [ pass ] 1253 rpl.rpl_multi_update4 'row' [ pass ] 786 rpl.rpl_multi_update4 'stmt' [ pass ] 766 rpl.rpl_multi_update4 'mix' [ pass ] 782 rpl.rpl_mysql_upgrade 'row' [ pass ] 5210 rpl.rpl_mysql_upgrade 'stmt' [ pass ] 5155 rpl.rpl_mysql_upgrade 'mix' [ pass ] 5226 rpl.rpl_name_const 'row' [ pass ] 646 rpl.rpl_name_const 'stmt' [ pass ] 642 rpl.rpl_name_const 'mix' [ pass ] 655 stop slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; reset master; reset slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; start slave; CALL mtr.add_suppression('Statement may not be safe to log in statement format.'); CREATE TABLE t1 (a VARCHAR(1000)); INSERT INTO t1 VALUES (CONNECTION_ID()); INSERT INTO t1 VALUES (CONNECTION_ID()); INSERT INTO t1 VALUES (CURDATE()), (CURRENT_DATE()), (CURRENT_TIME()), (CURRENT_TIMESTAMP()), (CURTIME()), (LOCALTIME()), (LOCALTIMESTAMP()), (NOW()), (UNIX_TIMESTAMP()), (UTC_DATE()), (UTC_TIME()), (UTC_TIMESTAMP()); INSERT INTO t1 VALUES (RAND()); INSERT INTO t1 VALUES (LAST_INSERT_ID()); Comparing tables master:test.t1 and slave:test.t1 DROP TABLE t1; rpl.rpl_nondeterministic_functions 'row' [ fail ] Test ended at 2010-05-04 13:36:30 CURRENT_TEST: rpl.rpl_nondeterministic_functions mysqltest: Exit with failure! Call 'exit' in script to return with sucess - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_nondeterministic_functions-row/' Retrying test, attempt(2/3)... stop slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; reset master; reset slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; start slave; CALL mtr.add_suppression('Statement may not be safe to log in statement format.'); CREATE TABLE t1 (a VARCHAR(1000)); INSERT INTO t1 VALUES (CONNECTION_ID()); INSERT INTO t1 VALUES (CONNECTION_ID()); INSERT INTO t1 VALUES (CURDATE()), (CURRENT_DATE()), (CURRENT_TIME()), (CURRENT_TIMESTAMP()), (CURTIME()), (LOCALTIME()), (LOCALTIMESTAMP()), (NOW()), (UNIX_TIMESTAMP()), (UTC_DATE()), (UTC_TIME()), (UTC_TIMESTAMP()); INSERT INTO t1 VALUES (RAND()); INSERT INTO t1 VALUES (LAST_INSERT_ID()); Comparing tables master:test.t1 and slave:test.t1 DROP TABLE t1; rpl.rpl_nondeterministic_functions 'row' [ retry-fail ] Test ended at 2010-05-04 13:36:34 CURRENT_TEST: rpl.rpl_nondeterministic_functions mysqltest: Exit with failure! Call 'exit' in script to return with sucess - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_nondeterministic_functions-row/' Test has failed 2 times, no more retries! stop slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; reset master; reset slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; start slave; CALL mtr.add_suppression('Statement may not be safe to log in statement format.'); CREATE TABLE t1 (a VARCHAR(1000)); INSERT INTO t1 VALUES (CONNECTION_ID()); INSERT INTO t1 VALUES (CONNECTION_ID()); INSERT INTO t1 VALUES (CURDATE()), (CURRENT_DATE()), (CURRENT_TIME()), (CURRENT_TIMESTAMP()), (CURTIME()), (LOCALTIME()), (LOCALTIMESTAMP()), (NOW()), (UNIX_TIMESTAMP()), (UTC_DATE()), (UTC_TIME()), (UTC_TIMESTAMP()); INSERT INTO t1 VALUES (RAND()); INSERT INTO t1 VALUES (LAST_INSERT_ID()); Comparing tables master:test.t1 and slave:test.t1 DROP TABLE t1; rpl.rpl_nondeterministic_functions 'stmt' [ fail ] Test ended at 2010-05-04 13:36:37 CURRENT_TEST: rpl.rpl_nondeterministic_functions mysqltest: Exit with failure! Call 'exit' in script to return with sucess - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_nondeterministic_functions-stmt/' Retrying test, attempt(2/3)... stop slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; reset master; reset slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; start slave; CALL mtr.add_suppression('Statement may not be safe to log in statement format.'); CREATE TABLE t1 (a VARCHAR(1000)); INSERT INTO t1 VALUES (CONNECTION_ID()); INSERT INTO t1 VALUES (CONNECTION_ID()); INSERT INTO t1 VALUES (CURDATE()), (CURRENT_DATE()), (CURRENT_TIME()), (CURRENT_TIMESTAMP()), (CURTIME()), (LOCALTIME()), (LOCALTIMESTAMP()), (NOW()), (UNIX_TIMESTAMP()), (UTC_DATE()), (UTC_TIME()), (UTC_TIMESTAMP()); INSERT INTO t1 VALUES (RAND()); INSERT INTO t1 VALUES (LAST_INSERT_ID()); Comparing tables master:test.t1 and slave:test.t1 DROP TABLE t1; rpl.rpl_nondeterministic_functions 'stmt' [ retry-fail ] Test ended at 2010-05-04 13:36:41 CURRENT_TEST: rpl.rpl_nondeterministic_functions mysqltest: Exit with failure! Call 'exit' in script to return with sucess - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_nondeterministic_functions-stmt/' Test has failed 2 times, no more retries! stop slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; reset master; reset slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; start slave; CALL mtr.add_suppression('Statement may not be safe to log in statement format.'); CREATE TABLE t1 (a VARCHAR(1000)); INSERT INTO t1 VALUES (CONNECTION_ID()); INSERT INTO t1 VALUES (CONNECTION_ID()); INSERT INTO t1 VALUES (CURDATE()), (CURRENT_DATE()), (CURRENT_TIME()), (CURRENT_TIMESTAMP()), (CURTIME()), (LOCALTIME()), (LOCALTIMESTAMP()), (NOW()), (UNIX_TIMESTAMP()), (UTC_DATE()), (UTC_TIME()), (UTC_TIMESTAMP()); INSERT INTO t1 VALUES (RAND()); INSERT INTO t1 VALUES (LAST_INSERT_ID()); Comparing tables master:test.t1 and slave:test.t1 DROP TABLE t1; rpl.rpl_nondeterministic_functions 'mix' [ fail ] Test ended at 2010-05-04 13:36:45 CURRENT_TEST: rpl.rpl_nondeterministic_functions mysqltest: Exit with failure! Call 'exit' in script to return with sucess - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_nondeterministic_functions-mix/' Retrying test, attempt(2/3)... stop slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; reset master; reset slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; start slave; CALL mtr.add_suppression('Statement may not be safe to log in statement format.'); CREATE TABLE t1 (a VARCHAR(1000)); INSERT INTO t1 VALUES (CONNECTION_ID()); INSERT INTO t1 VALUES (CONNECTION_ID()); INSERT INTO t1 VALUES (CURDATE()), (CURRENT_DATE()), (CURRENT_TIME()), (CURRENT_TIMESTAMP()), (CURTIME()), (LOCALTIME()), (LOCALTIMESTAMP()), (NOW()), (UNIX_TIMESTAMP()), (UTC_DATE()), (UTC_TIME()), (UTC_TIMESTAMP()); INSERT INTO t1 VALUES (RAND()); INSERT INTO t1 VALUES (LAST_INSERT_ID()); Comparing tables master:test.t1 and slave:test.t1 DROP TABLE t1; rpl.rpl_nondeterministic_functions 'mix' [ retry-fail ] Test ended at 2010-05-04 13:36:48 CURRENT_TEST: rpl.rpl_nondeterministic_functions mysqltest: Exit with failure! Call 'exit' in script to return with sucess - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_nondeterministic_functions-mix/' Test has failed 2 times, no more retries! rpl.rpl_not_null_myisam 'row' [ pass ] 1542 rpl.rpl_optimize 'row' [ pass ] 56968 rpl.rpl_optimize 'stmt' [ pass ] 49359 rpl.rpl_optimize 'mix' [ pass ] 47994 rpl.rpl_ps 'row' [ pass ] 1094 rpl.rpl_ps 'stmt' [ pass ] 1142 rpl.rpl_ps 'mix' [ pass ] 1145 rpl.rpl_rbr_to_sbr 'stmt' [ fail ] Test ended at 2010-05-04 13:40:05 CURRENT_TEST: rpl.rpl_rbr_to_sbr mysqltest: At line 1: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_rbr_to_sbr.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_rbr_to_sbr-stmt/' Retrying test, attempt(2/3)... rpl.rpl_rbr_to_sbr 'stmt' [ retry-fail ] Test ended at 2010-05-04 13:40:08 CURRENT_TEST: rpl.rpl_rbr_to_sbr mysqltest: At line 1: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_rbr_to_sbr.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_rbr_to_sbr-stmt/' Test has failed 2 times, no more retries! rpl.rpl_rbr_to_sbr 'mix' [ fail ] Test ended at 2010-05-04 13:40:11 CURRENT_TEST: rpl.rpl_rbr_to_sbr mysqltest: At line 1: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_rbr_to_sbr.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_rbr_to_sbr-mix/' Retrying test, attempt(2/3)... rpl.rpl_rbr_to_sbr 'mix' [ retry-fail ] Test ended at 2010-05-04 13:40:14 CURRENT_TEST: rpl.rpl_rbr_to_sbr mysqltest: At line 1: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_rbr_to_sbr.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_rbr_to_sbr-mix/' Test has failed 2 times, no more retries! rpl.rpl_relay_space_myisam 'row' [ pass ] 813 rpl.rpl_relay_space_myisam 'stmt' [ pass ] 861 rpl.rpl_relay_space_myisam 'mix' [ pass ] 761 rpl.rpl_relayspace 'row' [ pass ] 1378 rpl.rpl_relayspace 'stmt' [ pass ] 1405 rpl.rpl_relayspace 'mix' [ pass ] 1438 rpl.rpl_replicate_do 'row' [ pass ] 1206 rpl.rpl_replicate_do 'stmt' [ pass ] 1238 rpl.rpl_replicate_do 'mix' [ pass ] 1154 rpl.rpl_replicate_ignore_db 'row' [ pass ] 798 rpl.rpl_replicate_ignore_db 'stmt' [ pass ] 749 rpl.rpl_replicate_ignore_db 'mix' [ pass ] 765 rpl.rpl_report 'row' [ pass ] 442 rpl.rpl_report 'stmt' [ pass ] 438 rpl.rpl_report 'mix' [ pass ] 600 rpl.rpl_rewrt_db 'stmt' [ fail ] Test ended at 2010-05-04 13:41:57 CURRENT_TEST: rpl.rpl_rewrt_db mysqltest: At line 2: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_rewrt_db.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_rewrt_db-stmt/' Retrying test, attempt(2/3)... rpl.rpl_rewrt_db 'stmt' [ retry-fail ] Test ended at 2010-05-04 13:41:59 CURRENT_TEST: rpl.rpl_rewrt_db mysqltest: At line 2: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_rewrt_db.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_rewrt_db-stmt/' Test has failed 2 times, no more retries! rpl.rpl_rewrt_db 'mix' [ fail ] Test ended at 2010-05-04 13:42:02 CURRENT_TEST: rpl.rpl_rewrt_db mysqltest: At line 2: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_rewrt_db.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_rewrt_db-mix/' Retrying test, attempt(2/3)... rpl.rpl_rewrt_db 'mix' [ retry-fail ] Test ended at 2010-05-04 13:42:05 CURRENT_TEST: rpl.rpl_rewrt_db mysqltest: At line 2: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_rewrt_db.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_rewrt_db-mix/' Test has failed 2 times, no more retries! rpl.rpl_row_001 'row' [ pass ] 7277 rpl.rpl_row_NOW 'row' [ pass ] 1029 rpl.rpl_row_USER 'row' [ pass ] 702 rpl.rpl_row_UUID 'row' [ pass ] 1018 rpl.rpl_row_basic_2myisam 'row' [ pass ] 5262 rpl.rpl_row_basic_8partition 'row' [ pass ] 3950 rpl.rpl_row_blob_myisam 'row' [ pass ] 21674 rpl.rpl_row_colSize 'row' [ pass ] 14357 rpl.rpl_row_conflicts 'row' [ pass ] 799 rpl.rpl_row_delayed_ins 'row' [ pass ] 693 rpl.rpl_row_disabled_slave_key 'row' [ pass ] 1402 rpl.rpl_row_drop 'row' [ pass ] 793 rpl.rpl_row_flsh_tbls 'row' [ pass ] 1065 rpl.rpl_row_func001 'row' [ pass ] 749 rpl.rpl_row_func002 'row' [ pass ] 1050 rpl.rpl_row_inexist_tbl 'row' [ pass ] 713 rpl.rpl_row_insert_delayed 'row' [ pass ] 1534 rpl.rpl_row_max_relay_size 'row' [ pass ] 22422 rpl.rpl_row_reset_slave 'row' [ pass ] 2501 rpl.rpl_row_sp001 'row' [ pass ] 1101 rpl.rpl_row_sp005 'row' [ pass ] 937 rpl.rpl_row_sp008 'row' [ pass ] 766 rpl.rpl_row_sp009 'row' [ pass ] 745 rpl.rpl_row_sp010 'row' [ pass ] 733 rpl.rpl_row_sp011 'row' [ pass ] 1799 rpl.rpl_row_sp012 'row' [ pass ] 650 rpl.rpl_row_tabledefs_2myisam 'row' [ pass ] 2395 rpl.rpl_row_trig001 'row' [ pass ] 1482 rpl.rpl_row_trig002 'row' [ pass ] 1030 rpl.rpl_row_trig003 'row' [ pass ] 1951 rpl.rpl_row_trunc_temp 'row' [ pass ] 899 rpl.rpl_row_unsafe_funcs 'mix' [ pass ] 733 rpl.rpl_row_until 'row' [ pass ] 1751 rpl.rpl_row_view01 'row' [ pass ] 1447 rpl.rpl_row_wide_table 'row' [ pass ] 729 rpl.rpl_server_id 'row' [ pass ] 233 rpl.rpl_server_id 'stmt' [ pass ] 221 rpl.rpl_server_id 'mix' [ pass ] 220 rpl.rpl_server_id1 'row' [ pass ] 765 rpl.rpl_server_id1 'stmt' [ pass ] 704 rpl.rpl_server_id1 'mix' [ pass ] 903 rpl.rpl_server_id2 'row' [ pass ] 1470 rpl.rpl_server_id2 'stmt' [ pass ] 1662 rpl.rpl_server_id2 'mix' [ pass ] 1430 rpl.rpl_session_var 'row' [ pass ] 989 rpl.rpl_session_var 'stmt' [ pass ] 970 rpl.rpl_session_var 'mix' [ pass ] 986 rpl.rpl_set_charset 'row' [ pass ] 678 rpl.rpl_set_charset 'stmt' [ pass ] 689 rpl.rpl_set_charset 'mix' [ pass ] 681 rpl.rpl_set_null_myisam 'row' [ pass ] 2222 rpl.rpl_set_null_myisam 'mix' [ pass ] 2219 rpl.rpl_sf 'row' [ pass ] 22 rpl.rpl_sf 'stmt' [ pass ] 18 rpl.rpl_sf 'mix' [ pass ] 21 CHANGE MASTER TO MASTER_USER='root', MASTER_CONNECT_RETRY=1, MASTER_HOST='127.0.0.1', MASTER_PORT=MASTER_MYPORT; START SLAVE; **** ERROR: timeout after seconds while waiting for slave parameter Slave_SQL_Running = No **** Message: Failed while waiting for slave SQL thread to stop Current connection is 'slave' Note: the following output may have changed since the failure was detected [on slave] **** SHOW SLAVE STATUS on slave **** SHOW SLAVE STATUS; Slave_IO_State Waiting for master to send event Master_Host 127.0.0.1 Master_User root Master_Port 13000 Connect_Retry 1 Master_Log_File master-bin.000001 Read_Master_Log_Pos 106 Relay_Log_File slave-relay-bin.000004 Relay_Log_Pos 252 Relay_Master_Log_File master-bin.000001 Slave_IO_Running Yes Slave_SQL_Running Yes Replicate_Do_DB Replicate_Ignore_DB Replicate_Do_Table Replicate_Ignore_Table Replicate_Wild_Do_Table Replicate_Wild_Ignore_Table Last_Errno 0 Last_Error Skip_Counter 0 Exec_Master_Log_Pos 106 Relay_Log_Space 553 Until_Condition None Until_Log_File Until_Log_Pos 0 Master_SSL_Allowed No Master_SSL_CA_File Master_SSL_CA_Path Master_SSL_Cert Master_SSL_Cipher Master_SSL_Key Seconds_Behind_Master 0 Master_SSL_Verify_Server_Cert No Last_IO_Errno 0 Last_IO_Error Last_SQL_Errno 0 Last_SQL_Error **** SHOW PROCESSLIST on slave **** SHOW PROCESSLIST; Id User Host db Command Time State Info 2 root localhost:46042 test Query 0 NULL SHOW PROCESSLIST 3 root localhost:46043 test Sleep 302 NULL 4 system user NULL Connect 302 Waiting for master to send event NULL 5 system user NULL Connect 62 Has read all relay log; waiting for the slave I/O thread to update it NULL **** SHOW BINLOG EVENTS on slave **** SHOW BINLOG EVENTS IN 'slave-bin.000001'; Log_name Pos Event_type Server_id End_log_pos Info slave-bin.000001 4 Format_desc 2 106 Server ver: 5.1.46-enterprise-gpl-advanced-log, Binlog ver: 4 [on master] **** SHOW MASTER STATUS on master **** SHOW MASTER STATUS; File master-bin.000001 Position 106 Binlog_Do_DB Binlog_Ignore_DB **** SHOW PROCESSLIST on master **** SHOW PROCESSLIST; Id User Host db Command Time State Info 2 root localhost test Sleep 302 NULL 3 root localhost:46040 test Query 0 NULL SHOW PROCESSLIST 4 root localhost:46041 test Sleep 302 NULL 7 root localhost:46048 NULL Binlog Dump 62 Has sent all binlog to slave; waiting for binlog to be updated NULL **** SHOW BINLOG EVENTS on master **** SHOW BINLOG EVENTS IN 'master-bin.000001'; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 4 Format_desc 1 106 Server ver: 5.1.46-enterprise-gpl-advanced-log, Binlog ver: 4 rpl.rpl_slave_load_tmpdir_not_exist 'row' [ pass ] 302723 CHANGE MASTER TO MASTER_USER='root', MASTER_CONNECT_RETRY=1, MASTER_HOST='127.0.0.1', MASTER_PORT=MASTER_MYPORT; START SLAVE; **** ERROR: timeout after seconds while waiting for slave parameter Slave_SQL_Running = No **** Message: Failed while waiting for slave SQL thread to stop Current connection is 'slave' Note: the following output may have changed since the failure was detected [on slave] **** SHOW SLAVE STATUS on slave **** SHOW SLAVE STATUS; Slave_IO_State Waiting for master to send event Master_Host 127.0.0.1 Master_User root Master_Port 13000 Connect_Retry 1 Master_Log_File master-bin.000001 Read_Master_Log_Pos 106 Relay_Log_File slave-relay-bin.000004 Relay_Log_Pos 252 Relay_Master_Log_File master-bin.000001 Slave_IO_Running Yes Slave_SQL_Running Yes Replicate_Do_DB Replicate_Ignore_DB Replicate_Do_Table Replicate_Ignore_Table Replicate_Wild_Do_Table Replicate_Wild_Ignore_Table Last_Errno 0 Last_Error Skip_Counter 0 Exec_Master_Log_Pos 106 Relay_Log_Space 553 Until_Condition None Until_Log_File Until_Log_Pos 0 Master_SSL_Allowed No Master_SSL_CA_File Master_SSL_CA_Path Master_SSL_Cert Master_SSL_Cipher Master_SSL_Key Seconds_Behind_Master 0 Master_SSL_Verify_Server_Cert No Last_IO_Errno 0 Last_IO_Error Last_SQL_Errno 0 Last_SQL_Error **** SHOW PROCESSLIST on slave **** SHOW PROCESSLIST; Id User Host db Command Time State Info 2 root localhost:46054 test Query 0 NULL SHOW PROCESSLIST 3 root localhost:46055 test Sleep 303 NULL 4 system user NULL Connect 302 Waiting for master to send event NULL 5 system user NULL Connect 62 Has read all relay log; waiting for the slave I/O thread to update it NULL **** SHOW BINLOG EVENTS on slave **** SHOW BINLOG EVENTS IN 'slave-bin.000001'; Log_name Pos Event_type Server_id End_log_pos Info slave-bin.000001 4 Format_desc 2 106 Server ver: 5.1.46-enterprise-gpl-advanced-log, Binlog ver: 4 [on master] **** SHOW MASTER STATUS on master **** SHOW MASTER STATUS; File master-bin.000001 Position 106 Binlog_Do_DB Binlog_Ignore_DB **** SHOW PROCESSLIST on master **** SHOW PROCESSLIST; Id User Host db Command Time State Info 2 root localhost test Sleep 303 NULL 3 root localhost:46052 test Query 0 NULL SHOW PROCESSLIST 4 root localhost:46053 test Sleep 303 NULL 7 root localhost:46061 NULL Binlog Dump 62 Has sent all binlog to slave; waiting for binlog to be updated NULL **** SHOW BINLOG EVENTS on master **** SHOW BINLOG EVENTS IN 'master-bin.000001'; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 4 Format_desc 1 106 Server ver: 5.1.46-enterprise-gpl-advanced-log, Binlog ver: 4 rpl.rpl_slave_load_tmpdir_not_exist 'stmt' [ pass ] 302827 CHANGE MASTER TO MASTER_USER='root', MASTER_CONNECT_RETRY=1, MASTER_HOST='127.0.0.1', MASTER_PORT=MASTER_MYPORT; START SLAVE; **** ERROR: timeout after seconds while waiting for slave parameter Slave_SQL_Running = No **** Message: Failed while waiting for slave SQL thread to stop Current connection is 'slave' Note: the following output may have changed since the failure was detected [on slave] **** SHOW SLAVE STATUS on slave **** SHOW SLAVE STATUS; Slave_IO_State Waiting for master to send event Master_Host 127.0.0.1 Master_User root Master_Port 13000 Connect_Retry 1 Master_Log_File master-bin.000001 Read_Master_Log_Pos 106 Relay_Log_File slave-relay-bin.000004 Relay_Log_Pos 252 Relay_Master_Log_File master-bin.000001 Slave_IO_Running Yes Slave_SQL_Running Yes Replicate_Do_DB Replicate_Ignore_DB Replicate_Do_Table Replicate_Ignore_Table Replicate_Wild_Do_Table Replicate_Wild_Ignore_Table Last_Errno 0 Last_Error Skip_Counter 0 Exec_Master_Log_Pos 106 Relay_Log_Space 553 Until_Condition None Until_Log_File Until_Log_Pos 0 Master_SSL_Allowed No Master_SSL_CA_File Master_SSL_CA_Path Master_SSL_Cert Master_SSL_Cipher Master_SSL_Key Seconds_Behind_Master 0 Master_SSL_Verify_Server_Cert No Last_IO_Errno 0 Last_IO_Error Last_SQL_Errno 0 Last_SQL_Error **** SHOW PROCESSLIST on slave **** SHOW PROCESSLIST; Id User Host db Command Time State Info 2 root localhost:46067 test Query 0 NULL SHOW PROCESSLIST 3 root localhost:46068 test Sleep 303 NULL 4 system user NULL Connect 302 Waiting for master to send event NULL 5 system user NULL Connect 62 Has read all relay log; waiting for the slave I/O thread to update it NULL **** SHOW BINLOG EVENTS on slave **** SHOW BINLOG EVENTS IN 'slave-bin.000001'; Log_name Pos Event_type Server_id End_log_pos Info slave-bin.000001 4 Format_desc 2 106 Server ver: 5.1.46-enterprise-gpl-advanced-log, Binlog ver: 4 [on master] **** SHOW MASTER STATUS on master **** SHOW MASTER STATUS; File master-bin.000001 Position 106 Binlog_Do_DB Binlog_Ignore_DB **** SHOW PROCESSLIST on master **** SHOW PROCESSLIST; Id User Host db Command Time State Info 2 root localhost test Sleep 303 NULL 3 root localhost:46065 test Query 0 NULL SHOW PROCESSLIST 4 root localhost:46066 test Sleep 303 NULL 7 root localhost:46073 NULL Binlog Dump 62 Has sent all binlog to slave; waiting for binlog to be updated NULL **** SHOW BINLOG EVENTS on master **** SHOW BINLOG EVENTS IN 'master-bin.000001'; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 4 Format_desc 1 106 Server ver: 5.1.46-enterprise-gpl-advanced-log, Binlog ver: 4 rpl.rpl_slave_load_tmpdir_not_exist 'mix' [ pass ] 302729 rpl.rpl_slave_status 'row' [ pass ] 921 rpl.rpl_slave_status 'stmt' [ pass ] 893 rpl.rpl_slave_status 'mix' [ pass ] 1690 rpl.rpl_slow_query_log 'stmt' [ pass ] 29265 rpl.rpl_sp004 'row' [ pass ] 1299 rpl.rpl_sp004 'stmt' [ pass ] 1315 rpl.rpl_sp004 'mix' [ pass ] 1314 rpl.rpl_stm_000001 'stmt' [ pass ] 12695 rpl.rpl_stm_EE_err2 'stmt' [ fail ] Test ended at 2010-05-04 14:04:36 CURRENT_TEST: rpl.rpl_stm_EE_err2 mysqltest: At line 6: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_stm_EE_err2.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_stm_EE_err2-stmt/' Retrying test, attempt(2/3)... rpl.rpl_stm_EE_err2 'stmt' [ retry-fail ] Test ended at 2010-05-04 14:04:39 CURRENT_TEST: rpl.rpl_stm_EE_err2 mysqltest: At line 6: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_stm_EE_err2.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_stm_EE_err2-stmt/' Test has failed 2 times, no more retries! rpl.rpl_stm_EE_err2 'mix' [ fail ] Test ended at 2010-05-04 14:04:42 CURRENT_TEST: rpl.rpl_stm_EE_err2 mysqltest: At line 6: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_stm_EE_err2.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_stm_EE_err2-mix/' Retrying test, attempt(2/3)... rpl.rpl_stm_EE_err2 'mix' [ retry-fail ] Test ended at 2010-05-04 14:04:45 CURRENT_TEST: rpl.rpl_stm_EE_err2 mysqltest: At line 6: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_stm_EE_err2.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_stm_EE_err2-mix/' Test has failed 2 times, no more retries! stop slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; reset master; reset slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; start slave; DROP TABLE IF EXISTS t1, t2; DROP PROCEDURE IF EXISTS p1; DROP PROCEDURE IF EXISTS p2; DROP TRIGGER IF EXISTS tr1; DROP FUNCTION IF EXISTS f1; CREATE TABLE t1 (id INT AUTO_INCREMENT PRIMARY KEY); CREATE TABLE t2 (id INT AUTO_INCREMENT PRIMARY KEY); CREATE PROCEDURE p1() BEGIN DECLARE ins_count INT DEFAULT 10; WHILE ins_count > 0 DO INSERT INTO t1 VALUES (NULL); SET ins_count = ins_count - 1; END WHILE; DELETE FROM t1 WHERE id = 1; DELETE FROM t1 WHERE id = 2; DELETE FROM t2 WHERE id = 1; DELETE FROM t2 WHERE id = 2; END// CREATE PROCEDURE p2() BEGIN INSERT INTO t1 VALUES (NULL); DELETE FROM t1 WHERE id = f1(3); DELETE FROM t1 WHERE id = f1(4); DELETE FROM t2 WHERE id = 3; DELETE FROM t2 WHERE id = 4; END// CREATE TRIGGER tr1 BEFORE DELETE ON t1 FOR EACH ROW BEGIN INSERT INTO t2 VALUES (NULL); END// CREATE FUNCTION f1 (i int) RETURNS int BEGIN INSERT INTO t2 VALUES (NULL); RETURN i; END// CALL p1(); show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Intvar # # INSERT_ID=1 master-bin.000001 # Query # # use `test`; INSERT INTO t1 VALUES (NULL) master-bin.000001 # Intvar # # INSERT_ID=2 master-bin.000001 # Query # # use `test`; INSERT INTO t1 VALUES (NULL) master-bin.000001 # Intvar # # INSERT_ID=3 master-bin.000001 # Query # # use `test`; INSERT INTO t1 VALUES (NULL) master-bin.000001 # Intvar # # INSERT_ID=4 master-bin.000001 # Query # # use `test`; INSERT INTO t1 VALUES (NULL) master-bin.000001 # Intvar # # INSERT_ID=5 master-bin.000001 # Query # # use `test`; INSERT INTO t1 VALUES (NULL) master-bin.000001 # Intvar # # INSERT_ID=6 master-bin.000001 # Query # # use `test`; INSERT INTO t1 VALUES (NULL) master-bin.000001 # Intvar # # INSERT_ID=7 master-bin.000001 # Query # # use `test`; INSERT INTO t1 VALUES (NULL) master-bin.000001 # Intvar # # INSERT_ID=8 master-bin.000001 # Query # # use `test`; INSERT INTO t1 VALUES (NULL) master-bin.000001 # Intvar # # INSERT_ID=9 master-bin.000001 # Query # # use `test`; INSERT INTO t1 VALUES (NULL) master-bin.000001 # Intvar # # INSERT_ID=10 master-bin.000001 # Query # # use `test`; INSERT INTO t1 VALUES (NULL) master-bin.000001 # Intvar # # INSERT_ID=1 master-bin.000001 # Query # # use `test`; DELETE FROM t1 WHERE id = 1 master-bin.000001 # Intvar # # INSERT_ID=2 master-bin.000001 # Query # # use `test`; DELETE FROM t1 WHERE id = 2 master-bin.000001 # Query # # use `test`; DELETE FROM t2 WHERE id = 1 master-bin.000001 # Query # # use `test`; DELETE FROM t2 WHERE id = 2 # Result on master SELECT * FROM t1; id 3 4 5 6 7 8 9 10 SELECT * FROM t2; id # Result on slave SELECT * FROM t1; id 3 4 5 6 7 8 9 10 SELECT * FROM t2; id DROP TRIGGER tr1; CALL p2(); show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Intvar # # INSERT_ID=11 master-bin.000001 # Query # # use `test`; INSERT INTO t1 VALUES (NULL) master-bin.000001 # Intvar # # INSERT_ID=3 master-bin.000001 # Query # # use `test`; DELETE FROM t1 WHERE id = f1(3) master-bin.000001 # Intvar # # INSERT_ID=12 master-bin.000001 # Query # # use `test`; DELETE FROM t1 WHERE id = f1(4) master-bin.000001 # Query # # use `test`; DELETE FROM t2 WHERE id = 3 master-bin.000001 # Query # # use `test`; DELETE FROM t2 WHERE id = 4 # Result on master SELECT * FROM t1; id 5 6 7 8 9 10 11 SELECT * FROM t2; id 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 # Result on slave SELECT * FROM t1; id 5 6 7 8 9 10 11 SELECT * FROM t2; id 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 DROP TABLE IF EXISTS t1, t2; DROP PROCEDURE IF EXISTS p1; DROP PROCEDURE IF EXISTS p2; DROP FUNCTION IF EXISTS f1; DROP TRIGGER IF EXISTS tr1; rpl.rpl_stm_auto_increment_bug33029 'stmt' [ fail ] Test ended at 2010-05-04 14:04:49 CURRENT_TEST: rpl.rpl_stm_auto_increment_bug33029 mysqltest: Exit with failure! Call 'exit' in script to return with sucess - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_stm_auto_increment_bug33029-stmt/' Retrying test, attempt(2/3)... stop slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; reset master; reset slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; start slave; DROP TABLE IF EXISTS t1, t2; DROP PROCEDURE IF EXISTS p1; DROP PROCEDURE IF EXISTS p2; DROP TRIGGER IF EXISTS tr1; DROP FUNCTION IF EXISTS f1; CREATE TABLE t1 (id INT AUTO_INCREMENT PRIMARY KEY); CREATE TABLE t2 (id INT AUTO_INCREMENT PRIMARY KEY); CREATE PROCEDURE p1() BEGIN DECLARE ins_count INT DEFAULT 10; WHILE ins_count > 0 DO INSERT INTO t1 VALUES (NULL); SET ins_count = ins_count - 1; END WHILE; DELETE FROM t1 WHERE id = 1; DELETE FROM t1 WHERE id = 2; DELETE FROM t2 WHERE id = 1; DELETE FROM t2 WHERE id = 2; END// CREATE PROCEDURE p2() BEGIN INSERT INTO t1 VALUES (NULL); DELETE FROM t1 WHERE id = f1(3); DELETE FROM t1 WHERE id = f1(4); DELETE FROM t2 WHERE id = 3; DELETE FROM t2 WHERE id = 4; END// CREATE TRIGGER tr1 BEFORE DELETE ON t1 FOR EACH ROW BEGIN INSERT INTO t2 VALUES (NULL); END// CREATE FUNCTION f1 (i int) RETURNS int BEGIN INSERT INTO t2 VALUES (NULL); RETURN i; END// CALL p1(); show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Intvar # # INSERT_ID=1 master-bin.000001 # Query # # use `test`; INSERT INTO t1 VALUES (NULL) master-bin.000001 # Intvar # # INSERT_ID=2 master-bin.000001 # Query # # use `test`; INSERT INTO t1 VALUES (NULL) master-bin.000001 # Intvar # # INSERT_ID=3 master-bin.000001 # Query # # use `test`; INSERT INTO t1 VALUES (NULL) master-bin.000001 # Intvar # # INSERT_ID=4 master-bin.000001 # Query # # use `test`; INSERT INTO t1 VALUES (NULL) master-bin.000001 # Intvar # # INSERT_ID=5 master-bin.000001 # Query # # use `test`; INSERT INTO t1 VALUES (NULL) master-bin.000001 # Intvar # # INSERT_ID=6 master-bin.000001 # Query # # use `test`; INSERT INTO t1 VALUES (NULL) master-bin.000001 # Intvar # # INSERT_ID=7 master-bin.000001 # Query # # use `test`; INSERT INTO t1 VALUES (NULL) master-bin.000001 # Intvar # # INSERT_ID=8 master-bin.000001 # Query # # use `test`; INSERT INTO t1 VALUES (NULL) master-bin.000001 # Intvar # # INSERT_ID=9 master-bin.000001 # Query # # use `test`; INSERT INTO t1 VALUES (NULL) master-bin.000001 # Intvar # # INSERT_ID=10 master-bin.000001 # Query # # use `test`; INSERT INTO t1 VALUES (NULL) master-bin.000001 # Intvar # # INSERT_ID=1 master-bin.000001 # Query # # use `test`; DELETE FROM t1 WHERE id = 1 master-bin.000001 # Intvar # # INSERT_ID=2 master-bin.000001 # Query # # use `test`; DELETE FROM t1 WHERE id = 2 master-bin.000001 # Query # # use `test`; DELETE FROM t2 WHERE id = 1 master-bin.000001 # Query # # use `test`; DELETE FROM t2 WHERE id = 2 # Result on master SELECT * FROM t1; id 3 4 5 6 7 8 9 10 SELECT * FROM t2; id # Result on slave SELECT * FROM t1; id 3 4 5 6 7 8 9 10 SELECT * FROM t2; id DROP TRIGGER tr1; CALL p2(); show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Intvar # # INSERT_ID=11 master-bin.000001 # Query # # use `test`; INSERT INTO t1 VALUES (NULL) master-bin.000001 # Intvar # # INSERT_ID=3 master-bin.000001 # Query # # use `test`; DELETE FROM t1 WHERE id = f1(3) master-bin.000001 # Intvar # # INSERT_ID=12 master-bin.000001 # Query # # use `test`; DELETE FROM t1 WHERE id = f1(4) master-bin.000001 # Query # # use `test`; DELETE FROM t2 WHERE id = 3 master-bin.000001 # Query # # use `test`; DELETE FROM t2 WHERE id = 4 # Result on master SELECT * FROM t1; id 5 6 7 8 9 10 11 SELECT * FROM t2; id 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 # Result on slave SELECT * FROM t1; id 5 6 7 8 9 10 11 SELECT * FROM t2; id 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 DROP TABLE IF EXISTS t1, t2; DROP PROCEDURE IF EXISTS p1; DROP PROCEDURE IF EXISTS p2; DROP FUNCTION IF EXISTS f1; DROP TRIGGER IF EXISTS tr1; rpl.rpl_stm_auto_increment_bug33029 'stmt' [ retry-fail ] Test ended at 2010-05-04 14:04:52 CURRENT_TEST: rpl.rpl_stm_auto_increment_bug33029 mysqltest: Exit with failure! Call 'exit' in script to return with sucess - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_stm_auto_increment_bug33029-stmt/' Test has failed 2 times, no more retries! rpl.rpl_stm_conflicts 'stmt' [ fail ] Test ended at 2010-05-04 14:04:55 CURRENT_TEST: rpl.rpl_stm_conflicts mysqltest: At line 6: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_stm_conflicts.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_stm_conflicts-stmt/' Retrying test, attempt(2/3)... rpl.rpl_stm_conflicts 'stmt' [ retry-fail ] Test ended at 2010-05-04 14:04:58 CURRENT_TEST: rpl.rpl_stm_conflicts mysqltest: At line 6: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_stm_conflicts.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_stm_conflicts-stmt/' Test has failed 2 times, no more retries! rpl.rpl_stm_conflicts 'mix' [ fail ] Test ended at 2010-05-04 14:05:01 CURRENT_TEST: rpl.rpl_stm_conflicts mysqltest: At line 6: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_stm_conflicts.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_stm_conflicts-mix/' Retrying test, attempt(2/3)... rpl.rpl_stm_conflicts 'mix' [ retry-fail ] Test ended at 2010-05-04 14:05:04 CURRENT_TEST: rpl.rpl_stm_conflicts mysqltest: At line 6: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_stm_conflicts.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_stm_conflicts-mix/' Test has failed 2 times, no more retries! rpl.rpl_stm_flsh_tbls 'stmt' [ fail ] Test ended at 2010-05-04 14:05:06 CURRENT_TEST: rpl.rpl_stm_flsh_tbls mysqltest: At line 2: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_stm_flsh_tbls.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_stm_flsh_tbls-stmt/' Retrying test, attempt(2/3)... rpl.rpl_stm_flsh_tbls 'stmt' [ retry-fail ] Test ended at 2010-05-04 14:05:09 CURRENT_TEST: rpl.rpl_stm_flsh_tbls mysqltest: At line 2: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_stm_flsh_tbls.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_stm_flsh_tbls-stmt/' Test has failed 2 times, no more retries! rpl.rpl_stm_flsh_tbls 'mix' [ fail ] Test ended at 2010-05-04 14:05:12 CURRENT_TEST: rpl.rpl_stm_flsh_tbls mysqltest: At line 2: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_stm_flsh_tbls.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_stm_flsh_tbls-mix/' Retrying test, attempt(2/3)... rpl.rpl_stm_flsh_tbls 'mix' [ retry-fail ] Test ended at 2010-05-04 14:05:15 CURRENT_TEST: rpl.rpl_stm_flsh_tbls mysqltest: At line 2: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_stm_flsh_tbls.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_stm_flsh_tbls-mix/' Test has failed 2 times, no more retries! rpl.rpl_stm_insert_delayed 'stmt' [ fail ] Test ended at 2010-05-04 14:05:18 CURRENT_TEST: rpl.rpl_stm_insert_delayed mysqltest: At line 3: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_stm_insert_delayed.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_stm_insert_delayed-stmt/' Retrying test, attempt(2/3)... rpl.rpl_stm_insert_delayed 'stmt' [ retry-fail ] Test ended at 2010-05-04 14:05:21 CURRENT_TEST: rpl.rpl_stm_insert_delayed mysqltest: At line 3: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_stm_insert_delayed.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_stm_insert_delayed-stmt/' Test has failed 2 times, no more retries! rpl.rpl_stm_insert_delayed 'mix' [ fail ] Test ended at 2010-05-04 14:05:24 CURRENT_TEST: rpl.rpl_stm_insert_delayed mysqltest: At line 3: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_stm_insert_delayed.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_stm_insert_delayed-mix/' Retrying test, attempt(2/3)... rpl.rpl_stm_insert_delayed 'mix' [ retry-fail ] Test ended at 2010-05-04 14:05:28 CURRENT_TEST: rpl.rpl_stm_insert_delayed mysqltest: At line 3: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_stm_insert_delayed.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_stm_insert_delayed-mix/' Test has failed 2 times, no more retries! rpl.rpl_stm_loadfile 'stmt' [ pass ] 705 rpl.rpl_stm_log 'stmt' [ fail ] Test ended at 2010-05-04 14:05:36 CURRENT_TEST: rpl.rpl_stm_log mysqltest: At line 2: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_stm_log.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_stm_log-stmt/' Retrying test, attempt(2/3)... rpl.rpl_stm_log 'stmt' [ retry-fail ] Test ended at 2010-05-04 14:05:39 CURRENT_TEST: rpl.rpl_stm_log mysqltest: At line 2: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_stm_log.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_stm_log-stmt/' Test has failed 2 times, no more retries! rpl.rpl_stm_log 'mix' [ fail ] Test ended at 2010-05-04 14:05:41 CURRENT_TEST: rpl.rpl_stm_log mysqltest: At line 2: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_stm_log.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_stm_log-mix/' Retrying test, attempt(2/3)... rpl.rpl_stm_log 'mix' [ retry-fail ] Test ended at 2010-05-04 14:05:44 CURRENT_TEST: rpl.rpl_stm_log mysqltest: At line 2: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_stm_log.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_stm_log-mix/' Test has failed 2 times, no more retries! rpl.rpl_stm_max_relay_size 'stmt' [ fail ] Test ended at 2010-05-04 14:05:47 CURRENT_TEST: rpl.rpl_stm_max_relay_size mysqltest: At line 7: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_stm_max_relay_size.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_stm_max_relay_size-stmt/' Retrying test, attempt(2/3)... rpl.rpl_stm_max_relay_size 'stmt' [ retry-fail ] Test ended at 2010-05-04 14:05:50 CURRENT_TEST: rpl.rpl_stm_max_relay_size mysqltest: At line 7: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_stm_max_relay_size.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_stm_max_relay_size-stmt/' Test has failed 2 times, no more retries! rpl.rpl_stm_max_relay_size 'mix' [ fail ] Test ended at 2010-05-04 14:05:53 CURRENT_TEST: rpl.rpl_stm_max_relay_size mysqltest: At line 7: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_stm_max_relay_size.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_stm_max_relay_size-mix/' Retrying test, attempt(2/3)... rpl.rpl_stm_max_relay_size 'mix' [ retry-fail ] Test ended at 2010-05-04 14:05:56 CURRENT_TEST: rpl.rpl_stm_max_relay_size mysqltest: At line 7: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_stm_max_relay_size.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_stm_max_relay_size-mix/' Test has failed 2 times, no more retries! rpl.rpl_stm_multi_query 'stmt' [ fail ] Test ended at 2010-05-04 14:05:58 CURRENT_TEST: rpl.rpl_stm_multi_query mysqltest: At line 7: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_stm_multi_query.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_stm_multi_query-stmt/' Retrying test, attempt(2/3)... rpl.rpl_stm_multi_query 'stmt' [ retry-fail ] Test ended at 2010-05-04 14:06:01 CURRENT_TEST: rpl.rpl_stm_multi_query mysqltest: At line 7: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_stm_multi_query.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_stm_multi_query-stmt/' Test has failed 2 times, no more retries! rpl.rpl_stm_multi_query 'mix' [ fail ] Test ended at 2010-05-04 14:06:04 CURRENT_TEST: rpl.rpl_stm_multi_query mysqltest: At line 7: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_stm_multi_query.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_stm_multi_query-mix/' Retrying test, attempt(2/3)... rpl.rpl_stm_multi_query 'mix' [ retry-fail ] Test ended at 2010-05-04 14:06:07 CURRENT_TEST: rpl.rpl_stm_multi_query mysqltest: At line 7: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_stm_multi_query.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_stm_multi_query-mix/' Test has failed 2 times, no more retries! rpl.rpl_stm_no_op 'stmt' [ fail ] Test ended at 2010-05-04 14:06:10 CURRENT_TEST: rpl.rpl_stm_no_op mysqltest: At line 7: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_stm_no_op.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_stm_no_op-stmt/' Retrying test, attempt(2/3)... rpl.rpl_stm_no_op 'stmt' [ retry-fail ] Test ended at 2010-05-04 14:06:13 CURRENT_TEST: rpl.rpl_stm_no_op mysqltest: At line 7: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_stm_no_op.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_stm_no_op-stmt/' Test has failed 2 times, no more retries! rpl.rpl_stm_no_op 'mix' [ fail ] Test ended at 2010-05-04 14:06:16 CURRENT_TEST: rpl.rpl_stm_no_op mysqltest: At line 7: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_stm_no_op.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_stm_no_op-mix/' Retrying test, attempt(2/3)... rpl.rpl_stm_no_op 'mix' [ retry-fail ] Test ended at 2010-05-04 14:06:18 CURRENT_TEST: rpl.rpl_stm_no_op mysqltest: At line 7: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_stm_no_op.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_stm_no_op-mix/' Test has failed 2 times, no more retries! rpl.rpl_stm_reset_slave 'stmt' [ fail ] Test ended at 2010-05-04 14:06:21 CURRENT_TEST: rpl.rpl_stm_reset_slave mysqltest: At line 2: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_stm_reset_slave.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_stm_reset_slave-stmt/' Retrying test, attempt(2/3)... rpl.rpl_stm_reset_slave 'stmt' [ retry-fail ] Test ended at 2010-05-04 14:06:24 CURRENT_TEST: rpl.rpl_stm_reset_slave mysqltest: At line 2: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_stm_reset_slave.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_stm_reset_slave-stmt/' Test has failed 2 times, no more retries! rpl.rpl_stm_reset_slave 'mix' [ fail ] Test ended at 2010-05-04 14:06:28 CURRENT_TEST: rpl.rpl_stm_reset_slave mysqltest: At line 2: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_stm_reset_slave.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_stm_reset_slave-mix/' Retrying test, attempt(2/3)... rpl.rpl_stm_reset_slave 'mix' [ retry-fail ] Test ended at 2010-05-04 14:06:31 CURRENT_TEST: rpl.rpl_stm_reset_slave mysqltest: At line 2: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_stm_reset_slave.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_stm_reset_slave-mix/' Test has failed 2 times, no more retries! rpl.rpl_stm_sql_mode 'stmt' [ pass ] 657 rpl.rpl_stm_until 'stmt' [ fail ] Test ended at 2010-05-04 14:06:37 CURRENT_TEST: rpl.rpl_stm_until mysqltest: At line 20: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_stm_until.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_stm_until-stmt/' Retrying test, attempt(2/3)... rpl.rpl_stm_until 'stmt' [ retry-fail ] Test ended at 2010-05-04 14:06:40 CURRENT_TEST: rpl.rpl_stm_until mysqltest: At line 20: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_stm_until.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_stm_until-stmt/' Test has failed 2 times, no more retries! rpl.rpl_stm_until 'mix' [ fail ] Test ended at 2010-05-04 14:06:43 CURRENT_TEST: rpl.rpl_stm_until mysqltest: At line 20: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_stm_until.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_stm_until-mix/' Retrying test, attempt(2/3)... rpl.rpl_stm_until 'mix' [ retry-fail ] Test ended at 2010-05-04 14:06:46 CURRENT_TEST: rpl.rpl_stm_until mysqltest: At line 20: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_stm_until.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_stm_until-mix/' Test has failed 2 times, no more retries! rpl.rpl_switch_stm_row_mixed 'row' [ pass ] 3953 rpl.rpl_switch_stm_row_mixed 'stmt' [ pass ] 4019 rpl.rpl_switch_stm_row_mixed 'mix' [ pass ] 4031 rpl.rpl_temp_table 'stmt' [ fail ] Test ended at 2010-05-04 14:07:14 CURRENT_TEST: rpl.rpl_temp_table mysqltest: At line 4: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_temp_table.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_temp_table-stmt/' Retrying test, attempt(2/3)... rpl.rpl_temp_table 'stmt' [ retry-fail ] Test ended at 2010-05-04 14:07:17 CURRENT_TEST: rpl.rpl_temp_table mysqltest: At line 4: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_temp_table.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_temp_table-stmt/' Test has failed 2 times, no more retries! rpl.rpl_temp_table 'mix' [ fail ] Test ended at 2010-05-04 14:07:20 CURRENT_TEST: rpl.rpl_temp_table mysqltest: At line 4: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_temp_table.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_temp_table-mix/' Retrying test, attempt(2/3)... rpl.rpl_temp_table 'mix' [ retry-fail ] Test ended at 2010-05-04 14:07:22 CURRENT_TEST: rpl.rpl_temp_table mysqltest: At line 4: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_temp_table.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_temp_table-mix/' Test has failed 2 times, no more retries! rpl.rpl_temp_table_mix_row 'mix' [ pass ] 1889 rpl.rpl_temporary 'row' [ pass ] 2072 rpl.rpl_temporary 'stmt' [ pass ] 2364 rpl.rpl_temporary 'mix' [ pass ] 2327 rpl.rpl_temporary_errors 'row' [ pass ] 642 rpl.rpl_temporary_errors 'stmt' [ pass ] 665 rpl.rpl_temporary_errors 'mix' [ pass ] 729 rpl.rpl_tmp_table_and_DDL 'row' [ pass ] 721 rpl.rpl_trunc_temp 'stmt' [ fail ] Test ended at 2010-05-04 14:08:21 CURRENT_TEST: rpl.rpl_trunc_temp mysqltest: At line 24: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_trunc_temp.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_trunc_temp-stmt/' Retrying test, attempt(2/3)... rpl.rpl_trunc_temp 'stmt' [ retry-fail ] Test ended at 2010-05-04 14:08:24 CURRENT_TEST: rpl.rpl_trunc_temp mysqltest: At line 24: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_trunc_temp.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_trunc_temp-stmt/' Test has failed 2 times, no more retries! rpl.rpl_trunc_temp 'mix' [ fail ] Test ended at 2010-05-04 14:08:27 CURRENT_TEST: rpl.rpl_trunc_temp mysqltest: At line 24: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_trunc_temp.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_trunc_temp-mix/' Retrying test, attempt(2/3)... rpl.rpl_trunc_temp 'mix' [ retry-fail ] Test ended at 2010-05-04 14:08:29 CURRENT_TEST: rpl.rpl_trunc_temp mysqltest: At line 24: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_trunc_temp.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_trunc_temp-mix/' Test has failed 2 times, no more retries! rpl.rpl_truncate_2myisam 'row' [ pass ] 4123 rpl.rpl_truncate_2myisam 'stmt' [ pass ] 2230 rpl.rpl_truncate_2myisam 'mix' [ pass ] 2491 rpl.rpl_user 'row' [ pass ] 583 rpl.rpl_user 'stmt' [ pass ] 580 rpl.rpl_user 'mix' [ pass ] 604 rpl.rpl_user_variables 'row' [ pass ] 1723 rpl.rpl_user_variables 'stmt' [ pass ] 1708 rpl.rpl_user_variables 'mix' [ pass ] 1771 rpl.rpl_variables 'row' [ pass ] 3784 rpl.rpl_variables 'mix' [ pass ] 2327 rpl.rpl_variables_stm 'stmt' [ fail ] Test ended at 2010-05-04 14:09:53 CURRENT_TEST: rpl.rpl_variables_stm mysqltest: At line 56: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 The result from queries just before the failure was: stop slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; reset master; reset slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; start slave; Warnings from just before the error: Note 1051 Unknown table 't1' Note 1051 Unknown table 't2' Note 1051 Unknown table 't3' Note 1051 Unknown table 't4' Note 1051 Unknown table 't5' Note 1051 Unknown table 't6' Note 1051 Unknown table 't7' Note 1051 Unknown table 't8' - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_variables_stm-stmt/' Retrying test, attempt(2/3)... rpl.rpl_variables_stm 'stmt' [ retry-fail ] Test ended at 2010-05-04 14:09:57 CURRENT_TEST: rpl.rpl_variables_stm mysqltest: At line 56: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 The result from queries just before the failure was: stop slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; reset master; reset slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; start slave; Warnings from just before the error: Note 1051 Unknown table 't1' Note 1051 Unknown table 't2' Note 1051 Unknown table 't3' Note 1051 Unknown table 't4' Note 1051 Unknown table 't5' Note 1051 Unknown table 't6' Note 1051 Unknown table 't7' Note 1051 Unknown table 't8' - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_variables_stm-stmt/' Test has failed 2 times, no more retries! rpl.rpl_variables_stm 'mix' [ fail ] Test ended at 2010-05-04 14:10:00 CURRENT_TEST: rpl.rpl_variables_stm mysqltest: At line 56: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 The result from queries just before the failure was: stop slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; reset master; reset slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; start slave; Warnings from just before the error: Note 1051 Unknown table 't1' Note 1051 Unknown table 't2' Note 1051 Unknown table 't3' Note 1051 Unknown table 't4' Note 1051 Unknown table 't5' Note 1051 Unknown table 't6' Note 1051 Unknown table 't7' Note 1051 Unknown table 't8' - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_variables_stm-mix/' Retrying test, attempt(2/3)... rpl.rpl_variables_stm 'mix' [ retry-fail ] Test ended at 2010-05-04 14:10:04 CURRENT_TEST: rpl.rpl_variables_stm mysqltest: At line 56: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 The result from queries just before the failure was: stop slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; reset master; reset slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; start slave; Warnings from just before the error: Note 1051 Unknown table 't1' Note 1051 Unknown table 't2' Note 1051 Unknown table 't3' Note 1051 Unknown table 't4' Note 1051 Unknown table 't5' Note 1051 Unknown table 't6' Note 1051 Unknown table 't7' Note 1051 Unknown table 't8' - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_variables_stm-mix/' Test has failed 2 times, no more retries! rpl.rpl_view 'row' [ pass ] 1483 rpl.rpl_view 'stmt' [ pass ] 1426 rpl.rpl_view 'mix' [ pass ] 1437 rpl.rpl_circular_for_4_hosts 'row' [ pass ] 37333 rpl.rpl_circular_for_4_hosts 'stmt' [ pass ] 37561 rpl.rpl_circular_for_4_hosts 'mix' [ pass ] 34171 rpl.rpl_circular_for_4_hosts 'row+innodb_plugin' [ pass ] 33636 rpl.rpl_circular_for_4_hosts 'stmt+innodb_plugin' [ pass ] 33381 rpl.rpl_circular_for_4_hosts 'mix+innodb_plugin' [ pass ] 32606 binlog.binlog_sql_mode 'row' [ pass ] 801 binlog.binlog_sql_mode 'stmt' [ pass ] 757 binlog.binlog_sql_mode 'mix' [ pass ] 809 rpl.rpl_000015 'row' [ pass ] 565 rpl.rpl_000015 'stmt' [ pass ] 557 rpl.rpl_000015 'mix' [ pass ] 557 rpl.rpl_rotate_logs 'stmt' [ fail ] Test ended at 2010-05-04 14:16:04 CURRENT_TEST: rpl.rpl_rotate_logs mysqltest: At line 18: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_rotate_logs.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_rotate_logs-stmt/' Retrying test, attempt(2/3)... rpl.rpl_rotate_logs 'stmt' [ retry-fail ] Test ended at 2010-05-04 14:16:07 CURRENT_TEST: rpl.rpl_rotate_logs mysqltest: At line 18: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_rotate_logs.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_rotate_logs-stmt/' Test has failed 2 times, no more retries! rpl.rpl_rotate_logs 'mix' [ fail ] Test ended at 2010-05-04 14:16:10 CURRENT_TEST: rpl.rpl_rotate_logs mysqltest: At line 18: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_rotate_logs.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_rotate_logs-mix/' Retrying test, attempt(2/3)... rpl.rpl_rotate_logs 'mix' [ retry-fail ] Test ended at 2010-05-04 14:16:13 CURRENT_TEST: rpl.rpl_rotate_logs mysqltest: At line 18: Could not open './include/have_binlog_format_mixed_or_statement.inc' for reading, errno: 2 Failed to read from '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl_rotate_logs.log', errno: 22 - skipping '/home/support/sveta/mysql-advanced-gpl-5.1.46-aix5.3-powerpc/mysql-test/var/log/rpl.rpl_rotate_logs-mix/' Test has failed 2 times, no more retries! federated.federated_innodb [ pass ] 237 federated.federated_innodb 'innodb_plugin' [ pass ] 237 federated.federated [ pass ] 4781 federated.federated_archive [ pass ] 137 federated.federated_bug_13118 [ pass ] 117 federated.federated_bug_25714 [ skipped ] Need bug25714 test program federated.federated_server [ pass ] 9685 ------------------------------------------------------------ The servers were restarted 927 times Spent 6941.575 of 15283 seconds executing testcases Completed: Failed 102/1198 tests, 91.49% were successful. Failing test(s): binlog.binlog_row_mix_innodb_myisam binlog.binlog_stm_mix_innodb_myisam binlog.binlog_old_versions binlog.binlog_stm_ctype_cp932 binlog.binlog_stm_drop_tmp_tbl binlog.binlog_stm_blackhole binlog.binlog_stm_ctype_ucs binlog.binlog_stm_insert_select binlog.binlog_stm_unsafe_warning binlog.binlog_tmp_table main.create_select_tmp main.archive main.ctype_gbk_binlog main.mysqlbinlog2 main.outfile_loaddata main.query_cache main.user_var-binlog main.mysqlbinlog main.mysqlbinlog-cp932 main.ctype_cp932_binlog_stm main.mysqltest rpl.rpl_binlog_grant rpl.rpl_innodb_mixed_ddl rpl.rpl_innodb_mixed_dml rpl.rpl_loaddata rpl.rpl_loaddata_concurrent rpl.rpl_trigger rpl.rpl_loaddata_map rpl.rpl_cross_version rpl.rpl000013 rpl.rpl_drop_temp rpl.rpl_filter_tables_not_exist rpl.rpl_loaddata_s rpl.rpl_mixed_ddl_dml rpl.rpl_nondeterministic_functions rpl.rpl_rbr_to_sbr rpl.rpl_rewrt_db rpl.rpl_stm_EE_err2 rpl.rpl_stm_auto_increment_bug33029 rpl.rpl_stm_conflicts rpl.rpl_stm_flsh_tbls rpl.rpl_stm_insert_delayed rpl.rpl_stm_log rpl.rpl_stm_max_relay_size rpl.rpl_stm_multi_query rpl.rpl_stm_no_op rpl.rpl_stm_reset_slave rpl.rpl_stm_until rpl.rpl_temp_table rpl.rpl_trunc_temp rpl.rpl_variables_stm rpl.rpl_rotate_logs The log files in var/log may give you some hint of what went wrong. If you want to report this error, please read first the documentation at http://dev.mysql.com/doc/mysql/en/mysql-test-suite.html