Update comments
This commit is contained in:
parent
077b8d5c37
commit
157008d711
3 changed files with 8 additions and 2 deletions
|
@ -251,7 +251,10 @@ where
|
|||
Qcx: QueryContext,
|
||||
{
|
||||
let (query_map, complete) = qcx.collect_active_jobs();
|
||||
// Ensure there was no errors collecting all active jobs.
|
||||
// We need the complete map to ensure we find a cycle to break.
|
||||
assert!(complete, "failed to collect active queries");
|
||||
|
||||
let error = try_execute.find_cycle_in_stack(query_map, &qcx.current_query_job(), span);
|
||||
(mk_cycle(query, qcx, error), None)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue