We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 154c203 commit 4346627Copy full SHA for 4346627
db/sqllogfill.c
@@ -581,7 +581,8 @@ static void *apply_thread(void *arg)
581
582
Pthread_mutex_lock(&sql_apply_queue_lock);
583
if (apply_gen == apply_queue_gen) {
584
- assert(tail == apply_queue_tail);
+ if(tail != apply_queue_tail)
585
+ abort();
586
apply_queue_tail = (apply_queue_tail + 1) % gbl_sql_logfill_lookahead_records;
587
}
588
Pthread_cond_signal(&sql_apply_queue_cond);
0 commit comments