Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. 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

            People

            • Assignee:
              deepak Deepak Srivastava
              Reporter:
              deepak Deepak Srivastava
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: