MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / killCurrentQuery

Method killCurrentQuery

src/Interpreters/Context.cpp:3456–3460  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3454}
3455
3456void Context::killCurrentQuery() const
3457{
3458 if (auto elem = getProcessListElement())
3459 elem->cancelQuery(CancelReason::CANCELLED_BY_USER);
3460}
3461
3462bool Context::isCurrentQueryKilled() const
3463{

Callers 1

processQueryMethod · 0.80

Calls 1

cancelQueryMethod · 0.45

Tested by

no test coverage detected