Searched refs:new_uid_map (Results 1 - 1 of 1) sorted by relevance

/dovecot/src/lib-index/
H A Dmail-index-transaction-sort-appends.c128 struct uid_map *new_uid_map; local
147 new_uid_map = i_new(struct uid_map, count);
150 new_uid_map[i].idx = i;
151 new_uid_map[i].uid = recs[i].uid;
155 qsort(new_uid_map, count, sizeof(*new_uid_map), uid_map_cmp);
159 sorted_recs[0] = recs[new_uid_map[0].idx];
161 sorted_recs[i] = recs[new_uid_map[i].idx];
171 old_to_newseq_map[new_uid_map[i].idx] = i + t->first_new_seq;
172 i_free(new_uid_map);
[all...]

Completed in 55 milliseconds