diff --git a/src/Interpreters/Cache/QueryResultCache.cpp b/src/Interpreters/Cache/QueryResultCache.cpp index 93a5b7ed26b..5ae9759fc32 100644 --- a/src/Interpreters/Cache/QueryResultCache.cpp +++ b/src/Interpreters/Cache/QueryResultCache.cpp @@ -23,9 +23,10 @@ namespace { struct HasNonDeterministicFunctionsMatcher { - struct Data { + struct Data + { ContextPtr context; - bool has_non_deterministic_functions; + bool has_non_deterministic_functions = false; }; static bool needChildVisit(const ASTPtr &, const ASTPtr &) { return true; } @@ -50,9 +51,9 @@ using HasNonDeterministicFunctionsVisitor = InDepthNodeVisitor