CRM-8598 Start using SQL_CALC_FOUND_ROWS in core queries for counting rows

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Won't Fix
    • Affects Version/s: 4.1.0
    • Fix Version/s: 4.4.0
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      SQL_CALC_FOUND_ROWS and FOUND_ROWS returns the total number rows / records a select would get, irrespective of limit applied. And would also help reducing the separate count query thats made.

      This is an attempt to solve / simplify count related issues - CRM-8084 for example.

        Attachments

          Activity

          [CRM-8598] Start using SQL_CALC_FOUND_ROWS in core queries for counting rows
          Donald A. Lobo added a comment -


          Closing issues in batch on 4/16/13 since these issues have not been worked on in a long long time

            People

            • Assignee:
              Deepak Srivastava
              Reporter:
              Deepak Srivastava

              Dates

              • Created:
                Updated:
                Resolved: