From: Lars-Erik Bjørk Date: June 10 2009 9:48am Subject: Potential bug? List-Archive: http://lists.mysql.com/falcon/760 Message-Id: MIME-Version: 1.0 Content-Type: text/plain; CHARSET=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7BIT Hi all! I came across the following funny snippet of code: void IndexKey::setKey(int offset, int length, const UCHAR *data) { memcpy(key + offset, data, length); length = offset + length; } I assume the writer intended to write 'keyLength = offset + length'? Unless someone has any objections, I will push a patch for this (without a review :) ) and hope some existing issues disappear :) /Lars-Erik