Merge pull request #41605 from ClickHouse/fix-amusing-error

Fix amusing error in conversion from Ordinary to Atomic
This commit is contained in:
Alexey Milovidov 2022-09-22 07:25:41 +03:00 committed by GitHub
commit 5c508909c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}