dbms: development [#CONV-2944].

This commit is contained in:
Alexey Milovidov 2012-06-20 17:54:38 +00:00
parent 5921a2e891
commit c9f9913ef5

View File

@ -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();
}
}