summaryrefslogtreecommitdiff
path: root/storage/maria/ma_commit.c
diff options
context:
space:
mode:
authorunknown <guilhem@gbichot4.local>2007-08-29 17:28:44 +0200
committerunknown <guilhem@gbichot4.local>2007-08-29 17:28:44 +0200
commit6302357dabfbf419649c2673e6da8a7f04cb2585 (patch)
tree2697c8efd85328bab98df8926e7e12048c4d1451 /storage/maria/ma_commit.c
parentd78c7f0d929b7ad187680c63b9255b2f36993021 (diff)
downloadmariadb-git-6302357dabfbf419649c2673e6da8a7f04cb2585.tar.gz
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
Diffstat (limited to 'storage/maria/ma_commit.c')
-rw-r--r--storage/maria/ma_commit.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/storage/maria/ma_commit.c b/storage/maria/ma_commit.c
index c8c37ae67db..36ea2f6e6e4 100644
--- a/storage/maria/ma_commit.c
+++ b/storage/maria/ma_commit.c
@@ -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