From: Alexander Nozdrin Date: April 1 2011 5:11pm Subject: Re: bzr commit into mysql-trunk branch (Dmitry.Lenev:3534) Bug#11746602 List-Archive: http://lists.mysql.com/commits/134491 Message-Id: <4D960726.90401@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Ok to push (please fix a typo noted below). Thank you! On 04/01/11 17:47, Dmitry Lenev wrote: > @ sql/sql_base.cc > - Changed open_temporary_tables() not to pre-open tables from > the statements prelocking list. Old behavior led to > unwarranted ER_CANT_REOPEN errors in cases when prepared > statement which used some table twice, directly and > indirectly, was re-executed in presence of shadowing > temporary table. Now, as expected, such statements are > re-prepared after validation in these cases. > - Adjusted open_temporary_tables() not to skip TABLE_LIST > elements with non-zero 'table' pointer. This was not > really necessary and new behavior allows to catch > situations in which TABLE_LIST elements were not properly > reset before statement re-execution or between two > consequtive calls to this function. s/consequtive/consecutive/