This commit is contained in:
flynn 2023-03-23 06:24:58 +00:00
parent e7afe0f60f
commit b5e17cc2c0

View File

@ -1108,7 +1108,7 @@ void QueryFuzzer::fuzz(ASTPtr & ast)
/// Fuzzing EXPLAIN query to SELECT query randomly
if (fuzz_rand() % 20 == 0 && explain_query->getExplainedQuery()->getQueryKind() == IAST::QueryKind::Select)
{
ast = explain_query->getExplainedQuery();
ast = explain_query->getExplainedQuery()->clone();
fuzz(ast);
}
else