changeset 22324:8be59fab1d63

doveadm dump: Include "last temp file scan" in index header dump
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Tue, 11 Jul 2017 15:32:33 +0300
parents a0258a81ec84
children e01bc3015b2f
files src/doveadm/doveadm-dump-index.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/doveadm/doveadm-dump-index.c	Tue Jul 11 14:31:10 2017 +0300
+++ b/src/doveadm/doveadm-dump-index.c	Tue Jul 11 15:32:33 2017 +0300
@@ -150,6 +150,9 @@
 		printf("log file tail offset ..... = %u\n", hdr->log_file_tail_offset);
 		printf("log file head offset ..... = %u\n", hdr->log_file_head_offset);
 	}
+	if (hdr->minor_version >= 3) {
+		printf("last temp file scan ...... = %u (%s)\n", hdr->last_temp_file_scan, unixdate2str(hdr->last_temp_file_scan));
+	}
 	printf("day stamp ................ = %u (%s)\n", hdr->day_stamp, unixdate2str(hdr->day_stamp));
 	for (i = 0; i < N_ELEMENTS(hdr->day_first_uid); i++)
 		printf("day first uid[%u] ......... = %u\n", i, hdr->day_first_uid[i]);