Commit 3680da37 authored by Dries's avatar Dries

- Patch #355278 by Josh Waihi: fixed problem with transaction support being...

- Patch #355278 by Josh Waihi: fixed problem with transaction support being turned on when unwanted.
parent 9af9e3de
......@@ -15,7 +15,7 @@ class DatabaseConnection_pgsql extends DatabaseConnection {
public function __construct(array $connection_options = array()) {
// This driver defaults to transaction support, except if explicitly passed FALSE.
$this->transactionSupport = !isset($connection_options['transactions']) || $connection_options['transactions'] === FALSE;
$this->transactionSupport = !isset($connection_options['transactions']) || ($connection_options['transactions'] !== FALSE);
// Transactional DDL is always available in PostgreSQL,
// but we'll only enable it if standard transactions are.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment