Page MenuHomePhabricator

D16948.id.diff
No OneTemporary

D16948.id.diff

diff --git a/src/applications/search/fulltextstorage/PhabricatorMySQLFulltextStorageEngine.php b/src/applications/search/fulltextstorage/PhabricatorMySQLFulltextStorageEngine.php
--- a/src/applications/search/fulltextstorage/PhabricatorMySQLFulltextStorageEngine.php
+++ b/src/applications/search/fulltextstorage/PhabricatorMySQLFulltextStorageEngine.php
@@ -238,7 +238,7 @@
} else {
$select[] = qsprintf(
$conn,
- 'document.dateCreated AS fieldScore');
+ 'document.documentCreated AS fieldScore');
}
$exclude = $query->getParameter('exclude');
diff --git a/src/infrastructure/cluster/PhabricatorDatabaseRef.php b/src/infrastructure/cluster/PhabricatorDatabaseRef.php
--- a/src/infrastructure/cluster/PhabricatorDatabaseRef.php
+++ b/src/infrastructure/cluster/PhabricatorDatabaseRef.php
@@ -635,7 +635,7 @@
$application_replicas = array();
$default_replicas = array();
foreach ($replicas as $replica) {
- $master = $replica->getMaster();
+ $master = $replica->getMasterRef();
if ($master->isApplicationHost($application)) {
$application_replicas[] = $replica;

File Metadata

Mime Type
text/plain
Expires
Mon, Oct 21, 10:24 PM (4 w, 7 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6733919
Default Alt Text
D16948.id.diff (1 KB)

Event Timeline