From 99632c95c923c124f0ac9b4583435d38ba494e70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=87=8C=E6=B6=9B?= Date: Thu, 24 Nov 2022 16:16:02 +0800 Subject: [PATCH] code style --- src/Storages/System/StorageSystemDatabases.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Storages/System/StorageSystemDatabases.cpp b/src/Storages/System/StorageSystemDatabases.cpp index 77a22de9b7a..69ca8ac7e7b 100644 --- a/src/Storages/System/StorageSystemDatabases.cpp +++ b/src/Storages/System/StorageSystemDatabases.cpp @@ -54,11 +54,11 @@ void StorageSystemDatabases::fillData(MutableColumns & res_columns, ContextPtr c auto * ast_create = ast->as(); String engine_full; - if (ast_create && ast_create->storage) + if (ast_create && ast_create->storage) { engine_full = ast_create->storage->formatWithSecretsHidden(); static const char *const extra_head = " ENGINE = "; - + if (startsWith(engine_full, extra_head)) engine_full = engine_full.substr(strlen(extra_head)); }