tdb: allow reads after prepare commit
authorAndrew Tridgell <tridge@samba.org>
Tue, 15 Sep 2009 21:04:22 +0000 (14:04 -0700)
committerAndrew Tridgell <tridge@samba.org>
Tue, 15 Sep 2009 21:04:22 +0000 (14:04 -0700)
commit46c99ec2a3781d53138245182345c6c2ddd9a258
tree6f799fa2989ef02851e9034c07c4dcbb68a8e183
parente44c4141fdfa07bb3bd09f28e5f093d27f170dc8
tdb: allow reads after prepare commit

We previously only allowed a commit to happen after a prepare
commit. It is in fact safe to allow reads between a prepare and a
commit, and the s4 replication code can make use of that, so allow it.
lib/tdb/common/transaction.c