mirror of
https://github.com/MariaDB/server.git
synced 2026-05-12 01:50:11 +02:00
cleanups
storage/maria/ma_commit.c: theoretically unneeded, and could cause problems (when trnman_commit_trn() ends the TRN may have been recycled and be in use by another thread already, we cannot touch it). storage/maria/maria_def.h: just include the existing file
This commit is contained in:
parent
f7b766c029
commit
4201d27849
2 changed files with 1 additions and 2 deletions
|
|
@ -67,7 +67,6 @@ int ma_commit(TRN *trn)
|
|||
log_array, NULL) ||
|
||||
translog_flush(commit_lsn) ||
|
||||
trnman_commit_trn(trn));
|
||||
trn->undo_lsn= 0;
|
||||
/*
|
||||
Note: if trnman_commit_trn() fails above, we have already
|
||||
written the COMMIT record, so Checkpoint and Recovery will see the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue