mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
Moved the DBUG_ASSERT from bug 28983 to
a place where it would not obstruct correct multithreading.
This commit is contained in:
parent
e53a484ec9
commit
b6bb988d12
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue