Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14742549
D13267.id32064.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D13267.id32064.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D13267: Remove backticks from SQL statements
Attached
Detach File
Event Timeline
Log In to Comment