Author: jstephens
Date: 2008-07-21 15:05:58 +0200 (Mon, 21 Jul 2008)
New Revision: 11296
Log:
More specific info about NDB rollback behaviour
Fixes Docs Bug #38190
Modified:
trunk/refman-4.1/mysql-cluster-limitations.xml
trunk/refman-5.0/mysql-cluster-limitations.xml
trunk/refman-5.1/mysql-cluster-limitations.xml
Modified: trunk/refman-4.1/mysql-cluster-limitations.xml
===================================================================
--- trunk/refman-4.1/mysql-cluster-limitations.xml 2008-07-21 12:17:16 UTC (rev 11295)
+++ trunk/refman-4.1/mysql-cluster-limitations.xml 2008-07-21 13:05:58 UTC (rev 11296)
Changed blocks: 1, Lines Added: 14, Lines Deleted: 2; 1313 bytes
@@ -579,11 +579,23 @@
<title>Rollbacks</title>
<para>
- There is no partial rollback of transactions. A duplicate
- key or similar error rolls back the entire transaction.
+ There are no partial transactions, and no partial
+ rollbacks of transactions. A duplicate key or similar
+ error aborts the entire transaction, and subsequent
+ statements raise <errortext>ERROR 1296 (HY000): Got error
+ 4350 'Transaction already aborted' from
+ NDBCLUSTER</errortext>. In such cases, you must issue an
+ explicit <literal>ROLLBACK</literal> and retry the entire
+ transaction.
</para>
</formalpara>
+
+ <para>
+ This behavior differs from that of other transactional
+ storage engines such as <literal>InnoDB</literal> that may
+ roll back individual statements.
+ </para>
</listitem>
<listitem>
Modified: trunk/refman-5.0/mysql-cluster-limitations.xml
===================================================================
--- trunk/refman-5.0/mysql-cluster-limitations.xml 2008-07-21 12:17:16 UTC (rev 11295)
+++ trunk/refman-5.0/mysql-cluster-limitations.xml 2008-07-21 13:05:58 UTC (rev 11296)
Changed blocks: 1, Lines Added: 14, Lines Deleted: 2; 1313 bytes
@@ -510,11 +510,23 @@
<title>Rollbacks</title>
<para>
- There is no partial rollback of transactions. A duplicate
- key or similar error rolls back the entire transaction.
+ There are no partial transactions, and no partial
+ rollbacks of transactions. A duplicate key or similar
+ error aborts the entire transaction, and subsequent
+ statements raise <errortext>ERROR 1296 (HY000): Got error
+ 4350 'Transaction already aborted' from
+ NDBCLUSTER</errortext>. In such cases, you must issue an
+ explicit <literal>ROLLBACK</literal> and retry the entire
+ transaction.
</para>
</formalpara>
+
+ <para>
+ This behavior differs from that of other transactional
+ storage engines such as <literal>InnoDB</literal> that may
+ roll back individual statements.
+ </para>
</listitem>
<listitem>
Modified: trunk/refman-5.1/mysql-cluster-limitations.xml
===================================================================
--- trunk/refman-5.1/mysql-cluster-limitations.xml 2008-07-21 12:17:16 UTC (rev 11295)
+++ trunk/refman-5.1/mysql-cluster-limitations.xml 2008-07-21 13:05:58 UTC (rev 11296)
Changed blocks: 1, Lines Added: 14, Lines Deleted: 2; 1313 bytes
@@ -622,11 +622,23 @@
<title>Rollbacks</title>
<para>
- There is no partial rollback of transactions. A duplicate
- key or similar error rolls back the entire transaction.
+ There are no partial transactions, and no partial
+ rollbacks of transactions. A duplicate key or similar
+ error aborts the entire transaction, and subsequent
+ statements raise <errortext>ERROR 1296 (HY000): Got error
+ 4350 'Transaction already aborted' from
+ NDBCLUSTER</errortext>. In such cases, you must issue an
+ explicit <literal>ROLLBACK</literal> and retry the entire
+ transaction.
</para>
</formalpara>
+
+ <para>
+ This behavior differs from that of other transactional
+ storage engines such as <literal>InnoDB</literal> that may
+ roll back individual statements.
+ </para>
</listitem>
<listitem>
| Thread |
|---|
| • svn commit - mysqldoc@docsrva: r11296 - in trunk: refman-4.1 refman-5.0 refman-5.1 | jon | 21 Jul |