From: eileen Date: Thu, 14 Apr 2016 07:08:42 +0000 (+1200) Subject: CRM-18128 rever unbuffered usage for now X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c2a768c765a777e764503ce316ec97ce7dff9fb1;p=civicrm-core.git CRM-18128 rever unbuffered usage for now --- 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;