Page MenuHomePhabricator

D16948.diff
No OneTemporary

D16948.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
Oct 19 2024, 9:18 PM (4 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6733919
Default Alt Text
D16948.diff (1 KB)

Event Timeline