Skip to content

Commit 4346627

Browse files
committed
commi
1 parent 154c203 commit 4346627

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

db/sqllogfill.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,8 @@ static void *apply_thread(void *arg)
581581

582582
Pthread_mutex_lock(&sql_apply_queue_lock);
583583
if (apply_gen == apply_queue_gen) {
584-
assert(tail == apply_queue_tail);
584+
if(tail != apply_queue_tail)
585+
abort();
585586
apply_queue_tail = (apply_queue_tail + 1) % gbl_sql_logfill_lookahead_records;
586587
}
587588
Pthread_cond_signal(&sql_apply_queue_cond);

0 commit comments

Comments
 (0)