r47171 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r47170‎ | r47171 | r47172 >
Date:23:56, 11 February 2009
Author:aaron
Status:deferred
Tags:
Comment:
(bug 17449) makeConnectionString was not defined
Modified paths:
  • /branches/REL1_13/phase3/includes/db/DatabasePostgres.php (modified) (history)

Diff [purge]

Index: branches/REL1_13/phase3/includes/db/DatabasePostgres.php
@@ -189,6 +189,13 @@
190190 return $this->mConn;
191191 }
192192
 193+ function makeConnectionString( $vars ) {
 194+ $s = '';
 195+ foreach ( $vars as $name => $value ) {
 196+ $s .= "$name='" . str_replace( "'", "\\'", $value ) . "' ";
 197+ }
 198+ return $s;
 199+ }
193200
194201 function initial_setup($password, $dbName) {
195202 // If this is the initial connection, setup the schema stuff and possibly create the user

Follow-up revisions

RevisionCommit summaryAuthorDate
r47558Added missing release notes for r47171tstarling14:45, 20 February 2009

Status & tagging log