diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2018-06-07 09:56:47 +0200 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2018-06-07 09:56:47 +0200 |
commit | 59ad62f9dc665f5d16d0412df028883461c9d55c (patch) | |
tree | a5bdc0ef194db1d891c592cfb810d0bd976bcd64 | |
parent | e9c684ab082f0d118a944aaf08fe60657d9d1663 (diff) | |
download | mariadb-git-bb-10.2-rocksdb-backup.tar.gz |
-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; |