-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
5.0
-
MOODLE_500_STABLE
-
- Covered by automated tests (PHPUnit)
-
-
-
1
-
WP Sprint 2025-I2.2 (Clones)
As a follow-on to a past improvement at MDL-75119, ensure we aren't selecting more context data than we need in table reads
e.g. here we are selecting {$tablealias}.contextid even though the value will be subsequently selected again by the context_helper class - there is also a potential problem due to the LEFT JOIN of the context table, that {$tablealias}.contextid may not actually exist any more, so tighten that up too