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

Function buildIndentOffset

src/Processors/QueryPlan/QueryPlan.cpp:585–590  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

583}
584
585static void buildIndentOffset(const std::deque<ExplainPlan::Frame> & frames, IQueryPlanStep::FormatSettings & settings_format, size_t indent_offset)
586{
587 settings_format.offset = (frames.size() - 1 + indent_offset) * settings_format.base_indent;
588 settings_format.header_prefix = std::string(settings_format.offset, settings_format.indent_char);
589 settings_format.detail_prefix = settings_format.header_prefix;
590}
591
592void QueryPlan::explainPlan(
593 WriteBuffer & buffer,

Callers 1

explainPlanMethod · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected