Fix amusing error in conversion from Ordinary to Atomic

This commit is contained in:
Alexey Milovidov 2022-09-21 07:10:33 +02:00
parent 779a8f1305
commit f5f08f973e

View File

@ -390,8 +390,8 @@ static void maybeConvertOrdinaryDatabaseToAtomic(ContextMutablePtr context, cons
catch (Exception & e) catch (Exception & e)
{ {
e.addMessage("Exception while trying to convert database {} from Ordinary to Atomic. It may be in some intermediate state." 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)" " You can finish conversion manually by moving the rest tables from {} to {} (using RENAME TABLE)"
"and executing DROP DATABASE {} and RENAME DATABASE {} TO {}.", " and executing DROP DATABASE {} and RENAME DATABASE {} TO {}.",
database_name, database_name, tmp_name, database_name, tmp_name, database_name); database_name, database_name, tmp_name, database_name, tmp_name, database_name);
throw; throw;
} }