Mercurial > dovecot > core-2.2
changeset 21942:66a1a4338260
lib-dict-sql: Try merge sets to single update
This attempts to put mergeable keys into same
update instead of using multiple SQL statements.
author | Aki Tuomi <aki.tuomi@dovecot.fi> |
---|---|
date | Wed, 11 Jan 2017 19:43:30 +0200 |
parents | bb81856fe3c1 |
children | 8e4a000eaf35 |
files | src/lib-dict/dict-sql.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-dict/dict-sql.c Tue Apr 11 10:11:00 2017 +0300 +++ b/src/lib-dict/dict-sql.c Wed Jan 11 19:43:30 2017 +0200 @@ -1295,7 +1295,7 @@ t_array_init(&build.fields, 1); build.extra_values = &values; build.key1 = key[0]; - build.inc = FALSE; + build.inc = TRUE; field = array_append_space(&build.fields); field->map = ctx->prev_set_map;