Make sure DB profiler is disabled per default to avoid memory leaks
This commit is contained in:
parent
8615b644c0
commit
d63fee064d
|
@ -163,6 +163,7 @@ class Connection implements DatasourceInterface
|
|||
}
|
||||
$this->conn = Zend_Db::factory($adapter, $adapterParamaters);
|
||||
$this->conn->setFetchMode(Zend_Db::FETCH_OBJ);
|
||||
$this->conn->getProfiler()->setEnabled(false);
|
||||
}
|
||||
|
||||
public function getConnection()
|
||||
|
|
Loading…
Reference in New Issue