mirror of
https://github.com/moodle/moodle.git
synced 2025-05-02 22:45:03 +02:00
Due to missing `AND k.script = 'rss'` condition, the query did not make use of the existing script-value compound index defined for the table. So it had to perform the full sequential scan for all rows when searching for the token. This had serious performance issues on sites with many users, especially in case on non-existing token / key.