Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F1953
patch_1976_Database_REL14.txt
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 8:20 PM
2014-11-21 20:20:03 (UTC+0)
Size
671 B
Referenced Files
None
Subscribers
None
patch_1976_Database_REL14.txt
View Options
Index: Database.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/Database.php,v
retrieving revision 1.71.2.19
diff -u -r1.71.2.19 Database.php
--- Database.php 3 May 2005 08:28:35 -0000 1.71.2.19
+++ Database.php 8 May 2005 07:43:53 -0000
@@ -1008,7 +1008,7 @@
if ( $this->mTablePrefix !== '' && strpos( '.', $name ) === false ) {
$name = "{$this->mTablePrefix}$name";
}
- if ( isset( $wgSharedDB ) && 'user' == $name ) {
+ if ( isset( $wgSharedDB ) && "{$this->mTablePrefix}user" == $name ) {
$name = "`$wgSharedDB`.`$name`";
} else {
# Standard quoting
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1498
Default Alt Text
patch_1976_Database_REL14.txt (671 B)
Attached To
Mode
T3976: $wgSharedDB not working -- bad if statement in Database.php
Attached
Detach File
Event Timeline
Log In to Comment