Changeset 7eaf7ad in github
- Timestamp:
- Feb 14, 2008 6:12:23 PM (5 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- 5998438
- Parents:
- 6b9e4a2
- File:
-
- 1 edited
-
program/include/rcube_mdb2.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
program/include/rcube_mdb2.inc
r3afd87b r7eaf7ad 95 95 { 96 96 // Use persistent connections if available 97 $dbh = MDB2::connect($dsn, array('persistent' => $this->db_pconn, 'portability' => MDB2_PORTABILITY_ALL ^ MDB2_PORTABILITY_EMPTY_TO_NULL)); 98 99 if (PEAR::isError($dbh)) 97 $dbh = MDB2::connect($dsn, 98 array('persistent' => $this->db_pconn, 99 'portability' => MDB2_PORTABILITY_ALL ^ MDB2_PORTABILITY_EMPTY_TO_NULL)); 100 101 if (MDB2::isError($dbh)) 100 102 { 101 103 $this->db_error = TRUE; 102 104 $this->db_error_msg = $dbh->getMessage(); 103 105 104 raise_error(array('code' => 500, 'type' => 'db', 'line' => __LINE__, 'file' => __FILE__,105 'message' => $dbh->getUserInfo()), TRUE, FALSE);106 raise_error(array('code' => 500, 'type' => 'db', 'line' => __LINE__, 107 'file' => __FILE__, 'message' => $dbh->getUserInfo()), TRUE, FALSE); 106 108 } 107 109 else if ($this->db_provider=='sqlite')
Note: See TracChangeset
for help on using the changeset viewer.
