mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
Fix changed ID column name in DistributedQueriesForHost query (#473)
This commit is contained in:
parent
2b24dcc731
commit
0b6df0cd73
1 changed files with 1 additions and 1 deletions
|
|
@ -168,7 +168,7 @@ LEFT JOIN label_query_executions lqe
|
|||
LEFT JOIN hosts h
|
||||
ON ((dqct.type = ? AND lqe.host_id = h.id) OR (dqct.type = ? AND dqct.target_id = h.id))
|
||||
LEFT JOIN distributed_query_executions dqe
|
||||
ON (h.id = dqe.host_id AND dqc.id = dqe.distributed_query_id)
|
||||
ON (h.id = dqe.host_id AND dqc.id = dqe.distributed_query_campaign_id)
|
||||
JOIN queries q
|
||||
ON (dqc.query_id = q.id)
|
||||
WHERE dqe.status IS NULL AND dqc.status = ? AND h.id = ?;
|
||||
|
|
|
|||
Loading…
Reference in a new issue