From c2a768c765a777e764503ce316ec97ce7dff9fb1 Mon Sep 17 00:00:00 2001 From: eileen Date: Thu, 14 Apr 2016 19:08:42 +1200 Subject: [PATCH] CRM-18128 rever unbuffered usage for now --- CRM/Export/BAO/Export.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Export/BAO/Export.php b/CRM/Export/BAO/Export.php index 20df643417..85e660f3e2 100644 --- a/CRM/Export/BAO/Export.php +++ b/CRM/Export/BAO/Export.php @@ -764,7 +764,7 @@ INSERT INTO {$componentTable} SELECT distinct gc.contact_id FROM civicrm_group_c $limitReached = FALSE; while (!$limitReached) { $limitQuery = "{$queryString} LIMIT {$offset}, {$rowCount}"; - $dao = CRM_Core_DAO::executeUnbufferedQuery($limitQuery); + $dao = CRM_Core_DAO::executeQuery($limitQuery); // If this is less than our limit by the end of the iteration we do not need to run the query again to // check if some remain. $rowsThisIteration = 0; -- 2.25.1