summaryrefslogtreecommitdiff
path: root/source3/lib/idmap_cache.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-01-13 23:53:54 +0100
committerMichael Adam <obnox@samba.org>2010-02-12 23:12:12 +0100
commitc311697aded87ce624d40cbf14e05d6e6377c257 (patch)
treec664548738f0a7f1eb7a7e5e6b288ff3410000fa /source3/lib/idmap_cache.c
parent1d594bd734a2f7146ed52872456a16c5e41816f1 (diff)
downloadsamba-c311697aded87ce624d40cbf14e05d6e6377c257.tar.gz
samba-c311697aded87ce624d40cbf14e05d6e6377c257.tar.bz2
samba-c311697aded87ce624d40cbf14e05d6e6377c257.zip
s3:dbwrap_ctdb: exit early when nothing has been written in transaction_commit.
This skips update of the __db_sequence_number__ record when nothing else has been written. There are transactions that are just openend and then nothing is written until transaction_commit is called. This is for instance the case with registry initialization routines: They start a transaction and only write somthing when the registry has not been initialized yet. So this change will skip many db_seqnum bumps and TRANS3_COMMIT roundtrips. Michael
Diffstat (limited to 'source3/lib/idmap_cache.c')
0 files changed, 0 insertions, 0 deletions