CRM-18128 rever unbuffered usage for now
authoreileen <emcnaughton@wikimedia.org>
Thu, 14 Apr 2016 07:08:42 +0000 (19:08 +1200)
committereileen <emcnaughton@wikimedia.org>
Thu, 14 Apr 2016 07:09:26 +0000 (19:09 +1200)
CRM/Export/BAO/Export.php

index 20df643417a6754236c4682e8c666942779cc7a5..85e660f3e20894d6162c6df90a658f5325f2d0d7 100644 (file)
@@ -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;