Skip to content

Commit dcae36a

Browse files
committed
fix build error in release mode with gcc10
1 parent 11bc573 commit dcae36a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/rpl_applier_reader.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class Rpl_applier_reader::Stage_controller {
7070
}
7171

7272
void enter_stage() {
73-
DBUG_ASSERT(m_state = LOCKED);
73+
DBUG_ASSERT(m_state == LOCKED);
7474
m_thd->ENTER_COND(m_cond, m_mutex, &m_new_stage, &m_old_stage);
7575
m_state = IN_STAGE;
7676
}

0 commit comments

Comments
 (0)