From: Jeremy Harris Date: Fri, 31 Aug 2018 21:41:02 +0000 (+0100) Subject: DEBUG: db functions X-Git-Tag: exim-4.92-RC1~120 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=6b1bf31e4494f50bab891890aefcc9a9161eba01;p=exim.git DEBUG: db functions --- diff --git a/src/src/dbfn.c b/src/src/dbfn.c index ec87eaeeb..25c1a3fba 100644 --- a/src/src/dbfn.c +++ b/src/src/dbfn.c @@ -382,6 +382,8 @@ dbfn_delete(open_db *dbblock, const uschar *key) int klen = Ustrlen(key) + 1; uschar * key_copy = store_get(klen); +DEBUG(D_hints_lookup) debug_printf_indent("dbfn_delete: key=%s\n", key); + memcpy(key_copy, key, klen); EXIM_DATUM key_datum; EXIM_DATUM_INIT(key_datum); /* Some DBM libraries require clearing */ @@ -415,6 +417,8 @@ EXIM_DATUM key_datum, value_datum; uschar *yield; value_datum = value_datum; /* dummy; not all db libraries use this */ +DEBUG(D_hints_lookup) debug_printf_indent("dbfn_scan\n"); + /* Some dbm require an initialization */ if (start) EXIM_DBCREATE_CURSOR(dbblock->dbptr, cursor);