summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2018-08-31 22:41:02 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2018-08-31 22:41:02 +0100
commit6b1bf31e4494f50bab891890aefcc9a9161eba01 (patch)
tree948bb5090bb14b7271646338ddb66c358cc795ce /src
parent251b9eb4698f569864c35127ddb7c309b92ccecb (diff)
DEBUG: db functions
Diffstat (limited to 'src')
-rw-r--r--src/src/dbfn.c4
1 files changed, 4 insertions, 0 deletions
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);