MDL-62619 privacy: Improve performance of contexts loading
commitd7cb7550c7fe27b5388aae1cae38085b2983880c
authorAndrew Nicols <andrew@nicols.co.uk>
Fri, 1 Jun 2018 00:14:51 +0000 (1 08:14 +0800)
committerDavid Mudrák <david@moodle.com>
Fri, 27 Jul 2018 08:14:43 +0000 (27 10:14 +0200)
tree304e8c668fcf3e4fd976b1de14afe7903c4fc5c7
parent6e8235c7d3957120f16f5b9d4df8ef1ec82558b5
MDL-62619 privacy: Improve performance of contexts loading

When possible, we want to use JOIN over WHERE IN. It is known that the
later performs badly in MySQL.
privacy/classes/local/request/contextlist.php