r23938: Add a debug message.
authorMichael Adam <obnox@samba.org>
Tue, 17 Jul 2007 21:55:31 +0000 (21:55 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:28:47 +0000 (12:28 -0500)
source/lib/util_tdb.c

index 2fa915131bf9034626c656719d8e5b683502ca8c..cd8eb4c8c13602a00be0fc2626fac50baadd308b 100644 (file)
@@ -1238,6 +1238,8 @@ static int tdb_backup(TALLOC_CTX *ctx, const char *src_path,
                goto done;
        }
 
+       DEBUG(10, ("tdb_backup: successfully copied %d entries\n", count1));
+
        /* make sure the new tdb has reached stable storage
         * then rename it to its destination */
        fsync(tdb_fd(dst_tdb));