mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 19:02:04 +00:00
Fix build.
This commit is contained in:
parent
40104a9cb5
commit
e62b985f8c
@ -641,7 +641,7 @@ void BackupCoordinationStageSync::cancelQueryIfError()
|
||||
exception = state.hosts.at(*state.host_with_error).exception;
|
||||
}
|
||||
|
||||
process_list_element->cancelQuery(false, exception);
|
||||
process_list_element->cancelQuery(CancelReason::CANCELLED_BY_USER, exception);
|
||||
state_changed.notify_all();
|
||||
}
|
||||
|
||||
@ -692,7 +692,7 @@ void BackupCoordinationStageSync::cancelQueryIfDisconnectedTooLong()
|
||||
state.cancelled = true;
|
||||
}
|
||||
|
||||
process_list_element->cancelQuery(false, exception);
|
||||
process_list_element->cancelQuery(CancelReason::TIMEOUT, exception);
|
||||
state_changed.notify_all();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user