From e69c90e5d59027695f158751ed7922d2389d2b5b Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 14 Sep 2011 07:10:13 +0930 Subject: tdb2: enforce TDB_CONVERT If the caller actually specifies TDB_CONVERT, fail if the TDB does not need conversion. It's unusual for the user to specify TDB_CONVERT (it's auto-detected) but better to be strict. (Imported from CCAN commit 3e3ee8b0c1e77340ab9e8678c2d23646d8cdb627) Signed-off-by: Rusty Russell --- lib/tdb2/test/logging.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/tdb2/test/logging.h') diff --git a/lib/tdb2/test/logging.h b/lib/tdb2/test/logging.h index d172f867fd..0fd59ba6bb 100644 --- a/lib/tdb2/test/logging.h +++ b/lib/tdb2/test/logging.h @@ -8,6 +8,7 @@ extern bool suppress_logging; extern const char *log_prefix; extern unsigned tap_log_messages; extern union tdb_attribute tap_log_attr; +extern char *log_last; void tap_log_fn(struct tdb_context *tdb, enum tdb_log_level level, -- cgit