Last modified: 2012-08-04 20:48:50 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 T19581, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 17581 - Duplicated indexes (Postgres)
Duplicated indexes (Postgres)
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.15.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: postgres
  Show dependency treegraph
 
Reported: 2009-02-20 08:12 UTC by OverlordQ
Modified: 2012-08-04 20:48 UTC (History)
1 user (show)

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


Attachments

Description OverlordQ 2009-02-20 08:12:09 UTC
Dont know why I never noticed it before, but between tables.sql and updaters.inc they both specify an index with the same values but each calls it a different thing:

tables.sql:
CREATE INDEX rc_timestamp_bot   ON recentchanges (rc_timestamp) WHERE rc_bot = 0;

updaters.inc:
 array("recentchanges", "rc_timestamp_nobot", "(rc_timestamp) WHERE rc_bot = 0"),

So either/or should probably be changed to reflect the same name.
Comment 1 Alexandre Emsenhuber [IAlex] 2009-02-20 09:54:04 UTC
fixed in r47534.

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


Navigation
Links