diff src/lib-dict/dict-fs.c @ 18638:bb7d35fa9b43

lib-dict: Added DICT_ITERATE_FLAG_EXACT_KEY flag. This is mainly useful with SQL for iterating through a result that has multiple rows.
author Timo Sirainen <tss@iki.fi>
date Mon, 11 May 2015 19:12:45 +0300
parents 3009a1a6f6d5
children d40d7f24ffcf
line wrap: on
line diff
--- a/src/lib-dict/dict-fs.c	Mon May 11 16:01:13 2015 +0300
+++ b/src/lib-dict/dict-fs.c	Mon May 11 19:12:45 2015 +0300
@@ -125,6 +125,7 @@
 
 	/* these flags are not supported for now */
 	i_assert((flags & DICT_ITERATE_FLAG_RECURSE) == 0);
+	i_assert((flags & DICT_ITERATE_FLAG_EXACT_KEY) == 0);
 	i_assert((flags & (DICT_ITERATE_FLAG_SORT_BY_KEY |
 			   DICT_ITERATE_FLAG_SORT_BY_VALUE)) == 0);