From: Michael Widenius Date: October 31 2009 11:30am Subject: Re: help -- how do I return an error? List-Archive: http://lists.mysql.com/internals/37458 Message-Id: <19180.8158.569722.113206@narttu.askmonty.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi! >>>>> "Marc" == Marc Alff writes: Marc> Hi Mark Marc> Looking at the code in mysys, it seems my_seek ignores the flags given Marc> to it :( Marc> You may have to call my_seek with MYF(0), and call my_error() explicitly. I just added support for the MY_WME flag to my_seek() and my_tell() in MariaDB. I suggest you do the same in MySQL. Regards, Monty