List:Commits« Previous MessageNext Message »
From:Sergei Golubchik Date:September 30 2010 7:37am
Subject:Re: bzr commit into mysql-next-mr-bugfixing branch
(tor.didriksen:3305) Bug#52002
View as plain text  
Hi, Tor!

On Sep 30, Tor Didriksen wrote:
> On 2010-09-30 08:24, Sergei Golubchik wrote:
>>>      
>> In particular - I'm not sure it's  the case now, but it was earlier -
>> MYSQL_LOG_BIN closes binlogs in the destructor and marks them as
>> "properly closed". Thus there is no XA crash recovery on startup,
>> because, according to binlog, mysqld was shut down gracefully.
>
> Static objects are evil, especially in multi-threaded programs.
>
> http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Static_and_Global_Variables

I agree. I was just stating the fact that MySQL has them, not suggesting
that they're good

>> In that sense kill -9 is the most close to power failure.
>>    
> Which is exactly what I'm doing :-)

I know :)

Regards,
Sergei
Thread
bzr commit into mysql-next-mr-bugfixing branch (tor.didriksen:3305) Bug#52002Tor Didriksen29 Sep
  • RE: bzr commit into mysql-next-mr-bugfixing branch (tor.didriksen:3305) Bug#52002Vladislav Vaintroub29 Sep
    • Re: bzr commit into mysql-next-mr-bugfixing branch (tor.didriksen:3305)Bug#52002Tor Didriksen30 Sep
      • Re: bzr commit into mysql-next-mr-bugfixing branch(tor.didriksen:3305) Bug#52002Sergei Golubchik30 Sep
        • Re: bzr commit into mysql-next-mr-bugfixing branch (tor.didriksen:3305)Bug#52002Tor Didriksen30 Sep
          • Re: bzr commit into mysql-next-mr-bugfixing branch(tor.didriksen:3305) Bug#52002Sergei Golubchik30 Sep