From e518c68fc5446304611d096ac2e3cab744734fc3 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 17 Feb 2007 21:46:13 +0000 Subject: [PATCH] r21410: We have to increment the sequence number also when tdb_update_hash() succeeded. Found while testing the brlock seqnum patch. Tridge, please check! Volker --- source/lib/tdb/common/tdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/lib/tdb/common/tdb.c b/source/lib/tdb/common/tdb.c index 5810f46d56b..4a1a3b9c6fa 100644 --- a/source/lib/tdb/common/tdb.c +++ b/source/lib/tdb/common/tdb.c @@ -328,9 +328,9 @@ int tdb_store(struct tdb_context *tdb, TDB_DATA key, TDB_DATA dbuf, int flag) goto fail; } + out: tdb_increment_seqnum(tdb); - out: SAFE_FREE(p); tdb_unlock(tdb, BUCKET(hash), F_WRLCK); return ret; -- 2.34.1