Skip to content
Snippets Groups Projects
Commit 3680da37 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- 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
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment