[dovecot/core] 5a2960: dict-sql: Do not increment on set

GitHub noreply at github.com
Tue Jan 24 13:30:10 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 5a296094193232f05e123952d9faef1ec67c9308
      https://github.com/dovecot/core/commit/5a296094193232f05e123952d9faef1ec67c9308
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-01-24 (Tue, 24 Jan 2017)

  Changed paths:
    M src/lib-dict/dict-sql.c

  Log Message:
  -----------
  dict-sql: Do not increment on set

When merging sets do not use increment mode in builder.


  Commit: 4adf5d2a7cb114dc6abc0727e505f75b02999c85
      https://github.com/dovecot/core/commit/4adf5d2a7cb114dc6abc0727e505f75b02999c85
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-01-24 (Tue, 24 Jan 2017)

  Changed paths:
    M src/lib-dict/Makefile.am
    A src/lib-dict/dict-sql-private.h
    M src/lib-dict/dict-sql.c

  Log Message:
  -----------
  dict-sql: Move struct sql_dict to header

This allows dereferencing it on test programs


  Commit: be57188913fc4d70a53149fb71c351ddf06a34df
      https://github.com/dovecot/core/commit/be57188913fc4d70a53149fb71c351ddf06a34df
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-01-24 (Tue, 24 Jan 2017)

  Changed paths:
    M src/lib-dict/dict-sql.c

  Log Message:
  -----------
  dict-sql: Fix iterator to not fail

When iterating a prefix without exact key flag,
do not fail when no more maps are matched if at least
one map has already matched.

Fixes
Error: dict_iterate_deinit failed: sql dict iterate failed for ...: Invalid/unmapped path


  Commit: 7b1ce34143ee2c47bf4d2bff73f9cd6e763fadc0
      https://github.com/dovecot/core/commit/7b1ce34143ee2c47bf4d2bff73f9cd6e763fadc0
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-01-24 (Tue, 24 Jan 2017)

  Changed paths:
    M src/lib-sql/Makefile.am
    A src/lib-sql/driver-test.c
    A src/lib-sql/driver-test.h

  Log Message:
  -----------
  lib-sql: Add test driver

Mock SQL driver


  Commit: ef6a5a1f1a1e9c0e92347a1e4f4c9db9256723fa
      https://github.com/dovecot/core/commit/ef6a5a1f1a1e9c0e92347a1e4f4c9db9256723fa
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-01-24 (Tue, 24 Jan 2017)

  Changed paths:
    M src/lib-dict/Makefile.am
    A src/lib-dict/dict.conf
    A src/lib-dict/test-dict-sql.c

  Log Message:
  -----------
  lib-dict: Add unit tests


Compare: https://github.com/dovecot/core/compare/a35f0649343f...ef6a5a1f1a1e


More information about the dovecot-cvs mailing list