Last modified: 2010-05-15 15:42:46 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 T9970, the corresponding Phabricator task for complete and up-to-date bug report information.
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
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.8.x
All All
: Normal trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch
Depends on:
Blocks:
  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: ---


Attachments

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.


Navigation
Links