MCPcopy Create free account
hub / github.com/ByConity/ByConity / addTableLike

Method addTableLike

programs/client/QueryFuzzer.cpp:570–582  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

568}
569
570void QueryFuzzer::addTableLike(const ASTPtr ast)
571{
572 if (table_like_map.size() > 1000)
573 {
574 table_like_map.clear();
575 }
576
577 const auto name = ast->formatForErrorMessage();
578 if (name.size() < 200)
579 {
580 table_like_map.insert({name, ast});
581 }
582}
583
584void QueryFuzzer::addColumnLike(const ASTPtr ast)
585{

Callers

nothing calls this directly

Calls 4

formatForErrorMessageMethod · 0.80
sizeMethod · 0.45
clearMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected