Commit b9097abf authored by unknown's avatar unknown

Moved the DBUG_ASSERT from bug 28983 to

a place where it would not obstruct
correct multithreading.

parent d86f0a13
......@@ -1833,6 +1833,7 @@ bool MYSQL_LOG::write(THD *thd, IO_CACHE *cache, Log_event *commit_event)
/* NULL would represent nothing to replicate after ROLLBACK */
DBUG_ASSERT(commit_event != NULL);
DBUG_ASSERT(is_open());
if (likely(is_open())) // Should always be true
{
uint length, group, carry, hdr_offs, val;
......
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