? 904880_db_query_docs.patch
Index: includes/database.mysql-common.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/Attic/database.mysql-common.inc,v
retrieving revision 1.17.2.4
diff -u -p -r1.17.2.4 database.mysql-common.inc
--- includes/database.mysql-common.inc	1 Mar 2010 10:37:30 -0000	1.17.2.4
+++ includes/database.mysql-common.inc	7 Sep 2010 23:35:49 -0000
@@ -20,7 +20,7 @@
  *   using printf() syntax. Instead of a variable number of query arguments,
  *   you may also pass a single array containing the query arguments.
  *
- *   Valid %-modifiers are: %s, %d, %f, %b (binary data, do not enclose
+ *   Valid %-modifiers are: %s, %d, %f, %n, %b (binary data, do not enclose
  *   in '') and %%.
  *
  *   NOTE: using this syntax will cast NULL and FALSE values to decimal 0,
Index: includes/database.mysql.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/Attic/database.mysql.inc,v
retrieving revision 1.89.2.2
diff -u -p -r1.89.2.2 database.mysql.inc
--- includes/database.mysql.inc	1 Feb 2010 16:32:10 -0000	1.89.2.2
+++ includes/database.mysql.inc	7 Sep 2010 23:35:49 -0000
@@ -261,7 +261,7 @@ function db_query_range($query) {
  *   A variable number of arguments which are substituted into the query
  *   using printf() syntax. The query arguments can be enclosed in one
  *   array instead.
- *   Valid %-modifiers are: %s, %d, %f, %b (binary data, do not enclose
+ *   Valid %-modifiers are: %s, %d, %f, %n, %b (binary data, do not enclose
  *   in '') and %%.
  *
  *   NOTE: using this syntax will cast NULL and FALSE values to decimal 0,
Index: includes/database.mysqli.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/Attic/database.mysqli.inc,v
retrieving revision 1.54.2.2
diff -u -p -r1.54.2.2 database.mysqli.inc
--- includes/database.mysqli.inc	1 Feb 2010 16:32:10 -0000	1.54.2.2
+++ includes/database.mysqli.inc	7 Sep 2010 23:35:49 -0000
@@ -214,7 +214,7 @@ function db_affected_rows() {
  *   A variable number of arguments which are substituted into the query
  *   using printf() syntax. The query arguments can be enclosed in one
  *   array instead.
- *   Valid %-modifiers are: %s, %d, %f, %b (binary data, do not enclose
+ *   Valid %-modifiers are: %s, %d, %f, %n, %b (binary data, do not enclose
  *   in '') and %%.
  *
  *   NOTE: using this syntax will cast NULL and FALSE values to decimal 0,
@@ -263,7 +263,7 @@ function db_query_range($query) {
  *   A variable number of arguments which are substituted into the query
  *   using printf() syntax. The query arguments can be enclosed in one
  *   array instead.
- *   Valid %-modifiers are: %s, %d, %f, %b (binary data, do not enclose
+ *   Valid %-modifiers are: %s, %d, %f, %n, %b (binary data, do not enclose
  *   in '') and %%.
  *
  *   NOTE: using this syntax will cast NULL and FALSE values to decimal 0,
Index: includes/database.pgsql.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/Attic/database.pgsql.inc,v
retrieving revision 1.68.2.9
diff -u -p -r1.68.2.9 database.pgsql.inc
--- includes/database.pgsql.inc	28 May 2010 15:02:16 -0000	1.68.2.9
+++ includes/database.pgsql.inc	7 Sep 2010 23:35:49 -0000
@@ -103,7 +103,7 @@ function db_connect($url) {
  *   using printf() syntax. Instead of a variable number of query arguments,
  *   you may also pass a single array containing the query arguments.
  *
- *   Valid %-modifiers are: %s, %d, %f, %b (binary data, do not enclose
+ *   Valid %-modifiers are: %s, %d, %f, %n, %b (binary data, do not enclose
  *   in '') and %%.
  *
  *   NOTE: using this syntax will cast NULL and FALSE values to decimal 0,
@@ -255,7 +255,7 @@ function db_affected_rows() {
  *   A variable number of arguments which are substituted into the query
  *   using printf() syntax. Instead of a variable number of query arguments,
  *   you may also pass a single array containing the query arguments.
- *   Valid %-modifiers are: %s, %d, %f, %b (binary data, do not enclose
+ *   Valid %-modifiers are: %s, %d, %f, %n, %b (binary data, do not enclose
  *   in '') and %%.
  *
  *   NOTE: using this syntax will cast NULL and FALSE values to decimal 0,
@@ -304,7 +304,7 @@ function db_query_range($query) {
  *   A variable number of arguments which are substituted into the query
  *   using printf() syntax. The query arguments can be enclosed in one
  *   array instead.
- *   Valid %-modifiers are: %s, %d, %f, %b (binary data, do not enclose
+ *   Valid %-modifiers are: %s, %d, %f, %n, %b (binary data, do not enclose
  *   in '') and %%.
  *
  *   NOTE: using this syntax will cast NULL and FALSE values to decimal 0,
