r108337 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108336‎ | r108337 | r108338 >
Date:23:29, 7 January 2012
Author:platonides
Status:reverted
Tags:
Comment:
No need of $wgDBmwschema after r108060
Modified paths:
  • /trunk/phase3/includes/db/DatabasePostgres.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/db/DatabasePostgres.php
@@ -624,7 +624,7 @@
625625 }
626626
627627 function tableName( $name, $format = 'quoted' ) {
628 - global $wgSharedDB, $wgSharedTables, $wgDBmwschema;
 628+ global $wgSharedDB, $wgSharedTables;
629629 # Skip quoted tablenames.
630630 if ( $this->isQuotedIdentifier( $name ) ) {
631631 return $name;
@@ -643,7 +643,7 @@
644644 $dbDetails = explode( '.', $name, 2 );
645645 if ( isset( $dbDetails[1] ) ) {
646646 $schema = '"' . $dbDetails[0] . '".';
647 - $table = $dbDetails [1];
 647+ $table = $dbDetails[1];
648648 } else {
649649 $schema = ""; # do NOT force the schema (due to temporary tables)
650650 $table = $dbDetails[0];

Follow-up revisions

RevisionCommit summaryAuthorDate
r110690Reverted r106025 and friends (r106370, r106373, r108060, r108337, r106419). T...aaron23:37, 3 February 2012

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r106025Bug 16794 - $wgSharedDB PostgreSQL support...mah15:06, 13 December 2011
r108060re r106025 — apply follow up from Luca Fulchirmah18:01, 4 January 2012

Status & tagging log