mariadb/mysql-test/suite/binlog/r
unknown 5e13086bf8 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_mixed_load_data.test:
  Added the test file to verify that 'load data infile...' statement
  will go to row-based in mixed mode.
sql/sql_load.cc:
  Added code to go to row-based in mixed mode for
  'load data infile ...' statement
2010-07-30 11:59:34 +08:00
..
binlog_auto_increment_bug33029.result Bug #40559 assertion failed in check_binlog_magic 2009-03-06 20:19:29 +02: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 Merge BUG#43263 from 5.0-bugteam to 5.1-bugteam 2009-05-31 13:44:41 +08: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_grant.result Bug #39106: 2008-09-09 12:19:31 +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 Bug #49741 test files contain explicit references to bin/relay-log positions 2010-05-24 21:54:08 +08:00
binlog_innodb_row.result Post-push fix for BUG#51251. 2010-03-09 23:41:21 +00:00
binlog_killed.result Merge koti.dsl.inet.fi:/home/elkin/MySQL/TEAM/FIXES/5.0/bug27571_asyn_killed_flags 2007-11-06 20:41:06 +02:00
binlog_killed_simulate.result BUG#49479: Slave stops with syntax error: LOAD DATA event without 2009-12-06 01:11:32 +00:00
binlog_mix_innodb_stat.result Bug#37312 Make tests binlog_row_innodb_stat and binlog_stm_innodb_stat more robust 2008-09-22 15:15:52 -04:00
binlog_mixed_failure_mixing_engines.result BUG#47678 Changes to n-tables that happen early in a trans. are only flushed upon commit 2009-10-06 01:54:00 +01:00
binlog_mixed_load_data.result Bug #34283 mysqlbinlog leaves tmpfile after termination if binlog contains load data infile 2010-07-30 11:59:34 +08:00
binlog_multi_engine.result Merge BUG#43263 from 5.0-bugteam to 5.1-bugteam 2009-05-31 13:44:41 +08: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 Bug #49741 test files contain explicit references to bin/relay-log positions 2010-05-24 21:54:08 +08: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 Merge BUG#43263 from 5.0-bugteam to 5.1-bugteam 2009-05-31 13:44:41 +08:00
binlog_row_drop_tmp_tbl.result Manual Merge 2009-11-03 18:20:08 +08:00
binlog_row_failure_mixing_engines.result BUG#47678 Changes to n-tables that happen early in a trans. are only flushed upon commit 2009-10-06 01:54:00 +01:00
binlog_row_innodb_stat.result Bug#37312 Make tests binlog_row_innodb_stat and binlog_stm_innodb_stat more robust 2008-09-22 15:15:52 -04:00
binlog_row_insert_select.result Merge BUG#43263 from 5.0-bugteam to 5.1-bugteam 2009-05-31 13:44:41 +08:00
binlog_row_mix_innodb_myisam.result Bug #50942 mix_innodb_myisam_side_effects.test is not deterministic 2010-05-04 22:31:49 +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_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#38068: binlog_stm_binlog fails sporadically in pushbuild 2008-07-29 17:36:13 +02:00
binlog_stm_binlog.result Bug #49741 test files contain explicit references to bin/relay-log positions 2010-05-24 21:54:08 +08:00
binlog_stm_blackhole.result Bug #49741 test files contain explicit references to bin/relay-log positions 2010-05-24 21:54:08 +08:00
binlog_stm_ctype_cp932.result Merge stella.local:/home2/mydev/mysql-5.1-amain 2008-03-26 10:27:00 +01:00
binlog_stm_ctype_ucs.result BUG#34541: mysqlbinlog prints 'set;' in stm mode after changing autocommit mode 2008-04-02 16:49:22 +07:00
binlog_stm_do_db.result BUG#42829: binlogging enabled for all schemas regardless of 2009-09-24 15:52:52 +01:00
binlog_stm_drop_tmp_tbl.result Manual Merge 2009-11-03 18:20:08 +08:00
binlog_stm_innodb_stat.result Bug#37312 Make tests binlog_row_innodb_stat and binlog_stm_innodb_stat more robust 2008-09-22 15:15:52 -04:00
binlog_stm_insert_select.result WL#3933 Split main test suite to rpl, rpl_ndb and ndb 2007-06-27 14:28:02 +02:00
binlog_stm_mix_innodb_myisam.result BUG#53560 CREATE TEMP./DROP TEMP. are not binglogged correctly after a failed statement 2010-05-19 18:01:12 +01:00
binlog_stm_ps.result Post fix of result file after push of BUG#42415 2009-05-20 18:28:43 +08:00
binlog_stm_row.result BUG#47995: Mark system functions as unsafe 2009-11-18 15:50:31 +01:00
binlog_stm_unsafe_warning.result Bug#46265: Can not disable warning about unsafe statements for binary logging 2009-07-31 10:00:35 -03:00
binlog_tmp_table.result BUG#51226: mysqlbinlog replay: ERROR 1146 when using temp tables 2010-03-03 12:16:18 +00:00
binlog_truncate_innodb.result Bug #36763 2009-02-06 17:06:41 +01:00
binlog_truncate_myisam.result Bug #36763 2009-02-10 22:26:37 +01:00
binlog_unsafe.result BUG#49222: Mark RAND() as unsafe 2010-01-13 10:00:03 +01:00
binlog_write_error.result Backport Bug#37148 to 5.1 2010-01-24 15:03:23 +08:00