Last modified: 2010-05-15 15:42:46 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 7970 - getServerVersion doesn't work if an extra mysql connection has been closed
getServerVersion doesn't work if an extra mysql connection has been closed
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
All All
: Normal trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch
Depends on:
  Show dependency treegraph
Reported: 2006-11-18 10:53 UTC by Stevel
Modified: 2010-05-15 15:42 UTC (History)
0 users

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


Description Stevel 2006-11-18 10:53:47 UTC
--- Database.php.orig   2006-11-18 11:39:10.171878744 +0100
+++ Database.php        2006-11-18 11:39:48.134107608 +0100
@@ -1829,7 +1829,7 @@
         * @return string Version information from the database
        function getServerVersion() {
-               return mysql_get_server_info();
+               return mysql_get_server_info($this->mConn);

Comment 1 Brion Vibber 2006-11-18 11:30:49 UTC
Fixed on trunk in r17780

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