diff options
author | Andrew Bartlett <abartlet@samba.org> | 2008-01-16 09:26:24 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2008-01-16 09:26:24 +1100 |
commit | e02e67ec36ecc5f5af2fcf3a7c6b0282173df8aa (patch) | |
tree | 0e615183dba95d8268b8e9bd553928581eca1ccb /source4/lib/tdb/common/traverse.c | |
parent | 9ff39862266f19c2a8e0243ec97ea8d7c463c3ef (diff) | |
parent | c92a1d0752abf42a76e16e7c19229841ac35dc81 (diff) | |
download | samba-e02e67ec36ecc5f5af2fcf3a7c6b0282173df8aa.tar.gz samba-e02e67ec36ecc5f5af2fcf3a7c6b0282173df8aa.tar.bz2 samba-e02e67ec36ecc5f5af2fcf3a7c6b0282173df8aa.zip |
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-abartlet
(This used to be commit c4aba5ad01f5095ad7a9d0d0f1e3c6afedbbd9b7)
Diffstat (limited to 'source4/lib/tdb/common/traverse.c')
-rw-r--r-- | source4/lib/tdb/common/traverse.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/lib/tdb/common/traverse.c b/source4/lib/tdb/common/traverse.c index 6fc576a55a..2bde1270a0 100644 --- a/source4/lib/tdb/common/traverse.c +++ b/source4/lib/tdb/common/traverse.c @@ -238,7 +238,9 @@ int tdb_traverse(struct tdb_context *tdb, return -1; } + tdb->traverse_write++; ret = tdb_traverse_internal(tdb, fn, private_data, &tl); + tdb->traverse_write--; tdb_transaction_unlock(tdb); @@ -330,3 +332,4 @@ TDB_DATA tdb_nextkey(struct tdb_context *tdb, TDB_DATA oldkey) TDB_LOG((tdb, TDB_DEBUG_FATAL, "tdb_nextkey: WARNING tdb_unlock failed!\n")); return key; } + |