MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Guilhem Bichot Date:February 29 2008 11:07am
Subject:bk commit into maria tree (guilhem:1.2618) BUG#34936
View as plain text  
Below is the list of changes that have just been committed into a local
maria repository of guilhem.  When guilhem does a push these changes
will be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2008-02-29 12:07:31+01:00, guilhem@stripped +1 -0
  Fix for BUG#34936 "Table can stay locked if writing of LOGREC_FILE_ID fails"

  storage/maria/ma_loghandler.c@stripped, 2008-02-29 12:07:28+01:00, guilhem@stripped +3 -0
    forgot to unlock mutex

diff -Nrup a/storage/maria/ma_loghandler.c b/storage/maria/ma_loghandler.c
--- a/storage/maria/ma_loghandler.c	2008-02-25 19:43:54 +01:00
+++ b/storage/maria/ma_loghandler.c	2008-02-29 12:07:28 +01:00
@@ -7475,7 +7475,10 @@ int translog_assign_id_to_share(MARIA_HA
                                                   1].length),
                                        sizeof(log_array)/sizeof(log_array[0]),
                                        log_array, log_data, NULL)))
+    {
+      pthread_mutex_unlock(&share->intern_lock);
       return 1;
+    }
   }
   pthread_mutex_unlock(&share->intern_lock);
   return 0;
Thread
bk commit into maria tree (guilhem:1.2618) BUG#34936Guilhem Bichot29 Feb