Last modified: 2012-08-04 20:49:07 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 6802 - MySQL-specific queries in /profileinfo.php
MySQL-specific queries in /profileinfo.php
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch-need-review
Depends on:
Blocks: postgres
  Show dependency treegraph
Reported: 2006-07-24 09:40 UTC by Nick Jenkins
Modified: 2012-08-04 20:49 UTC (History)
3 users (show)

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

replace mysql specific code with db agnostic code (1.52 KB, patch)
2006-09-04 12:40 UTC, Robert Treat
replaces mysql specific code with code that is not database specific (1.24 KB, patch)
2009-05-03 07:11 UTC, Karun

Description Nick Jenkins 2006-07-24 09:40:56 UTC
MySQL-specific queries in /profileinfo.php. (e.g. grep for "mysql")

Possible enhancement of adding support for other databases (e.g. postgres,
oracle) to /profileinfo.php
Comment 1 Robert Treat 2006-09-04 12:40:14 UTC
Created attachment 2311 [details]
replace mysql specific code with db agnostic code

In theory this should work, though I don't have any profile info to test it
with nor mysql system to test it on, but it does run without errors on my
install using pg. Also including setup.php is probably not the right way to do
Comment 2 Karun 2009-05-03 07:11:44 UTC
Created attachment 6083 [details]
replaces mysql specific code with code that is not database specific

I have modified the code that was mysql specific to use the similiar standard at so that the page will work with PostGreSQL>
Comment 3 Alexandre Emsenhuber [IAlex] 2009-05-04 18:36:36 UTC
fixed in r50192.

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