diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-03-07 08:03:45 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-03-07 08:03:45 +0000 |
commit | 9703e5d6e24fb8df2778c5d687128f90079aa023 (patch) | |
tree | d5b65057e4b50950991e688eab820de5f31003a0 /includes/database/pgsql | |
parent | c4ed4523bf7974355f72abd6218e86e7bed398a6 (diff) | |
download | brdo-9703e5d6e24fb8df2778c5d687128f90079aa023.tar.gz brdo-9703e5d6e24fb8df2778c5d687128f90079aa023.tar.bz2 |
#715476 by Jeremy and Crell: Schema object should respect active database connection (with tests).
Diffstat (limited to 'includes/database/pgsql')
-rw-r--r-- | includes/database/pgsql/database.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/database/pgsql/database.inc b/includes/database/pgsql/database.inc index f76fd95ee..f3ed30b57 100644 --- a/includes/database/pgsql/database.inc +++ b/includes/database/pgsql/database.inc @@ -36,6 +36,8 @@ class DatabaseConnection_pgsql extends DatabaseConnection { $connection_options['password'] = null; } + $this->connectionOptions = $connection_options; + $dsn = 'pgsql:host=' . $connection_options['host'] . ' dbname=' . $connection_options['database'] . ' port=' . $connection_options['port']; parent::__construct($dsn, $connection_options['username'], $connection_options['password'], array( // Convert numeric values to strings when fetching. |