Skip to content

Commit

Permalink
dict-sql: Do not increment on set
Browse files Browse the repository at this point in the history
When merging sets do not use increment mode in builder.
  • Loading branch information
cmouse authored and sirainen committed Jan 25, 2017
1 parent e90fb60 commit 29e8c5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib-dict/dict-sql.c
Expand Up @@ -1293,7 +1293,7 @@ static void sql_dict_set(struct dict_transaction_context *_ctx,
t_array_init(&build.fields, 1);
build.extra_values = &values;
build.key1 = key[0];
build.inc = TRUE;
build.inc = FALSE;

field = array_append_space(&build.fields);
field->map = ctx->prev_set_map;
Expand Down

0 comments on commit 29e8c5a

Please sign in to comment.