Fixed bug that another thread used handler->s->id before it was recorded in the log.
This fixed an assert in recovert in mi_recovery.c "cmp_translog_addr(rec->lsn, checkpoint_start) < 0" storage/maria/ma_loghandler.c: Don't assign share->id until it's recorded in the log. Had to do an extra test in translog_write_record() to not call translog_assign_id_to_share() for LOGREC_FILE_ID (which sets share->id) storage/maria/ma_recovery.c: Print comment in log for checkpoints
Showing
Please register or sign in to comment