summaryrefslogtreecommitdiff
path: root/includes/database.mysql.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/database.mysql.inc')
-rw-r--r--includes/database.mysql.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/database.mysql.inc b/includes/database.mysql.inc
index 21f763b8a..8f96dc3bb 100644
--- a/includes/database.mysql.inc
+++ b/includes/database.mysql.inc
@@ -268,8 +268,8 @@ function db_query_range($query) {
* printf() syntax. Instead of a variable number of query arguments, you may
* also pass a single array containing the query arguments.
* @param $table
- * The name of the temporary table to select into. This name will be
- * prefixed for compatibility reasons (even though there is no risk of collision)@.
+ * The name of the temporary table to select into. This name will not be
+ * prefixed as there is no risk of collision.
* @return
* A database query result resource, or FALSE if the query was not executed
* correctly.
@@ -278,7 +278,7 @@ function db_query_temporary($query) {
$args = func_get_args();
$tablename = array_pop($args);
- $query = preg_replace('/^SELECT/i', 'CREATE TEMPORARY TABLE {'. $tablename .'} SELECT', db_prefix_tables($query));
+ $query = preg_replace('/^SELECT/i', 'CREATE TEMPORARY TABLE '. $tablename .' SELECT', db_prefix_tables($query));
if (count($args) > 1) {
// Check for array (alternative syntax).
if (is_array($args[1])) {