List:Commits« Previous MessageNext Message »
From:Sinisa Milivojevic Date:July 11 2008 2:46pm
Subject:Re: bzr commit into mysql-5.1-rpl branch (hezx:2611) Bug#35542,
Bug#31665
View as plain text  
He Zhenxing writes:
> 
> On most modern platforms, uint and ulong are the same size, both are
> 32bit or 64bit, the operation on these types are usually atomic. The
> 'sync_binlog_period' has been existed for a long time without problem is
> a prove. But to be paranoid, I will use the LOCK_global_system_variables
> to guard the access of these variables. 
> 

He,

uint's and ulong's are the same size ONLY, ONLY, ONLY on 32-bit
Unix and 64-bit Windows. That leaves a HUGE number of customers on
64-bit Unix where those differ.

This existed for a long time without a problem, because it was not
used too much. A patch that you have made will be used much more, as
slaves have more problems in this area then masters.

I don't think there is need for mutex. Please, make all these simply
uint !!!! That is fantastic solution.

-- 

Sincerely,

--
   Mr. Sinisa Milivojevic
   MySQL Support Manager, Advanced Issues
   Sun Microsystems, Inc.
   Larnaca, Republic of Cyprus (GMT +2)
   sinisa@stripped


Thread
bzr commit into mysql-5.1-rpl branch (hezx:2611) Bug#35542, Bug#31665He Zhenxing7 Jul
  • Re: bzr commit into mysql-5.1-rpl branch (hezx:2611) Bug#35542, Bug#31665Mats Kindahl7 Jul
    • Re: bzr commit into mysql-5.1-rpl branch (hezx:2611) Bug#35542,Bug#31665He Zhenxing8 Jul
      • Re: bzr commit into mysql-5.1-rpl branch (hezx:2611) Bug#35542, Bug#31665Mats Kindahl8 Jul
        • Re: bzr commit into mysql-5.1-rpl branch (hezx:2611)Bug#35542, Bug#31665He Zhenxing9 Jul
          • Re: bzr commit into mysql-5.1-rpl branch (hezx:2611) Bug#35542,Bug#31665Sinisa Milivojevic9 Jul
            • Re: bzr commit into mysql-5.1-rpl branch (hezx:2611) Bug#35542,Bug#31665Davi Arnaut9 Jul
            • Re: bzr commit into mysql-5.1-rpl branch (hezx:2611) Bug#35542,Bug#31665He Zhenxing10 Jul
              • Re: bzr commit into mysql-5.1-rpl branch (hezx:2611) Bug#35542,Bug#31665Sinisa Milivojevic11 Jul
                • Re: bzr commit into mysql-5.1-rpl branch (hezx:2611) Bug#35542,Bug#31665He Zhenxing14 Jul
          • Re: bzr commit into mysql-5.1-rpl branch (hezx:2611) Bug#35542, Bug#31665Mats Kindahl9 Jul