Use IGNORE INDEX(ls_log_id) instead of FORCE INDEX(ls_field_val)
authorRoan Kattouw <roan.kattouw@gmail.com>
Wed, 3 May 2017 15:00:08 +0000 (08:00 -0700)
committerRoan Kattouw <roan.kattouw@gmail.com>
Wed, 3 May 2017 15:00:08 +0000 (08:00 -0700)
commita70ef33e005080c2e41fa18bd5d3b99e8313bebd
tree390c1224d6287a5380cc26d254196cca14c17d80
parentcf35ff756c89ca6d6e003b440076df5ebe7ccef7
Use IGNORE INDEX(ls_log_id) instead of FORCE INDEX(ls_field_val)

ls_field_val was renamed to PRIMARY, but this is only partially
complete in WMF production. There is only one other index on the
log_search table, so ignoring that one is equivalent to forcing
the other one.

Bug: T17441
Change-Id: I63182a9f94eabb4cc47414d86b02c82bde1e58b0
includes/logging/LogPager.php