From 5e80e9263e73ec3fa66ea87f62662e6fb2736551 Mon Sep 17 00:00:00 2001 From: Rory Crispin Date: Sat, 22 Apr 2023 15:29:20 +0100 Subject: [PATCH] Remove spaces around -> --- src/Dictionaries/getDictionaryConfigurationFromAST.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Dictionaries/getDictionaryConfigurationFromAST.cpp b/src/Dictionaries/getDictionaryConfigurationFromAST.cpp index 9db17428dbd..d0180c2a3d7 100644 --- a/src/Dictionaries/getDictionaryConfigurationFromAST.cpp +++ b/src/Dictionaries/getDictionaryConfigurationFromAST.cpp @@ -573,8 +573,8 @@ void checkPrimaryKey(const AttributeNameToConfiguration & all_attrs, const Names void checkLifetime(const ASTCreateQuery & query) { - if (query.dictionary -> layout && query.dictionary->layout->layout_type == "direct") { - if (query.dictionary -> lifetime) + if (query.dictionary->layout && query.dictionary->layout->layout_type == "direct") { + if (query.dictionary->lifetime) throw Exception( ErrorCodes::BAD_ARGUMENTS, "'lifetime' parameter is redundant for the dictionary' of layout '{}'",