[html5] r1104 - /
whatwg at whatwg.org
whatwg at whatwg.org
Fri Oct 26 15:55:13 PDT 2007
Author: ianh
Date: 2007-10-26 15:55:12 -0700 (Fri, 26 Oct 2007)
New Revision: 1104
Modified:
index
source
Log:
[e] (0) don't commit twice
Modified: index
===================================================================
--- index 2007-10-26 22:27:13 UTC (rev 1103)
+++ index 2007-10-26 22:55:12 UTC (rev 1104)
@@ -30943,9 +30943,10 @@
<p>Call the <i>error callback</i> with a newly constructed <code><a
href="#sqlerror">SQLError</a></code> object that represents the last
error to have occured in this transaction. If the error callback
- returned false, then try to commit the transaction. If that fails, or if
- the callback couldn't be called (e.g. the argument was called with only
- one argument), or if it didn't return false, then rollback the
+ returned false, and the last error wasn't itself a failure when
+ committing the transaction, then try to commit the transaction. If that
+ fails, or if the callback couldn't be called (e.g. the method was called
+ with only one argument), or if it didn't return false, then rollback the
transaction. Any still-pending statements in the transaction are
discarded.
</ol>
Modified: source
===================================================================
--- source 2007-10-26 22:27:13 UTC (rev 1103)
+++ source 2007-10-26 22:55:12 UTC (rev 1104)
@@ -28507,9 +28507,10 @@
<li><p>Call the <i>error callback</i> with a newly constructed
<code>SQLError</code> object that represents the last error to have
occured in this transaction. If the error callback returned false,
- then try to commit the transaction. If that fails, or if the
- callback couldn't be called (e.g. the argument was called with only
- one argument), or if it didn't return false, then rollback the
+ and the last error wasn't itself a failure when committing the
+ transaction, then try to commit the transaction. If that fails, or
+ if the callback couldn't be called (e.g. the method was called with
+ only one argument), or if it didn't return false, then rollback the
transaction. Any still-pending statements in the transaction are
discarded.</p></li>
More information about the Commit-Watchers
mailing list