mariadb/mysql-test/suite/binlog/r
unknown 3ac0265436 Bug #34283 mysqlbinlog leaves tmpfile after termination if binlog contains load data infile
With statement- or mixed-mode logging, "LOAD DATA INFILE" queries
are written to the binlog using special types of log events.
When mysqlbinlog reads such events, it re-creates the file in a
temporary directory with a generated filename and outputs a
"LOAD DATA INFILE" query where the filename is replaced by the
generated file. The temporary file is not deleted by mysqlbinlog
after termination.
      
To fix the problem, in mixed mode we go to row-based. In SBR, we
document it to remind user the tmpfile is left in a temporary
directory.


mysql-test/suite/binlog/r/binlog_mixed_load_data.result:
  Test result for BUG#34283.
mysql-test/suite/binlog/t/binlog_killed_simulate.test:
  Updated for BUg#34283
mysql-test/suite/binlog/t/binlog_mixed_load_data.test:
  Added the test file to verify that 'load data infile...' statement
  will go to row-based in mixed mode.
mysql-test/suite/binlog/t/binlog_stm_blackhole.test:
  Updated for BUg#34283
mysql-test/suite/rpl/r/rpl_innodb_mixed_dml.result:
  Updated for Bug#34283
mysql-test/suite/rpl/t/rpl_loaddata.test:
  Updated for Bug#34283
mysql-test/suite/rpl/t/rpl_loaddata_fatal.test:
  Updated for Bug#34283
mysql-test/suite/rpl/t/rpl_loaddata_map.test:
  Updated for Bug#34283
mysql-test/suite/rpl/t/rpl_slave_load_remove_tmpfile.test:
  Updated for Bug#34283
mysql-test/suite/rpl/t/rpl_stm_log.test:
  Updated for B
mysys/stacktrace.c:
  Auto merge
sql/sql_lex.cc:
  Auto merg
sql/sql_load.cc:
  Added code to go to row-based in mixed mode for
  'load data infile ...' statement
2010-08-03 11:49:14 +08:00
..
binlog_base64_flag.result Fix for bug #54393: crash and/or valgrind errors in 2010-06-18 21:32:23 +04:00
binlog_database.result BUG#51894 Replication failure with SBR on DROP TEMPORARY TABLE inside a 2010-04-20 10:10:43 +01:00
binlog_delete_and_flush_index.result BUG#34582: FLUSH LOGS does not close and reopen the binlog index 2009-10-20 09:39:40 +01:00
binlog_format_switch_in_tmp_table.result Bug #45855 row events in binlog after switch from binlog_fmt=mix to stmt with open tmp tbl 2010-01-26 17:41:15 +08:00
binlog_grant.result WL#4738 streamline/simplify @@variable creation process 2009-12-22 10:35:56 +01:00
binlog_implicit_commit.result Bug #37221: SET AUTOCOMMIT=1 does not commit binary log 2009-09-23 13:20:48 +02:00
binlog_incident.result Bug#46010 main.ctype_gbk_binlog fails sporadically : Table 't2' already exists 2009-09-07 13:42:54 +08:00
binlog_index.result BUG#49638 binlog_index fails in mysql-trunk-merge 2009-12-16 19:52:56 +00:00
binlog_innodb.result Merge trunk-bugfixing -> trunk-runtime 2010-06-17 17:31:51 +04:00
binlog_innodb_row.result BUG#51894 Replication failure with SBR on DROP TEMPORARY TABLE inside a 2010-04-20 10:10:43 +01:00
binlog_killed.result BUG#50670: Slave stops with error code 1644 2010-04-28 14:47:49 +02:00
binlog_killed_simulate.result Manual merge from mysql-trunk-merge. 2010-01-19 19:36:14 +03:00
binlog_max_extension.result BUG#40611: MySQL cannot make a binary log after sequential number 2009-11-22 03:59:48 +00:00
binlog_mix_innodb_stat.result BUG#50038 Deadlock on flush logs with concurrent DML and RBR 2010-01-05 16:55:23 +00:00
binlog_mixed_load_data.result Bug #34283 mysqlbinlog leaves tmpfile after termination if binlog contains load data infile 2010-08-03 10:22:19 +08:00
binlog_multi_engine.result BUG#53259 Unsafe statement binlogged in statement format w/MyIsam temp tables 2010-06-30 16:25:13 +01:00
binlog_old_versions.result BUG#34141: mysqlbinlog cannot read 4.1 binlogs containing load data infile 2008-01-30 14:12:40 +01:00
binlog_row_binlog.result merging for bug#54935 to trunk-bugfixing 2010-07-17 14:07:36 +03:00
binlog_row_ctype_cp932.result Merge stella.local:/home2/mydev/mysql-5.1-amain 2008-03-26 10:27:00 +01:00
binlog_row_ctype_ucs.result Bug#41371 Select returns 1 row with condition "col is not null and col is null" 2009-11-03 17:54:41 +04:00
binlog_row_drop_tbl.result Backport of revno ## 2617.31.1, 2617.31.3, 2617.31.4, 2617.31.5, 2009-12-05 02:02:48 +03:00
binlog_row_drop_tmp_tbl.result BUG#54842: DROP TEMPORARY TABLE not binlogged after manual 2010-06-29 11:54:58 +01:00
binlog_row_innodb_stat.result BUG#50038 Deadlock on flush logs with concurrent DML and RBR 2010-01-05 16:55:23 +00:00
binlog_row_insert_select.result WL#2687 WL#5072 BUG#40278 BUG#47175 2009-11-03 19:02:56 +00:00
binlog_row_mix_innodb_myisam.result merging for bug#54935 to trunk-bugfixing 2010-07-17 14:07:36 +03:00
binlog_row_mysqlbinlog_db_filter.result BUG#42941: --database paramater to mysqlbinlog fails with RBR 2009-06-07 23:28:08 +01:00
binlog_row_mysqlbinlog_verbose.result Attempt to fix Windows testcase output issue 2009-10-14 21:25:11 +08:00
binlog_spurious_ddl_errors.result BUG#50479 DDL stmt on row-only/stmt-only tables generate spurious binlog_format 2010-06-02 00:25:08 +01:00
binlog_sql_mode.result BUG#39526 sql_mode not retained in binary log for CREATE PROCEDURE 2009-02-28 09:35:18 +08:00
binlog_start_comment.result Fix after merge 2008-02-28 18:55:46 +01:00
binlog_statement_insert_delayed.result BUG#50670: Slave stops with error code 1644 2010-04-28 14:47:49 +02:00
binlog_stm_binlog.result merging for bug#54935 to trunk-bugfixing 2010-07-17 14:07:36 +03:00
binlog_stm_blackhole.result Manual merge 2010-05-26 22:34:25 +08:00
binlog_stm_ctype_cp932.result Unset the execute bit where it's not needed. 2010-07-03 20:17:03 -03:00
binlog_stm_ctype_ucs.result merge mysql-5.1-rep+2-delivery1 --> mysql-5.1-rpl-merge 2010-01-07 15:39:11 +00:00
binlog_stm_do_db.result BUG#50670: Slave stops with error code 1644 2010-04-28 14:47:49 +02:00
binlog_stm_drop_tbl.result Merge next-mr -> next-4284. 2010-02-05 01:08:08 +03:00
binlog_stm_drop_tmp_tbl.result BUG#54842: DROP TEMPORARY TABLE not binlogged after manual 2010-06-29 11:54:58 +01:00
binlog_stm_innodb_stat.result BUG#50038 Deadlock on flush logs with concurrent DML and RBR 2010-01-05 16:55:23 +00:00
binlog_stm_insert_select.result WL#2687 WL#5072 BUG#40278 BUG#47175 2009-11-03 19:02:56 +00:00
binlog_stm_mix_innodb_myisam.result BUG#53259 Unsafe statement binlogged in statement format w/MyIsam temp tables 2010-06-30 16:25:13 +01:00
binlog_stm_ps.result BUG#50670: Slave stops with error code 1644 2010-04-28 14:47:49 +02:00
binlog_stm_row.result BUG#50670: Slave stops with error code 1644 2010-04-28 14:47:49 +02:00
binlog_stm_unsafe_warning.result BUG#53437 @@session.sql_bin_log support in substatements is incorrect 2010-05-27 16:43:08 +01:00
binlog_stm_user_variables.result BUG#49562: SBR out of sync when using numeric data types + user 2010-01-19 23:16:22 +00:00
binlog_switch_inside_trans.result BUG#53437 @@session.sql_bin_log support in substatements is incorrect 2010-05-27 16:43:08 +01:00
binlog_tmp_table.result BUG#53101: binlog.binlog_tmp_table fails on sol10 sparc64 max in 2010-04-27 12:25:55 +01:00
binlog_truncate_innodb.result Bug#42643: InnoDB does not support replication of TRUNCATE TABLE 2010-05-25 17:01:38 -03:00
binlog_truncate_myisam.result Bug#42643: InnoDB does not support replication of TRUNCATE TABLE 2010-05-25 17:01:38 -03:00
binlog_unsafe.result BUG#50670: Slave stops with error code 1644 2010-04-28 14:47:49 +02:00
binlog_write_error.result Merge next-mr -> next-4284. 2010-02-04 23:15:47 +03:00