summaryrefslogtreecommitdiff
path: root/sql/log_event.h
diff options
context:
space:
mode:
authorunknown <Li-Bing.Song@sun.com>2009-12-15 13:14:14 +0800
committerunknown <Li-Bing.Song@sun.com>2009-12-15 13:14:14 +0800
commite813587b4042c95efa6bfd590b3fdbac47c7e8aa (patch)
tree713f5ead12366929d2b0bd97937ceb93e7f40378 /sql/log_event.h
parent9db5c78251655dd102f41e4c1f568f973ae821e1 (diff)
downloadmariadb-git-e813587b4042c95efa6bfd590b3fdbac47c7e8aa.tar.gz
Bug #34628 LOAD DATA CONCURRENT INFILE drops CONCURRENT in binary log
'LOAD DATA CONCURRENT [LOCAL] INFILE ...' statment only is binlogged as 'LOAD DATA [LOCAL] INFILE ...' in SBR and MBR. As a result, if replication is on, queries on slaves will be blocked by the replication SQL thread. This patch write code to write 'CONCURRENT' into the log event if 'CONCURRENT' option is in the original statement in SBR and MBR.
Diffstat (limited to 'sql/log_event.h')
-rw-r--r--sql/log_event.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/log_event.h b/sql/log_event.h
index 0b4c63a73af..b3098c04364 100644
--- a/sql/log_event.h
+++ b/sql/log_event.h
@@ -1766,7 +1766,7 @@ private:
@verbatim
(1) USE db;
- (2) LOAD DATA [LOCAL] INFILE 'file_name'
+ (2) LOAD DATA [CONCURRENT] [LOCAL] INFILE 'file_name'
(3) [REPLACE | IGNORE]
(4) INTO TABLE 'table_name'
(5) [FIELDS