Page MenuHomePhabricator

commit-f90a68d.diff

Authored By
mwjames
Apr 27 2017, 12:09 PM
Size
787 B
Referenced Files
None
Subscribers
None

commit-f90a68d.diff

From f90a68d0643117edb76ad724b59e1c9c308b503e Mon Sep 17 00:00:00 2001
From: mwjames <jamesin.hongkong.1@gmail.com>
Date: Thu, 27 Apr 2017 21:01:42 +0900
Subject: Re-add Database::realTableName to Posstgres
diff --git a/includes/libs/rdbms/database/DatabasePostgres.php b/includes/libs/rdbms/database/DatabasePostgres.php
index b92d072..23d9d3f 100644
--- a/includes/libs/rdbms/database/DatabasePostgres.php
+++ b/includes/libs/rdbms/database/DatabasePostgres.php
@@ -1051,6 +1051,7 @@ __INDEXATTR__;
if ( $schema === false ) {
$schema = $this->getCoreSchema();
}
+ $table = $this->realTableName( $table, 'raw' );
$etable = $this->addQuotes( $table );
$eschema = $this->addQuotes( $schema );
$sql = "SELECT 1 FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n "

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4604239
Default Alt Text
commit-f90a68d.diff (787 B)

Event Timeline