List:Commits« Previous MessageNext Message »
From:Konstantin Osipov Date:June 1 2009 9:22am
Subject:Re: bzr commit into mysql-5.1-bugteam branch
(kristofer.pettersson:2874) Bug#44658
View as plain text  
* Kristofer Pettersson <Kristofer.Pettersson@stripped> [09/05/29 13:07]:
>> 2) Instead of removing the call to my_error(), use push_warning()
>> extend the scope of the pushed internal error handler here:
>
> I don't agree. There is no added customer value in adding this randomly  
> selected warning in this context. The user is only interested if the  
> implicit convenience operation of no significant importance was  
> successful or not. In fact, adding more information than necessary will  
> project the illusion that something important happened.
>
> I think less is more in this case.

OK. In that case, next time (since the patch is pushed already),
please add a comment in the code with that rationale. Next person
looking at that code might find it counter-intuitive (like I did),
and try to add push_warning().

-- 
Thread
bzr commit into mysql-5.1-bugteam branch (kristofer.pettersson:2874)Bug#44658Kristofer Pettersson28 May
  • Re: bzr commit into mysql-5.1-bugteam branch(kristofer.pettersson:2874) Bug#44658Davi Arnaut28 May
  • Re: bzr commit into mysql-5.1-bugteam branch(kristofer.pettersson:2874) Bug#44658Konstantin Osipov28 May
    • Re: bzr commit into mysql-5.1-bugteam branch(kristofer.pettersson:2874) Bug#44658Kristofer Pettersson29 May
      • Re: bzr commit into mysql-5.1-bugteam branch(kristofer.pettersson:2874) Bug#44658Konstantin Osipov1 Jun