From: jon
Date: October 7 2006 6:14am
Subject: svn commit - mysqldoc@docsrva: r3570 - in trunk: refman-5.0 refman-5.1
List-Archive: http://lists.mysql.com/commits/13289
Message-Id: <200610070614.k976EffI026969@docsrva.mysql.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Author: jstephens
Date: 2006-10-07 08:14:38 +0200 (Sat, 07 Oct 2006)
New Revision: 3570
Log:
As of 5.0.26/5.1.12, LOAD DATA INFILE no longer causes an implicit
commit, except for NDBCluster. (This is now in line with the behaviour
of this statement in <= 4.1.)
Bug #11151
Modified:
trunk/refman-5.0/mysql-cluster.xml
trunk/refman-5.0/news-5.0.xml
trunk/refman-5.0/se-innodb.xml
trunk/refman-5.0/sql-syntax.xml
trunk/refman-5.1/mysql-cluster.xml
trunk/refman-5.1/news-5.1.xml
trunk/refman-5.1/se-innodb.xml
trunk/refman-5.1/sql-syntax.xml
Modified: trunk/refman-5.0/mysql-cluster.xml
===================================================================
--- trunk/refman-5.0/mysql-cluster.xml 2006-10-07 05:56:26 UTC (rev 3569)
+++ trunk/refman-5.0/mysql-cluster.xml 2006-10-07 06:14:38 UTC (rev 3570)
Changed blocks: 1, Lines Added: 3, Lines Deleted: 2; 811 bytes
@@ -15941,9 +15941,10 @@
LOAD DATA INFILE is not
- transactional. During such an operation the
+ transactional when used on NDB
+ tables. During such an operation, the
NDB engine can and does commit
- at will.
+ at will.
Modified: trunk/refman-5.0/news-5.0.xml
===================================================================
--- trunk/refman-5.0/news-5.0.xml 2006-10-07 05:56:26 UTC (rev 3569)
+++ trunk/refman-5.0/news-5.0.xml 2006-10-07 06:14:38 UTC (rev 3570)
Changed blocks: 6, Lines Added: 29, Lines Deleted: 11; 3257 bytes
@@ -322,6 +322,15 @@
alternatives. (Bug #18822)
+
+
+
+ LOAD DATA INFILE no longer causes an
+ implicit commit for all storage storage engines. It now causes
+ an implicit commit only for tables using the
+ NDB storage engine. (Bug #11151)
+
+
@@ -10714,7 +10723,7 @@
Replication of LOAD DATA INFILE failed
- between systems that use different pathname syntax (such as
+ between systems using different pathname syntax (such as
delimiter characters). (Bug #11815)
@@ -16065,12 +16074,12 @@
- If on replication master a LOAD DATA INFILE
- is interrupted in the middle (integrity constraint violation,
- killed connection...), the slave used to skip this
- LOAD DATA INFILE entirely, thus missing
- some changes if this command permanently inserted/updated some
- table records before being interrupted. This is now fixed.
+ If, on a replication master a LOAD DATA
+ INFILE operation was interrupted (by, for example,
+ an integrity constraint violation or killed connection), the
+ slave skipped the LOAD DATA INFILE
+ entirely, thus missing changes if this command permanently
+ inserted or updated table records before being interrupted.
(Bug #3247)
@@ -18756,7 +18765,7 @@
- Fixed mysqlbinlog not to forget to print a
+ mysqlbinlog failed to print a
USE statement under rare circumstances
where the binary log contained a LOAD DATA
INFILE statement. (Bug #3415)
@@ -18765,9 +18774,9 @@
- Fixed a memory corruption when replicating a LOAD
- DATA INFILE when the master had version 3.23. (Bug
- #3422)
+ Fixed memory corruption occurring when replicating a
+ LOAD DATA INFILE from a master running
+ MySQL version 3.23. (Bug #3422)
@@ -19015,6 +19024,15 @@
changed compared to that of MySQL 4.1 and older.
+
+
+
+ LOAD DATA INFILE causes an implicit commit.
+ Important: The behaviour of
+ LOAD DATA INFILE in this regard was changed
+ again in MySQL 5.0.26. See .
+
+
Modified: trunk/refman-5.0/se-innodb.xml
===================================================================
--- trunk/refman-5.0/se-innodb.xml 2006-10-07 05:56:26 UTC (rev 3569)
+++ trunk/refman-5.0/se-innodb.xml 2006-10-07 06:14:38 UTC (rev 3570)
Changed blocks: 1, Lines Added: 8, Lines Deleted: 0; 677 bytes
@@ -4528,6 +4528,14 @@
statements the user made during that transaction.
+
+
+
+ Prior to MySQL 5.0.26, LOAD DATA INFILE
+ also caused an implicit commit for InnoDB
+ tables (as was true for all storage engines).
+
+
Modified: trunk/refman-5.0/sql-syntax.xml
===================================================================
--- trunk/refman-5.0/sql-syntax.xml 2006-10-07 05:56:26 UTC (rev 3569)
+++ trunk/refman-5.0/sql-syntax.xml 2006-10-07 06:14:38 UTC (rev 3570)
Changed blocks: 1, Lines Added: 10, Lines Deleted: 0; 818 bytes
@@ -10959,6 +10959,16 @@
statements the user made during that transaction.
+
+
+
+ In MySQL 5.0.25 and earlier, LOAD DATA
+ INFILE caused an implicit commit for all storage
+ engines. Beginning with MySQL 5.0.26, it causes an implicit
+ commit only for tables using the NDB storage
+ engine. For more information, see Bug #11151.
+
+
Modified: trunk/refman-5.1/mysql-cluster.xml
===================================================================
--- trunk/refman-5.1/mysql-cluster.xml 2006-10-07 05:56:26 UTC (rev 3569)
+++ trunk/refman-5.1/mysql-cluster.xml 2006-10-07 06:14:38 UTC (rev 3570)
Changed blocks: 1, Lines Added: 3, Lines Deleted: 2; 811 bytes
@@ -18377,9 +18377,10 @@
LOAD DATA INFILE is not
- transactional. During such an operation the
+ transactional when used on NDB
+ tables. During such an operation, the
NDB engine can and does commit
- at will.
+ at will.
Modified: trunk/refman-5.1/news-5.1.xml
===================================================================
--- trunk/refman-5.1/news-5.1.xml 2006-10-07 05:56:26 UTC (rev 3569)
+++ trunk/refman-5.1/news-5.1.xml 2006-10-07 06:14:38 UTC (rev 3570)
Changed blocks: 1, Lines Added: 9, Lines Deleted: 0; 714 bytes
@@ -678,6 +678,15 @@
. (Bug #19121)
+
+
+
+ LOAD DATA INFILE no longer causes an
+ implicit commit for all storage storage engines. It now causes
+ an implicit commit only for tables using the
+ NDB storage engine. (Bug #11151)
+
+
Modified: trunk/refman-5.1/se-innodb.xml
===================================================================
--- trunk/refman-5.1/se-innodb.xml 2006-10-07 05:56:26 UTC (rev 3569)
+++ trunk/refman-5.1/se-innodb.xml 2006-10-07 06:14:38 UTC (rev 3570)
Changed blocks: 1, Lines Added: 8, Lines Deleted: 0; 677 bytes
@@ -4491,6 +4491,14 @@
statements the user made during that transaction.
+
+
+
+ Prior to MySQL 5.1.12, LOAD DATA INFILE
+ also caused an implicit commit for InnoDB
+ tables (as was true for all storage engines).
+
+
Modified: trunk/refman-5.1/sql-syntax.xml
===================================================================
--- trunk/refman-5.1/sql-syntax.xml 2006-10-07 05:56:26 UTC (rev 3569)
+++ trunk/refman-5.1/sql-syntax.xml 2006-10-07 06:14:38 UTC (rev 3570)
Changed blocks: 1, Lines Added: 10, Lines Deleted: 0; 818 bytes
@@ -12297,6 +12297,16 @@
statements the user made during that transaction.
+
+
+
+ In MySQL 5.1.11 and earlier, LOAD DATA
+ INFILE caused an implicit commit for all storage
+ engines. Beginning with MySQL 5.1.12, it causes an implicit
+ commit only for tables using the NDB storage
+ engine. For more information, see Bug #11151.
+
+