summaryrefslogtreecommitdiff
path: root/includes/database/database.inc
diff options
context:
space:
mode:
authorJennifer Hodgdon <yahgrp@poplarware.com>2014-05-07 17:03:30 -0700
committerJennifer Hodgdon <yahgrp@poplarware.com>2014-05-07 17:03:30 -0700
commit4172af50d9f090cee9f96ba267f1ba8022228407 (patch)
tree70e7fcd49449a29b22ee74faeedce033d83b1aeb /includes/database/database.inc
parent977d53513b8611adf1a049238cf55a319e75886b (diff)
downloadbrdo-4172af50d9f090cee9f96ba267f1ba8022228407.tar.gz
brdo-4172af50d9f090cee9f96ba267f1ba8022228407.tar.bz2
Issue #2259361 by jweowu, David_Rothstein: Document that db_query_temporary() only works on SELECT queries
Diffstat (limited to 'includes/database/database.inc')
-rw-r--r--includes/database/database.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/database/database.inc b/includes/database/database.inc
index 1bfb3f7d2..ad78ac0b6 100644
--- a/includes/database/database.inc
+++ b/includes/database/database.inc
@@ -2383,14 +2383,14 @@ function db_query_range($query, $from, $count, array $args = array(), array $opt
}
/**
- * Executes a query string and saves the result set to a temporary table.
+ * Executes a SELECT query string and saves the result set to a temporary table.
*
* The execution of the query string happens against the active database.
*
* @param $query
- * The prepared statement query to run. Although it will accept both named and
- * unnamed placeholders, named placeholders are strongly preferred as they are
- * more self-documenting.
+ * The prepared SELECT statement query to run. Although it will accept both
+ * named and unnamed placeholders, named placeholders are strongly preferred
+ * as they are more self-documenting.
* @param $args
* An array of values to substitute into the query. If the query uses named
* placeholders, this is an associative array in any order. If the query uses