List:Commits« Previous MessageNext Message »
From:Konstantin Osipov Date:October 11 2010 7:47pm
Subject:Re: bzr commit into mysql-5.5-bugteam branch (alexander.nozdrin:3096)
Bug#55843
View as plain text  
* Alexander Nozdrin <alexander.nozdrin@stripped> [10/10/07 12:48]:
>  3096 Alexander Nozdrin	2010-10-07
>       A patch for Bug#55843 (Handled condition appears as not handled).

I would try to change the handler search algorithm to not attempt
to find handlers in outer scopes (find_handler() function). 

Trying to look for a handler in all scopes is not necessary any more:
an error would be copied over to the caller's diagnostics area and 
the handler search can be performed in the caller, after the
copying is done. The execution got to be "unwound" to the
handler's scope in case of error anyway.

After that, this patch can be changed to remove the condition
from the list as soon as a handler is found for it.

Thank you for looking into this,

-- 
kostja
Thread
bzr commit into mysql-5.5-bugteam branch (alexander.nozdrin:3096) Bug#55843Alexander Nozdrin7 Oct
  • Re: bzr commit into mysql-5.5-bugteam branch (alexander.nozdrin:3096)Bug#55843Konstantin Osipov11 Oct