]> git.pld-linux.org Git - packages/mysql.git/commitdiff
- reviewed for 5.1.43
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 1 Feb 2010 12:58:59 +0000 (12:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mysql-errorlog-no-rename.patch -> 1.4

mysql-errorlog-no-rename.patch

index 93a64ea9193647c2ce4ed94644dec3c913b02bbd..2b61b8ac4cb188a4eb22f8ad6437da176bb79701 100644 (file)
@@ -1,19 +1,20 @@
---- mysql-5.1.28-rc/sql/log.cc~        2008-08-28 18:40:55.000000000 +0300
-+++ mysql-5.1.28-rc/sql/log.cc 2008-10-27 15:06:13.528944807 +0200
-@@ -5021,10 +5021,10 @@
+--- mysql-5.1.43/sql/log.cc~   2010-01-15 19:17:28.000000000 +0200
++++ mysql-5.1.43/sql/log.cc    2010-02-01 14:53:55.026725423 +0200
+@@ -5020,11 +5042,11 @@
+   bool result=0;
    if (opt_error_log)
    {
++    VOID(pthread_mutex_lock(&LOCK_error_log));
++#ifdef __WIN__
      char err_renamed[FN_REFLEN], *end;
--    end= strmake(err_renamed,log_error_file,FN_REFLEN-5);
--    strmov(end, "-old");
-     VOID(pthread_mutex_lock(&LOCK_error_log));
- #ifdef __WIN__
-+    end= strmake(err_renamed,log_error_file,FN_REFLEN-5);
-+    strmov(end, "-old");
+     end= strmake(err_renamed,log_error_file,FN_REFLEN-5);
+     strmov(end, "-old");
+-    VOID(pthread_mutex_lock(&LOCK_error_log));
+-#ifdef __WIN__
      char err_temp[FN_REFLEN+5];
      /*
       On Windows is necessary a temporary file for to rename
-@@ -5060,7 +5059,6 @@
+@@ -5060,7 +5082,6 @@
      else
       result= 1;
  #else
@@ -21,4 +22,3 @@
     if (freopen(log_error_file,"a+",stdout))
     {
       FILE *reopen;
-
This page took 0.188334 seconds and 4 git commands to generate.