Commit 6e71829e authored by unknown's avatar unknown

Fix for BUG#34936 "Table can stay locked if writing of LOGREC_FILE_ID fails"


storage/maria/ma_loghandler.c:
  forgotten unlock
parent b01c9528
...@@ -7475,7 +7475,10 @@ int translog_assign_id_to_share(MARIA_HA *tbl_info, TRN *trn) ...@@ -7475,7 +7475,10 @@ int translog_assign_id_to_share(MARIA_HA *tbl_info, TRN *trn)
1].length), 1].length),
sizeof(log_array)/sizeof(log_array[0]), sizeof(log_array)/sizeof(log_array[0]),
log_array, log_data, NULL))) log_array, log_data, NULL)))
{
pthread_mutex_unlock(&share->intern_lock);
return 1; return 1;
}
} }
pthread_mutex_unlock(&share->intern_lock); pthread_mutex_unlock(&share->intern_lock);
return 0; return 0;
......
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