Bug #40510 | LOAD DATA INFILE statement may span multiple binlogs | ||
---|---|---|---|
Submitted: | 4 Nov 2008 18:44 | Modified: | 10 Dec 2008 16:57 |
Reporter: | Sven Sandberg | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S2 (Serious) |
Version: | 5.0, 5.1, 6.0 | OS: | Any |
Assigned to: | Andrei Elkin | CPU Architecture: | Any |
Tags: | binlog, LOAD DATA INFILE |
[4 Nov 2008 18:44]
Sven Sandberg
[11 Nov 2008 15:34]
Susanne Ebrecht
Verified as described by using actual MySQL 5.1 bzr tree.
[10 Dec 2008 9:19]
Andrei Elkin
Yes, LOAD FILE indeed can produce multiple binlogs. Still that's not an issue. My testing (5.1) shows mysqlbinlog has to read all the created files starting from the first and the table gets populated successfully: mysql -uroot -h127.0.0.1 -P9306 test -e "drop table t1"; Mybinlog.sh var/log/master-bin.000001 \ var/log/master-bin.000002 \ var/log/master-bin.000003 | mysql -uroot -h127.0.0.1 -P9306 test (the files contain CREATE TABLE t1 and LOAD DATE of the report) So I think it's not a bug.
[10 Dec 2008 16:57]
Sven Sandberg
OK, with Andrei's explanation I think this may be 'not a bug'.