Changeset 9f23f05 in github
- Timestamp:
- Oct 10, 2008 6:07:46 AM (5 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- 9e951be6
- Parents:
- 8e83075
- File:
-
- 1 edited
-
program/include/rcube_mdb2.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
program/include/rcube_mdb2.php
raf7a23d r9f23f05 79 79 { 80 80 // Use persistent connections if available 81 $db h = MDB2::connect($dsn,array(81 $db_options = array( 82 82 'persistent' => $this->db_pconn, 83 83 'emulate_prepared' => $this->debug_mode, 84 84 'debug' => $this->debug_mode, 85 85 'debug_handler' => 'mdb2_debug_handler', 86 'disable_smart_seqname' => true, // for postgresql 87 'seqname_format' => '%s', // for postgresql 88 'portability' => MDB2_PORTABILITY_ALL ^ MDB2_PORTABILITY_EMPTY_TO_NULL)); 86 'portability' => MDB2_PORTABILITY_ALL ^ MDB2_PORTABILITY_EMPTY_TO_NULL); 87 88 if ($this->db_provider == 'pgsql') { 89 $db_options['disable_smart_seqname'] = true; 90 $db_options['seqname_format'] = '%s'; 91 } 92 93 $dbh = MDB2::connect($dsn, $db_options); 89 94 90 95 if (MDB2::isError($dbh))
Note: See TracChangeset
for help on using the changeset viewer.
