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

Method nextComment

src/Client/BuzzHouse/Generator/SQLTable.cpp:12–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10{
11
12String StatementGenerator::nextComment(RandomGenerator & rg) const
13{
14 return rg.nextSmallNumber() < 4 ? "''" : rg.nextString("'", true, rg.nextStrlen());
15}
16
17static void collectNullable(SQLType * tp, const uint32_t flags, ColumnPathChain & next, std::vector<ColumnPathChain> & paths)
18{

Callers

nothing calls this directly

Calls 3

nextSmallNumberMethod · 0.80
nextStringMethod · 0.80
nextStrlenMethod · 0.80

Tested by

no test coverage detected