From: Jon Olav Hauglid Date: November 15 2010 3:02pm Subject: Re: bzr commit into mysql-5.5-bugteam branch (jorgen.loland:3121) Bug#54812 List-Archive: http://lists.mysql.com/commits/123922 Message-Id: <4CE14B9F.1030806@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 11/12/2010 02:40 PM, Jorgen Loland wrote: > #At file:///export/home/jl208045/mysql/mysql-5.5-bugteam-54812/ based on revid:vvaintroub@stripped > > 3121 Jorgen Loland 2010-11-12 > Bug#54812: assert in Diagnostics_area::set_ok_status > during EXPLAIN Approved with minor cosmetic comment below. > === modified file 'sql/sql_update.cc' > --- a/sql/sql_update.cc 2010-10-07 10:01:51 +0000 > +++ b/sql/sql_update.cc 2010-11-12 13:40:43 +0000 > @@ -2064,7 +2064,9 @@ bool multi_update::send_eof() > Does updates for the last n - 1 tables, returns 0 if ok; > error takes into account killed status gained in do_updates() > */ > - int local_error = (table_count) ? do_updates() : 0; > + int local_error= thd->is_error(); There's some extra whitespace at the end of this line that should be removed. --- Jon Olav