From b5e17cc2c0b6fba5e955dc4d7b9631b0993147b4 Mon Sep 17 00:00:00 2001 From: flynn Date: Thu, 23 Mar 2023 06:24:58 +0000 Subject: [PATCH] fix --- src/Client/QueryFuzzer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Client/QueryFuzzer.cpp b/src/Client/QueryFuzzer.cpp index ba4246e8d0d..cf288456f81 100644 --- a/src/Client/QueryFuzzer.cpp +++ b/src/Client/QueryFuzzer.cpp @@ -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