Changeset 331:7b0a879d0dee for inc/core/class.dc.core.php
- Timestamp:
- 06/02/11 18:46:03 (14 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/core/class.dc.core.php
r270 r331 63 63 if ($this->con instanceof mysqlConnection) { 64 64 mysqlConnection::$weak_locks = true; 65 } 66 67 # define searchpath for postgresql 68 if ($this->con instanceof pgsqlConnection) 69 { 70 $searchpath = explode ('.',$prefix,2); 71 if (count($searchpath) > 1) 72 { 73 $prefix = $searchpath[1]; 74 $sql = 'SET search_path TO '.$searchpath[0].',public;'; 75 $this->con->execute($sql); 76 } 65 77 } 66 78
Note: See TracChangeset
for help on using the changeset viewer.