Merge pull request #16267 from den-crane/patch-6

Fix for incorrect error message
This commit is contained in:
alesapin 2020-10-23 10:43:34 +03:00 committed by GitHub
commit 033525e27e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1950,7 +1950,7 @@ void Context::checkCanBeDropped(const String & database, const String & table, c
<< (force_file_exists ? "exists but not writeable (could not be removed)" : "doesn't exist") << "\n";
ostr << "How to fix this:\n"
<< "1. Either increase (or set to zero) max_[table/partition]_size_to_drop in server config and restart ClickHouse\n"
<< "1. Either increase (or set to zero) max_[table/partition]_size_to_drop in server config\n"
<< "2. Either create forcing file " << force_file.path() << " and make sure that ClickHouse has write permission for it.\n"
<< "Example:\nsudo touch '" << force_file.path() << "' && sudo chmod 666 '" << force_file.path() << "'";