diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-02-12 06:58:43 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-02-12 06:58:43 +0000 |
commit | 9ce1c6339f7f303e533b0728452cac79367efc38 (patch) | |
tree | 3e1c5466ff1d125a29b2d311c2bf7129b7b8c185 /includes/database/pgsql | |
parent | 8bd39cd9813ac4c1253867191e132d903e7f158b (diff) | |
download | brdo-9ce1c6339f7f303e533b0728452cac79367efc38.tar.gz brdo-9ce1c6339f7f303e533b0728452cac79367efc38.tar.bz2 |
#550124 by c960657, catch, and Crell: Remove prepared statement caching, which was a nice idea, but uses up tons of memory without any tangible performance benefits.
Diffstat (limited to 'includes/database/pgsql')
-rw-r--r-- | includes/database/pgsql/database.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/database/pgsql/database.inc b/includes/database/pgsql/database.inc index a42e377cb..841be2296 100644 --- a/includes/database/pgsql/database.inc +++ b/includes/database/pgsql/database.inc @@ -69,8 +69,8 @@ class DatabaseConnection_pgsql extends DatabaseConnection { $stmt->execute(NULL, $options); } else { - $modified = $this->expandArguments($query, $args); - $stmt = $this->prepareQuery($query, !$modified); + $this->expandArguments($query, $args); + $stmt = $this->prepareQuery($query); $stmt->execute($args, $options); } |