Commit cede2d8d authored by Mikael Ronstrom's avatar Mikael Ronstrom

Fixed wrong order of call to thd_wait service

parent 0fc7078e
......@@ -56,10 +56,10 @@ int my_sync(File fd, myf my_flags)
DBUG_ENTER("my_sync");
DBUG_PRINT("my",("Fd: %d my_flags: %d", fd, my_flags));
if (before_sync_wait)
(*before_sync_wait)();
do
{
if (before_sync_wait)
(*before_sync_wait)();
#if defined(F_FULLFSYNC)
/*
In Mac OS X >= 10.3 this call is safer than fsync() (it forces the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment