From: Greg Sabino Mullane Date: Sun, 10 Feb 2008 14:48:50 +0000 (+0000) Subject: Make the test table name a bit more descriptive. X-Git-Tag: 1.31.0-rc.0~49532 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=b4f47beb9f31476e923c1fad190360874bd32bed;p=lhc%2Fweb%2Fwiklou.git Make the test table name a bit more descriptive. --- diff --git a/includes/DatabasePostgres.php b/includes/DatabasePostgres.php index 124f2cd429..86188dda26 100644 --- a/includes/DatabasePostgres.php +++ b/includes/DatabasePostgres.php @@ -1135,7 +1135,7 @@ END; ## Make sure that we can write to the correct schema ## If not, Postgres will happily and silently go to the next search_path item - $ctest = "mw_test_table"; + $ctest = 'mediawiki_test_table'; $safeschema = $this->quote_ident($wgDBmwschema); if ($this->tableExists($ctest, $wgDBmwschema)) { $this->doQuery("DROP TABLE $safeschema.$ctest"); @@ -1148,7 +1148,7 @@ END; print "FAILED. Make sure that the user \"$wgDBuser\" can write to the schema \"$wgDBmwschema\"\n"; dieout(""); } - $this->doQuery("DROP TABLE $safeschema.mw_test_table"); + $this->doQuery("DROP TABLE $safeschema.$ctest"); dbsource( "../maintenance/postgres/tables.sql", $this);