lib/tdb: don't overwrite TDBs with different version numbers.
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 28 Aug 2009 02:26:34 +0000 (11:56 +0930)
committerStefan Metzmacher <metze@samba.org>
Wed, 16 Dec 2009 07:03:43 +0000 (08:03 +0100)
commiteebd467961dad6cfb38c2a5d6e4b4dbf86e55e63
treed23e5f6ee5d44e81beee810b30a218c0ec83200c
parent6f8614de0f20d4c507aecd744d9c3f6545078127
lib/tdb: don't overwrite TDBs with different version numbers.

In future, this may happen, and we don't want to clobber them.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(cherry picked from samba commit 398d0c2929026fccb3409316720a4dcad225ab05)

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