From: Jon Olav Hauglid Date: July 22 2010 9:14am Subject: Re: bzr commit into mysql-trunk-runtime branch (jon.hauglid:3081) Bug#54905 List-Archive: http://lists.mysql.com/commits/114120 Message-Id: <4C480BEA.5060305@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 07/21/2010 05:24 PM, Konstantin Osipov wrote: > Perhaps a matter of taste, but assigning the error to TRUE > at the beginning and resetting to FALSE only at the very end > would save you a few lines. A little bit like choosing between the plague and cholera ;-) I've changed it the way you suggested. > We should not release metadata locks on tables before calling > close_thread_tables(). In my current patch I have an assert for > it in close_thread_table(). > Thus here you also should call close_thread_tables() first. Ok, done. --- Jon Olav