r80895 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r80894
|
r80895
|
r80896
>
Date:
18:45, 24 January 2011
Author:
ialex
Status:
ok
Tags:
Comment:
Fix for
r80864
: the $dbname variable was not there only to make pretty debug output, but also to let the connection choose the correct database. This was breaking connections to other databases since they were always using wiki's database.
Modified paths:
/trunk/phase3/includes/db/LoadBalancer.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/db/LoadBalancer.php
—
—
@@ -624,7 +624,7 @@
625
625
$dbname = $server['dbname'];
626
626
627
627
if ( $dbNameOverride !== false ) {
628
- $dbname = $dbNameOverride;
628
+ $server['dbname'] = $dbname = $dbNameOverride;
629
629
}
630
630
631
631
# Create object
Follow-up revisions
Revision
Commit summary
Author
Date
r83414
MFT
r80864
,
r80895
demon
22:41, 6 March 2011
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r80864
Followup to
r79848
(and really, make it useful...)...
demon
16:31, 24 January 2011
Status & tagging log
22:39, 6 March 2011
😂
(
talk
|
contribs
)
changed the
status
of r80895
[
removed:
new
added:
ok]