[html5] r1089 - /
whatwg at whatwg.org
whatwg at whatwg.org
Wed Oct 24 02:53:17 PDT 2007
Author: ianh
Date: 2007-10-24 02:53:16 -0700 (Wed, 24 Oct 2007)
New Revision: 1089
Modified:
index
source
Log:
[w] (2) Add error code 6: key violation / constrain failure
Modified: index
===================================================================
--- index 2007-10-24 08:36:53 UTC (rev 1088)
+++ index 2007-10-24 09:53:16 UTC (rev 1089)
@@ -30745,11 +30745,16 @@
tried to modify the database, but the transaction failed to obtain a
write lock before another transaction obtained a write lock and changed
a part of the database that the former transaction was dependending
- upon. <!-- other errors that we might want to define:
- * database has hit the user quota and the user hasn't
- increased the available space
- -->
-
+ upon.
+
+ <tr>
+ <td><dfn id=x5 title=dom-sqlerror-code-6>6 </dfn>
+
+ <td>An <code title="">INSERT</code>, <code title="">UPDATE</code>, or
+ <code title="">REPLACE</code> statement failed due to a constraint
+ failure. For example, because a row was being inserted and the value
+ given for the primary key column duplicated the value of an existing
+ row.
</table>
<p class=big-issue>We should define a more thorough list of codes.
Modified: source
===================================================================
--- source 2007-10-24 08:36:53 UTC (rev 1088)
+++ source 2007-10-24 09:53:16 UTC (rev 1089)
@@ -28334,10 +28334,13 @@
transaction obtained a write lock and changed a part of the
database that the former transaction was dependending upon.
- <!-- other errors that we might want to define:
- * database has hit the user quota and the user hasn't
- increased the available space
- -->
+ <tr>
+ <td><dfn title="dom-sqlerror-code-6">6
+ <td>An <code title="">INSERT</code>, <code
+ title="">UPDATE</code>, or <code title="">REPLACE</code>
+ statement failed due to a constraint failure. For example,
+ because a row was being inserted and the value given for the
+ primary key column duplicated the value of an existing row.
</table>
More information about the Commit-Watchers
mailing list