List:Commits« Previous MessageNext Message »
From:Daogang Qu Date:November 19 2010 7:28am
Subject:Re: Is the "rename" operation atomic for all platforms and possible
filesystems?
View as plain text  
Hi Daniel,
Thanks for the reply!

Best Regards,

Daogang

2010-11-18 15:05, Daniel Fischer wrote:
> Hi,
>
>    
>> Is the my_rename(...) function provided by mysql source code atomic
>> for all platforms and possible filesystems?
>>      
> No. On some UNIXes, rename() isn't atomic, e.g. Mac OS X. On OSes that
> don't have rename(), the implementation in my_rename() isn't atomic
> because it translates to at least two syscalls.
>    
>
> Daniel
>
>    

Thread
Is the "rename" operation atomic for all platforms and possiblefilesystems?Daogang Qu18 Nov
  • RE: Is the "rename" operation atomic for all platforms and possible filesystems?Daniel Fischer18 Nov
    • Re: Is the "rename" operation atomic for all platforms and possiblefilesystems?Daogang Qu19 Nov