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

Method cancel

src/IO/ReadBuffer.cpp:93–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93void ReadBuffer::cancel()
94{
95 if (std::current_exception())
96 tryLogCurrentException(getLogger("ReadBuffer"), "ReadBuffer is canceled by the exception", LogsLevel::debug);
97 else
98 LOG_DEBUG(getLogger("ReadBuffer"), "ReadBuffer is canceled at {}", StackTrace().toString());
99
100 canceled = true;
101}
102
103bool ReadBuffer::next()
104{

Callers 15

cancelImplMethod · 0.45
cancelImplMethod · 0.45
silkBioReadFunction · 0.45
silkBioWriteFunction · 0.45
pollImplMethod · 0.45
cancelImplMethod · 0.45
cancelImplMethod · 0.45
connectMethod · 0.45
pollImplMethod · 0.45
sendBytesMethod · 0.45
receiveBytesMethod · 0.45

Calls 4

tryLogCurrentExceptionFunction · 0.50
getLoggerFunction · 0.50
StackTraceClass · 0.50
toStringMethod · 0.45

Tested by

no test coverage detected