From 4172af50d9f090cee9f96ba267f1ba8022228407 Mon Sep 17 00:00:00 2001 From: Jennifer Hodgdon Date: Wed, 7 May 2014 17:03:30 -0700 Subject: Issue #2259361 by jweowu, David_Rothstein: Document that db_query_temporary() only works on SELECT queries --- includes/database/database.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'includes/database') 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 -- cgit v1.2.3