Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2014-01-17 13:50:58 +0400
committermattab <matthieu.aubry@gmail.com>2014-01-17 13:50:58 +0400
commitba8d99d710176978c029e8a63c40fb1549e0e20a (patch)
treea3bd251df47be5129839a0dddc284e3d90e3ef76 /core
parentdd6c90784ee00a0fa942ec763b88e4a211901611 (diff)
Test to comment out MYSQL_ATTR_USE_BUFFERED_QUERY and see if build pass OK.
This may improve memory cc @tsteur
Diffstat (limited to 'core')
-rw-r--r--core/Db/Adapter/Pdo/Mysql.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/Db/Adapter/Pdo/Mysql.php b/core/Db/Adapter/Pdo/Mysql.php
index ca38a207e8..1926e8d972 100644
--- a/core/Db/Adapter/Pdo/Mysql.php
+++ b/core/Db/Adapter/Pdo/Mysql.php
@@ -64,7 +64,9 @@ class Mysql extends Zend_Db_Adapter_Pdo_Mysql implements AdapterInterface
* @see http://framework.zend.com/issues/browse/ZF-1398
*/
$this->_connection->setAttribute(PDO::ATTR_EMULATE_PREPARES, true);
- $this->_connection->setAttribute(PDO::MYSQL_ATTR_USE_BUFFERED_QUERY, true);
+
+ // MYSQL_ATTR_USE_BUFFERED_QUERY will use more memory when enabled
+ // $this->_connection->setAttribute(PDO::MYSQL_ATTR_USE_BUFFERED_QUERY, true);
return $this->_connection;
}