Page MenuHomePhabricator

patch_1976_Database_HEAD.txt

Authored By
bzimport
Nov 21 2014, 8:20 PM
Size
656 B
Referenced Files
None
Subscribers
None

patch_1976_Database_HEAD.txt

Index: Database.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/Database.php,v
retrieving revision 1.94
diff -u -r1.94 Database.php
--- Database.php 3 May 2005 07:47:08 -0000 1.94
+++ Database.php 8 May 2005 07:45:13 -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

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1497
Default Alt Text
patch_1976_Database_HEAD.txt (656 B)

Event Timeline