Update database.php
This commit is contained in:
parent
98b19d1f22
commit
2783cbd251
|
|
@ -1133,7 +1133,7 @@ include "root.php";
|
|||
$this->db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
|
||||
|
||||
//reduce prepared statement latency
|
||||
if (defined('PDO::PGSQL_ATTR_DISABLE_PREPARES') {
|
||||
if (defined('PDO::PGSQL_ATTR_DISABLE_PREPARES')) {
|
||||
$this->db->setAttribute(PDO::PGSQL_ATTR_DISABLE_PREPARES);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue