| 568 | } |
| 569 | |
| 570 | void 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 | |
| 584 | void QueryFuzzer::addColumnLike(const ASTPtr ast) |
| 585 | { |
nothing calls this directly
no test coverage detected