From: Date: May 13 2005 4:18pm Subject: bk commit into 5.0 tree (jimw:1.1944) BUG#8271 List-Archive: http://lists.mysql.com/internals/24866 X-Bug: 8271 Message-Id: <20050513141845.010B6A862F@rama.trainedmonkey.com> Below is the list of changes that have just been committed into a local 5.0 repository of jimw. When jimw 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.1944 05/05/13 07:18:41 jimw@stripped +1 -0 Avoid doing a seek when first setting up the IO cache for a file, which allows a FIFO to be used for the non-binary logs. (Bug #8271) mysys/mf_iocache.c 1.51 05/05/13 07:18:04 jimw@stripped +1 -1 Don't set seek_not_done if the position of the file is already where we expected it to be. # 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: jimw # Host: rama.(none) # Root: /home/jimw/my/mysql-5.0-8271 --- 1.50/mysys/mf_iocache.c 2005-03-08 08:12:08 -08:00 +++ 1.51/mysys/mf_iocache.c 2005-05-13 07:18:04 -07:00 @@ -171,7 +171,7 @@ info->arg = 0; info->alloced_buffer = 0; info->buffer=0; - info->seek_not_done= test(file >= 0); + info->seek_not_done= test(file >= 0 && seek_offset != my_tell(file, MYF(0))); info->disk_writes= 0; #ifdef THREAD info->share=0;