Remove usages of 'text' flag in revision-related getQueryInfo() calls
authorBill Pirkle <bpirkle@wikimedia.org>
Tue, 16 Apr 2019 16:46:38 +0000 (11:46 -0500)
committerBill Pirkle <bpirkle@wikimedia.org>
Tue, 16 Apr 2019 20:23:14 +0000 (15:23 -0500)
commitb92e5101c50be29ca856697e87e3bda444d63389
tree4f1d13a3e9a5ea5c12e9dbd0e353f587ef1f314a
parent3144a37e05b66e31893a369de7fd4bb651d73a11
Remove usages of 'text' flag in revision-related getQueryInfo() calls

Field rev_text_id will no longer be populated once the legacy
schema is disabled, so joins against it will not work.
Remove all usages of the 'text' flag in calls to both
Revision::getQueryInfo() and RevisionStore::getQueryInfo()
so that these joins are no longer attempted.

Bug: T198342
Change-Id: I9be6a544c6f68555d4ea856f949f0040d05eac0f
includes/api/ApiQueryAllRevisions.php
includes/api/ApiQueryRevisions.php
maintenance/storage/testCompression.php
tests/phpunit/includes/RevisionDbTestBase.php
tests/phpunit/includes/RevisionMcrWriteBothDbTest.php
tests/phpunit/includes/RevisionNoContentModelDbTest.php
tests/phpunit/includes/RevisionPreMcrDbTest.php
tests/phpunit/includes/api/query/ApiQueryAllRevisionsTest.php [new file with mode: 0644]