Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-52334 enrol_database: Add missing filter to user_enrolment lookup
Without the user filter, the left join to the user enrolment table results in a much larger set of data being returned than before MDL-28420. Which makes login time for users in many busy courses much worse than before (3x worse on average, observed upto 40x).
- Loading branch information