diff options
author | unknown <kaa@polly.local> | 2005-09-26 19:24:31 +0400 |
---|---|---|
committer | unknown <kaa@polly.local> | 2005-09-26 19:24:31 +0400 |
commit | aeca681be42e07777e9f856deba2ab5ae8f1e24e (patch) | |
tree | ba2a928cd41b05b4101c5a2154df86e50b572320 /innobase | |
parent | bd8b5dc8457ebed6489eeaa07c0beafd068d0dad (diff) | |
download | mariadb-git-aeca681be42e07777e9f856deba2ab5ae8f1e24e.tar.gz |
Fix for bug #13367
Diffstat (limited to 'innobase')
-rw-r--r-- | innobase/buf/buf0flu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/innobase/buf/buf0flu.c b/innobase/buf/buf0flu.c index ffb16790b2d..bd14f14ea95 100644 --- a/innobase/buf/buf0flu.c +++ b/innobase/buf/buf0flu.c @@ -230,7 +230,7 @@ buf_flush_buffered_writes(void) ulint len2; ulint i; - if (trx_doublewrite == NULL) { + if (!srv_use_doublewrite_buf || trx_doublewrite == NULL) { os_aio_simulated_wake_handler_threads(); return; @@ -507,7 +507,7 @@ buf_flush_write_block_low( fil_io(OS_FILE_WRITE | OS_AIO_SIMULATED_WAKE_LATER, FALSE, block->space, block->offset, 0, UNIV_PAGE_SIZE, (void*)block->frame, (void*)block); - } else { + } else if (srv_use_doublewrite_buf) { buf_flush_post_to_doublewrite_buf(block); } } |