summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--storage/innobase/log/log0sync.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/storage/innobase/log/log0sync.cc b/storage/innobase/log/log0sync.cc
index 18fbbed1b2d..30433007639 100644
--- a/storage/innobase/log/log0sync.cc
+++ b/storage/innobase/log/log0sync.cc
@@ -355,9 +355,8 @@ void group_commit_lock::release(value_type num)
e->m_group_commit_leader= true;
wakeup_list = e;
}
- else
+ else if (wakeup_list)
{
- ut_a(wakeup_list);
wakeup_list->m_group_commit_leader=true;
}
}