diff src/doveadm/dsync/dsync-ibc-stream.c @ 17845:d2e1b3f6d13b

dsync: Added DSYNC_BRAIN_FLAG_NO_MAIL_PREFETCH to avoid opening mails unnecessarily.
author Timo Sirainen <tss@iki.fi>
date Mon, 29 Sep 2014 14:16:06 +0300
parents 647162da8423
children 3009a1a6f6d5
line wrap: on
line diff
--- a/src/doveadm/dsync/dsync-ibc-stream.c	Fri Sep 26 00:32:03 2014 +0300
+++ b/src/doveadm/dsync/dsync-ibc-stream.c	Mon Sep 29 14:16:06 2014 +0300
@@ -1681,6 +1681,7 @@
 	struct dsync_serializer_encoder *encoder;
 	string_t *str = t_str_new(128);
 
+	i_assert(!mail->minimal_fields);
 	i_assert(ibc->value_output == NULL);
 
 	str_append_c(str, items[ITEM_MAIL].chr);