summaryrefslogtreecommitdiff
path: root/includes/database/mysql
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-05-06 05:59:31 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-05-06 05:59:31 +0000
commited86172814c02747b7036745f0411e34998c6f4a (patch)
tree6246e7451a458ec832aefa9404675709e78e982a /includes/database/mysql
parent526558401680f5d8b402823dbd5d40fd17620980 (diff)
downloadbrdo-ed86172814c02747b7036745f0411e34998c6f4a.tar.gz
brdo-ed86172814c02747b7036745f0411e34998c6f4a.tar.bz2
#331951 by aspilicious, sun, jhodgdon, Morbus, et al: Figure out and apply coding standard for casting.
Diffstat (limited to 'includes/database/mysql')
-rw-r--r--includes/database/mysql/query.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/database/mysql/query.inc b/includes/database/mysql/query.inc
index 032508870..843e22dfd 100644
--- a/includes/database/mysql/query.inc
+++ b/includes/database/mysql/query.inc
@@ -34,7 +34,7 @@ class InsertQuery_mysql extends InsertQuery {
$values = $this->fromQuery->getArguments();
}
- $last_insert_id = $this->connection->query((string)$this, $values, $this->queryOptions);
+ $last_insert_id = $this->connection->query((string) $this, $values, $this->queryOptions);
// Re-initialize the values array so that we can re-use this query.
$this->insertValues = array();
@@ -138,7 +138,7 @@ class MergeQuery_mysql extends MergeQuery {
//
// @link http ://dev.mysql.com/doc/refman/5.0/en/mysql-affected-rows.html
$this->queryOptions['return'] = Database::RETURN_AFFECTED;
- return $this->connection->query((string)$this, $values, $this->queryOptions);
+ return $this->connection->query((string) $this, $values, $this->queryOptions);
}