From: Date: September 26 2005 5:24pm Subject: bk commit into 5.0 tree (kaa:1.1992) BUG#13367 List-Archive: http://lists.mysql.com/internals/30335 X-Bug: 13367 Message-Id: <20050926152438.0E8562AA49@polly.local> Below is the list of changes that have just been committed into a local 5.0 repository of kaa. When kaa does a push these changes will be propagated to the main repository and, within 24 hours after the push, to the public repository. For information on how to access the public repository see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html ChangeSet 1.1992 05/09/26 19:24:31 kaa@stripped +1 -0 Fix for bug #13367 innobase/buf/buf0flu.c 1.30 05/09/26 19:24:26 kaa@stripped +2 -2 Fix for bug #13367 # This is a BitKeeper patch. What follows are the unified diffs for the # set of deltas contained in the patch. The rest of the patch, the part # that BitKeeper cares about, is below these diffs. # User: kaa # Host: polly.local # Root: /home/kaa/src/mysql-5.0 --- 1.29/innobase/buf/buf0flu.c 2005-06-15 13:50:18 +04:00 +++ 1.30/innobase/buf/buf0flu.c 2005-09-26 19:24:26 +04:00 @@ -230,7 +230,7 @@ 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 @@ 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); } }