diff --git a/storage/innobase/os/os0file.cc b/storage/innobase/os/os0file.cc index f305de38e01..846e5567e73 100644 --- a/storage/innobase/os/os0file.cc +++ b/storage/innobase/os/os0file.cc @@ -1883,7 +1883,6 @@ LinuxAIOHandler::collect() /* Deallocate unused blocks from file system. This is newer done to page 0 or to log files.*/ if (slot->offset > 0 - && !slot->skip_punch_hole && !slot->type.is_log() && slot->type.is_write() && slot->type.punch_hole()) {