Merge pull request #59941 from kitaisreal/register-storage-merge-tree-exception-message-fix

Register StorageMergeTree exception message fix
This commit is contained in:
Alexey Milovidov 2024-02-14 01:31:00 +01:00 committed by GitHub
commit 7ee6b0bd87
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -194,7 +194,7 @@ static StoragePtr create(const StorageFactory::Arguments & args)
auto add_optional_param = [&](const char * desc)
{
++max_num_params;
needed_params += needed_params.empty() ? "\n" : ",\n[";
needed_params += needed_params.empty() ? "\n[" : ",\n[";
needed_params += desc;
needed_params += "]";
};