Last modified: 2012-08-04 20:49:07 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 T8802, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 6802 - MySQL-specific queries in /profileinfo.php
MySQL-specific queries in /profileinfo.php
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.15.x
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: ---


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

Description Nick Jenkins 2006-07-24 09:40:56 UTC
MySQL-specific queries in /profileinfo.php. (e.g. grep
http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/profileinfo.php 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
things...
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 http://www.mediawiki.org/wiki/Manual:Database_access 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.


Navigation
Links