Remove spaces around ->

This commit is contained in:
Rory Crispin 2023-04-22 15:29:20 +01:00 committed by GitHub
parent 32dcc2e37b
commit 5e80e9263e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -573,8 +573,8 @@ void checkPrimaryKey(const AttributeNameToConfiguration & all_attrs, const Names
void checkLifetime(const ASTCreateQuery & query) void checkLifetime(const ASTCreateQuery & query)
{ {
if (query.dictionary -> layout && query.dictionary->layout->layout_type == "direct") { if (query.dictionary->layout && query.dictionary->layout->layout_type == "direct") {
if (query.dictionary -> lifetime) if (query.dictionary->lifetime)
throw Exception( throw Exception(
ErrorCodes::BAD_ARGUMENTS, ErrorCodes::BAD_ARGUMENTS,
"'lifetime' parameter is redundant for the dictionary' of layout '{}'", "'lifetime' parameter is redundant for the dictionary' of layout '{}'",