mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-18 04:12:19 +00:00
Merge pull request #17764 from ClickHouse/fix-ugly-bug
Fix ugly bug in exception message.
This commit is contained in:
commit
4ebc410b15
@ -2015,7 +2015,7 @@ void Context::checkCanBeDropped(const String & database, const String & table, c
|
|||||||
"1. Size ({}) is greater than max_[table/partition]_size_to_drop ({})\n"
|
"1. Size ({}) is greater than max_[table/partition]_size_to_drop ({})\n"
|
||||||
"2. File '{}' intended to force DROP {}\n"
|
"2. File '{}' intended to force DROP {}\n"
|
||||||
"How to fix this:\n"
|
"How to fix this:\n"
|
||||||
"1. Either increase (or set to zero) max_[table/partition]_size_to_drop in server config\n",
|
"1. Either increase (or set to zero) max_[table/partition]_size_to_drop in server config\n"
|
||||||
"2. Either create forcing file {} and make sure that ClickHouse has write permission for it.\n"
|
"2. Either create forcing file {} and make sure that ClickHouse has write permission for it.\n"
|
||||||
"Example:\nsudo touch '{}' && sudo chmod 666 '{}'",
|
"Example:\nsudo touch '{}' && sudo chmod 666 '{}'",
|
||||||
backQuoteIfNeed(database), backQuoteIfNeed(table),
|
backQuoteIfNeed(database), backQuoteIfNeed(table),
|
||||||
|
Loading…
Reference in New Issue
Block a user