[html5] r1028 - /

whatwg at whatwg.org whatwg at whatwg.org
Mon Sep 24 19:46:16 PDT 2007


Author: ianh
Date: 2007-09-24 19:46:16 -0700 (Mon, 24 Sep 2007)
New Revision: 1028

Modified:
   index
   source
Log:
[] (0) Clarify where unsupported SQL gets caught. Add a comment for errors we might want to report.

Modified: index
===================================================================
--- index	2007-09-25 02:28:52 UTC (rev 1027)
+++ index	2007-09-25 02:46:16 UTC (rev 1028)
@@ -29926,9 +29926,10 @@
      title="">?</code> placeholders in the statement with the values given in
      the subsequent arguments (<var title="">arguments...</var>).</p>
 
-    <p>If the syntax of <var title="">sqlStatement</var> is not valid, then
-     the the method must raise a <code>SYNTAX_ERR</code> exception and abort
-     these steps.</p>
+    <p>If the syntax of <var title="">sqlStatement</var> is not valid, or the
+     statement uses features that are not supported (e.g. due to security
+     reasons), then the the method must raise a <code>SYNTAX_ERR</code>
+     exception and abort these steps.</p>
 
     <p>If the number of <var title="">arguments...</var> is not equal to the
      number of <code title="">?</code> placeholders in the statement, then
@@ -30156,6 +30157,11 @@
      <td>The statement failed because the <a href="#expected"
       title=concept-database-expected-version>expected version</a> of the
       database didn't match the actual database version.
+      <!-- other errors that we might want to define:
+          * database has hit the user quota and the user hasn't
+            increased the available space
+      -->
+      
   </table>
 
   <p class=big-issue>We should define a more thorough list of codes.

Modified: source
===================================================================
--- source	2007-09-25 02:28:52 UTC (rev 1027)
+++ source	2007-09-25 02:46:16 UTC (rev 1028)
@@ -27385,8 +27385,9 @@
     (<var title="">arguments...</var>).</p>
 
     <p>If the syntax of <var title="">sqlStatement</var> is not valid,
-    then the the method must raise a <code>SYNTAX_ERR</code> exception
-    and abort these steps.</p>
+    or the statement uses features that are not supported (e.g. due to
+    security reasons), then the the method must raise a
+    <code>SYNTAX_ERR</code> exception and abort these steps.</p>
 
     <p>If the number of <var title="">arguments...</var> is not equal
     to the number of <code title="">?</code> placeholders in the
@@ -27621,6 +27622,11 @@
      title="concept-database-expected-version">expected version</span>
      of the database didn't match the actual database version.
 
+    <!-- other errors that we might want to define:
+          * database has hit the user quota and the user hasn't
+            increased the available space
+      -->
+
   </table>
 
   <p class="big-issue">We should define a more thorough list of




More information about the Commit-Watchers mailing list