r80007 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r80006‎ | r80007 | r80008 >
Date:14:00, 11 January 2011
Author:demon
Status:ok
Tags:
Comment:
Fix copy+paste mistake from r79989
Modified paths:
  • /trunk/phase3/includes/installer/PostgresInstaller.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/installer/PostgresInstaller.php
@@ -214,7 +214,7 @@
215215 $conn = $status->value;
216216
217217 $dbName = $this->getVar( 'wgDBname' );
218 - $SQL = "SELECT 1 FROM pg_catalog.pg_database WHERE datname = " . $conn->addQuotes( $wgDBname );
 218+ $SQL = "SELECT 1 FROM pg_catalog.pg_database WHERE datname = " . $conn->addQuotes( $dbName );
219219 $rows = $conn->numRows( $conn->doQuery( $SQL ) );
220220 if( !$rows ) {
221221 $schema = $this->getVar( 'wgDBmwschema' );

Follow-up revisions

RevisionCommit summaryAuthorDate
r81182MFT a bunch of installer fixes. r80238, r80128, r80124, r80083, r80080, r800...demon01:59, 29 January 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r79989I have no clue how the callbacks work, this at least sets up a database, ever...overlordq03:07, 11 January 2011

Status & tagging log