From ba8d99d710176978c029e8a63c40fb1549e0e20a Mon Sep 17 00:00:00 2001 From: mattab <matthieu.aubry@gmail.com> Date: Fri, 17 Jan 2014 22:50:58 +1300 Subject: [PATCH] Test to comment out MYSQL_ATTR_USE_BUFFERED_QUERY and see if build pass OK. This may improve memory cc @tsteur --- core/Db/Adapter/Pdo/Mysql.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- GitLab