HomePhabricator

API: Improve queries for prop=revisions in enum mode

Authored by Anomie.

Description

API: Improve queries for prop=revisions in enum mode

This reworks the queries to better use the indexes available, and at the
same time sorts results by rev_timestamp like they always should have
been rather than rev_id. See T88084 for details.

This also takes the opportunity to replace !is_null with !== null, since
it was annoying me while writing this.

Bug: T88084
Bug: T91883
Change-Id: Ie175c6014e75848e9dda6b413175c8575d1ef6af

Details

Committed
aaronApr 24 2015, 10:49 PM
Parents
rMW13064248e21f: Merge "Allow setting MySQL session variables via config"
Branches
Unknown
Tags
Unknown
ChangeId
Ie175c6014e75848e9dda6b413175c8575d1ef6af