Commit b6bb988d authored by gkodinov/kgeorge@magare.gmz's avatar gkodinov/kgeorge@magare.gmz
Browse files

Moved the DBUG_ASSERT from bug 28983 to

a place where it would not obstruct
correct multithreading.
parent e53a484e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;