mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-11 18:14:03 +00:00
dbms: development [#CONV-2944].
This commit is contained in:
parent
5921a2e891
commit
c9f9913ef5
@ -197,8 +197,11 @@ void StorageLog::drop()
|
||||
{
|
||||
for (Files_t::iterator it = files.begin(); it != files.end(); ++it)
|
||||
{
|
||||
it->second.data_file.remove();
|
||||
it->second.marks_file.remove();
|
||||
if (it->second.data_file.exists())
|
||||
it->second.data_file.remove();
|
||||
|
||||
if (it->second.marks_file.exists())
|
||||
it->second.marks_file.remove();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user