summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwebchick2014-05-06 19:00:05 (GMT)
committerwebchick2014-05-06 19:00:05 (GMT)
commit86b3e05b07df824dc6deacaa7b185f30f8f7a224 (patch)
treedfcee57336bea3f41707beb089f76729a1aa85eb
parent9cdac07de5ebede751ddf14895e0b48fa6c6ffd1 (diff)
Issue #2259361 by jweowu | David_Rothstein: Document that db_query_temporary() can only be used on SELECT queries.
-rw-r--r--core/includes/database.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/includes/database.inc b/core/includes/database.inc
index 34994a8..8da1dd8 100644
--- a/core/includes/database.inc
+++ b/core/includes/database.inc
@@ -255,14 +255,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