mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 18:12:02 +00:00
dbms: probably faster loading [#CONV-2944].
This commit is contained in:
parent
2f433b28a9
commit
3238c9a5ae
@ -65,9 +65,6 @@ void loadMetadata(Context & context)
|
||||
/// Цикл по таблицам
|
||||
for (Poco::DirectoryIterator jt(it->path()); jt != dir_end; ++jt)
|
||||
{
|
||||
if (jt->isDirectory())
|
||||
continue;
|
||||
|
||||
/// Файлы имеют имена вида table_name.sql
|
||||
if (jt.name().compare(jt.name().size() - 4, 4, ".sql"))
|
||||
throw Exception("Incorrect file extension: " + jt.name() + " in metadata directory " + it->path(), ErrorCodes::INCORRECT_FILE_NAME);
|
||||
|
Loading…
Reference in New Issue
Block a user