summaryrefslogtreecommitdiff
path: root/storage/innobase/log/log0log.cc
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innobase/log/log0log.cc')
-rw-r--r--storage/innobase/log/log0log.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/storage/innobase/log/log0log.cc b/storage/innobase/log/log0log.cc
index 9c96eeec742..1a122b815a6 100644
--- a/storage/innobase/log/log0log.cc
+++ b/storage/innobase/log/log0log.cc
@@ -1280,16 +1280,6 @@ loop:
return;
}
-#ifdef _WIN32
- /* write requests during fil_flush() might not be good for Windows */
- if (log_sys->n_pending_flushes > 0
- || !os_event_is_set(log_sys->flush_event)) {
- log_write_mutex_exit();
- os_event_wait(log_sys->flush_event);
- goto loop;
- }
-#endif /* _WIN32 */
-
/* If it is a write call we should just go ahead and do it
as we checked that write_lsn is not where we'd like it to
be. If we have to flush as well then we check if there is a