Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-28465

Split the get_ratings() query into two to avoid potential postgres aggregation problems

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.3
    • Fix Version/s: 2.0.5
    • Component/s: Ratings
    • Labels:
      None
    • Database:
      PostgreSQL
    • Testing Instructions:
      Hide

      Go to a 2.0 stable site that is using a postgres database. Go to a forum and submit a rating.

      Show
      Go to a 2.0 stable site that is using a postgres database. Go to a forum and submit a rating.
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      In MDL-27845 the query in get_ratings() was split into two in 2.1 and master (will be 2.2) however it wasn't done in 2.0 as the code is substantially different and I really wanted to get the code integrated and tested.

      This issue is to remind me to go and implement the same idea in 2.0 stable.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              andyjdavis Andrew Davis
              Reporter:
              andyjdavis Andrew Davis
              Peer reviewer:
              Sam Hemelryk
              Integrator:
              Petr Skoda
              Tester:
              Rajesh Taneja
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Oct/11