Page MenuHomePhabricator

D13267.id32064.diff
No OneTemporary

D13267.id32064.diff

diff --git a/src/applications/herald/garbagecollector/HeraldTranscriptGarbageCollector.php b/src/applications/herald/garbagecollector/HeraldTranscriptGarbageCollector.php
--- a/src/applications/herald/garbagecollector/HeraldTranscriptGarbageCollector.php
+++ b/src/applications/herald/garbagecollector/HeraldTranscriptGarbageCollector.php
@@ -20,7 +20,7 @@
conditionTranscripts = "",
applyTranscripts = "",
garbageCollected = 1
- WHERE garbageCollected = 0 AND `time` < %d
+ WHERE garbageCollected = 0 AND time < %d
LIMIT 100',
$table->getTableName(),
time() - $ttl);
diff --git a/src/applications/ponder/editor/PonderVoteEditor.php b/src/applications/ponder/editor/PonderVoteEditor.php
--- a/src/applications/ponder/editor/PonderVoteEditor.php
+++ b/src/applications/ponder/editor/PonderVoteEditor.php
@@ -63,8 +63,8 @@
queryfx($conn,
'UPDATE %T as t
- SET t.`voteCount` = t.`voteCount` + %d
- WHERE t.`PHID` = %s',
+ SET t.voteCount = t.voteCount + %d
+ WHERE t.PHID = %s',
$votable->getTableName(),
$delta,
$votable->getVotablePHID());
diff --git a/src/applications/xhprof/controller/PhabricatorXHProfSampleListController.php b/src/applications/xhprof/controller/PhabricatorXHProfSampleListController.php
--- a/src/applications/xhprof/controller/PhabricatorXHProfSampleListController.php
+++ b/src/applications/xhprof/controller/PhabricatorXHProfSampleListController.php
@@ -18,18 +18,18 @@
switch ($this->view) {
case 'sampled':
- $clause = '`sampleRate` > 0';
+ $clause = 'sampleRate > 0';
$show_type = false;
break;
case 'my-runs':
$clause = qsprintf(
id(new PhabricatorXHProfSample())->establishConnection('r'),
- '`sampleRate` = 0 AND `userPHID` = %s',
+ 'sampleRate = 0 AND userPHID = %s',
$request->getUser()->getPHID());
$show_type = false;
break;
case 'manual':
- $clause = '`sampleRate` = 0';
+ $clause = 'sampleRate = 0';
$show_type = false;
break;
case 'all':

File Metadata

Mime Type
text/plain
Expires
Tue, Jan 21, 10:54 AM (1 h, 5 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7025574
Default Alt Text
D13267.id32064.diff (2 KB)

Event Timeline