1 --- mysql-5.1.43/sql/log.cc~ 2010-01-15 19:17:28.000000000 +0200
2 +++ mysql-5.1.43/sql/log.cc 2010-02-01 14:53:55.026725423 +0200
3 @@ -5020,11 +5042,11 @@
7 + VOID(pthread_mutex_lock(&LOCK_error_log));
9 char err_renamed[FN_REFLEN], *end;
10 end= strmake(err_renamed,log_error_file,FN_REFLEN-5);
12 - VOID(pthread_mutex_lock(&LOCK_error_log));
14 char err_temp[FN_REFLEN+5];
16 On Windows is necessary a temporary file for to rename
21 - my_rename(log_error_file,err_renamed,MYF(0));
22 if (freopen(log_error_file,"a+",stdout))