diff options
-rw-r--r-- | storage/rocksdb/ha_rocksdb.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/storage/rocksdb/ha_rocksdb.cc b/storage/rocksdb/ha_rocksdb.cc index b3d606767af..7cddfea33a7 100644 --- a/storage/rocksdb/ha_rocksdb.cc +++ b/storage/rocksdb/ha_rocksdb.cc @@ -546,8 +546,7 @@ static int rmdir_force(const char *dir) { strxnmov(path, sizeof(path), dir, sep, file->name, NULL); - if (!MY_S_ISREG(file->mystat->st_mode)) - err = my_delete(path, 0); + err = my_delete(path, 0); if (err) { break; |