Import 470750fa2e3cf987f10de48451b1ee13aab03907 from ctdb:
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 2 Feb 2010 01:33:00 +0000 (12:03 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 2 Feb 2010 01:33:00 +0000 (12:03 +1030)
commite55e729c188bc483d1986145014f538389e9d368
treed3fd6e79ce95ed15a00f362f9516561b3a11eee0
parent03d4aa56b8bd381db449b36befa6928594cea994
Import 470750fa2e3cf987f10de48451b1ee13aab03907 from ctdb:
    tdb: detect tdb store of identical records and skip

    This can help with ldb where we rewrite the index records
    (cherry picked from samba commit d4c0e8fdf063f88032c32de7ece60d502b322089)

Signed-off-by: Stefan Metzmacher <metze@samba.org>
ccan/tdb/tdb.c