Commit c3a14517 authored by unknown's avatar unknown

MWL#116: Efficient group commit: Fix memory leak.

parent 704e604e
...@@ -166,6 +166,7 @@ class binlog_trx_data { ...@@ -166,6 +166,7 @@ class binlog_trx_data {
~binlog_trx_data() ~binlog_trx_data()
{ {
DBUG_ASSERT(pending() == NULL); DBUG_ASSERT(pending() == NULL);
(void) pthread_mutex_destroy(&LOCK_group_commit);
close_cached_file(&trans_log); close_cached_file(&trans_log);
} }
......
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