From f5f08f973eff8f3be5a415f2934a1c8d587d58fe Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Wed, 21 Sep 2022 07:10:33 +0200 Subject: [PATCH] Fix amusing error in conversion from Ordinary to Atomic --- src/Interpreters/loadMetadata.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Interpreters/loadMetadata.cpp b/src/Interpreters/loadMetadata.cpp index 24b977a9c11..fa87e66e196 100644 --- a/src/Interpreters/loadMetadata.cpp +++ b/src/Interpreters/loadMetadata.cpp @@ -390,8 +390,8 @@ static void maybeConvertOrdinaryDatabaseToAtomic(ContextMutablePtr context, cons catch (Exception & e) { e.addMessage("Exception while trying to convert database {} from Ordinary to Atomic. It may be in some intermediate state." - "You can finish conversion manually by moving the rest tables from {} to {} (using RENAME TABLE)" - "and executing DROP DATABASE {} and RENAME DATABASE {} TO {}.", + " You can finish conversion manually by moving the rest tables from {} to {} (using RENAME TABLE)" + " and executing DROP DATABASE {} and RENAME DATABASE {} TO {}.", database_name, database_name, tmp_name, database_name, tmp_name, database_name); throw; }