Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F7791723
commit-f90a68d.diff
mwjames (mwjames)
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
mwjames
Apr 27 2017, 12:09 PM
2017-04-27 12:09:54 (UTC+0)
Size
787 B
Referenced Files
None
Subscribers
None
commit-f90a68d.diff
View Options
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
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4604239
Default Alt Text
commit-f90a68d.diff (787 B)
Attached To
Mode
T149454: 1.28-alpha / Error: 42P01 ERROR: table "unittest_user_groups" does not exist
Attached
Detach File
Event Timeline
Log In to Comment