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

quiz_statistics table could usefully have a quizid column added

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 4.0.2
    • Quiz
    • None
    • MOODLE_400_STABLE

      This is a follow-up to MDL-74762.

      At the moment, the only link between the cached quiz statistics is munged up in the hashcode column. This works, but is very difficult to query (for example when the quiz_statistics\task\recalculate wants to find which sets of stats which need to be updated because there are new attempts.

      So, we should probably add a quizid column to the quiz_statistics table, and update the task to use it.

      It will also help to clean up stats of quizzes which are deleted

            Unassigned Unassigned
            Nguyen Nathan Nguyen
            Votes:
            2 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.