[html5] r1548 - /

whatwg at whatwg.org whatwg at whatwg.org
Tue May 6 21:53:44 PDT 2008


Author: ianh
Date: 2008-05-06 21:53:44 -0700 (Tue, 06 May 2008)
New Revision: 1548

Modified:
   index
   source
Log:
[e] (0) make a note of an open issue with executeSql() arguments and types that the backend doesn't support

Modified: index
===================================================================
--- index	2008-05-07 04:11:18 UTC (rev 1547)
+++ index	2008-05-07 04:53:44 UTC (rev 1548)
@@ -33269,7 +33269,7 @@
     <p>Parse the first argument to the method (<var
      title="">sqlStatement</var>) as an SQL statement, with the exception
      that <code title="">?</code> characters can be used in place of literals
-     in the statement. <a href="#refsSQL">[SQL]</a></p>
+     in the statement. <a href="#refsSQL">[SQL]</a>
 
    <li>
     <p>Replace each <code title="">?</code> placeholder with the value of the
@@ -33285,6 +33285,12 @@
 
     <p>The result is <i>the statement</i>.</p>
 
+    <p class=big-issue>Implementation feedback is requested on what to do
+     with arguments that are of types that are not supported by the
+     underlying SQL backend. For example, SQLite doesn't support booleans, so
+     what should the UA do if passed a boolean? The Gears team suggests
+     failing, not silently converting types.</p>
+
    <li>
     <p>If the syntax of <var title="">sqlStatement</var> is not valid (except
      for the use of <code title="">?</code> characters in the place of

Modified: source
===================================================================
--- source	2008-05-07 04:11:18 UTC (rev 1547)
+++ source	2008-05-07 04:53:44 UTC (rev 1548)
@@ -31059,7 +31059,7 @@
    title="">sqlStatement</var>) as an SQL statement, with the
    exception that <code title="">?</code> characters can be used in
    place of literals in the statement. <a
-   href="#refsSQL">[SQL]</a></p>
+   href="#refsSQL">[SQL]</a></p></li>
 
    <li>
 
@@ -31077,6 +31077,12 @@
 
     <p>The result is <i>the statement</i>.</p>
 
+    <p class="big-issue">Implementation feedback is requested on what
+    to do with arguments that are of types that are not supported by
+    the underlying SQL backend. For example, SQLite doesn't support
+    booleans, so what should the UA do if passed a boolean? The Gears
+    team suggests failing, not silently converting types.</p>
+
    </li>
 
    <li><p>If the syntax of <var title="">sqlStatement</var> is not




More information about the Commit-Watchers mailing list