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
commit4201d2784945da87c4274eae1a5ea1b79f34ab12 (patch)
tree2697c8efd85328bab98df8926e7e12048c4d1451 /storage/maria/ma_commit.c
parentf7b766c029e087900792fa4abd60330f681f20ff (diff)
downloadmariadb-git-4201d2784945da87c4274eae1a5ea1b79f34ab12.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