Last modified: 2012-08-04 20:48:57 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 12768 - hasConstraint() in DatabasePostgres.php is not schema aware
hasConstraint() in DatabasePostgres.php is not schema aware
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
Blocks: postgres
  Show dependency treegraph
Reported: 2008-01-24 03:05 UTC by Sven Klemm
Modified: 2012-08-04 20:48 UTC (History)
1 user (show)

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

patches hasConstraint to be schema aware (649 bytes, patch)
2008-01-24 03:05 UTC, Sven Klemm

Description Sven Klemm 2008-01-24 03:05:17 UTC
Created attachment 4572 [details]
patches hasConstraint to be schema aware

The hasConstraint function in DatabasePostgres.php is not schema-aware resulting in wrong return values when multiple Mediawiki-installations are done in the same database.
Comment 1 Greg Sabino Mullane 2008-02-04 16:46:18 UTC
Thanks, this has been fixed in r30532.

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