Last modified: 2008-08-09 14:56:15 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T17094, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 15094 - update_flaggedrevs does full table scan
update_flaggedrevs does full table scan
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
FlaggedRevs (Other open bugs)
unspecified
All All
: Normal critical (vote)
: ---
Assigned To: Aaron Schulz
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-08-09 08:38 UTC by River Tarnell
Modified: 2008-08-09 14:56 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description River Tarnell 2008-08-09 08:38:20 UTC
following query runs on dewiki:

UPDATE /* update_flaggedrevs 127.0.0.1 */ `flaggedrevs` SET fr_quality = '0',fr_img_name = NULL,fr_img_sha1 = NULL,fr_img_timestamp = NULL WHERE fr_rev_id = '8648547';

however, there is no index on fr_rev_id, only (fr_page_id,fr_rev_id).  therefore no index is used for the query.
Comment 1 Aaron Schulz 2008-08-09 14:56:15 UTC
Bah, eq. propagation issue. Redundant condition added. Fixed in r39003.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links