[dovecot/core] e4f396: dict-sql: Error handling fix & code cleanup

GitHub noreply at github.com
Wed Jan 25 16:00:16 UTC 2017


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: e4f3960d33cbaa60a7d8df280eee27eee8133f80
      https://github.com/dovecot/core/commit/e4f3960d33cbaa60a7d8df280eee27eee8133f80
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-01-25 (Wed, 25 Jan 2017)

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

  Log Message:
  -----------
  dict-sql: Error handling fix & code cleanup

Only the first sql_dict_iterate_next_query() error was handled correctly.


  Commit: e90fb60468b89aab3c820e1932f143664caad265
      https://github.com/dovecot/core/commit/e90fb60468b89aab3c820e1932f143664caad265
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-01-25 (Wed, 25 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: 29e8c5a8e26a9ed398c37d4a6e1488d4630f5627
      https://github.com/dovecot/core/commit/29e8c5a8e26a9ed398c37d4a6e1488d4630f5627
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-01-25 (Wed, 25 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: 8839eaa55f1f51b4419b5a8ccfc8b3d0121c57b8
      https://github.com/dovecot/core/commit/8839eaa55f1f51b4419b5a8ccfc8b3d0121c57b8
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-01-25 (Wed, 25 Jan 2017)

  Changed paths:
    M src/director/doveadm-connection.c

  Log Message:
  -----------
  director: "doveadm director move" to same host now refreshes user's timeout

This allows keeping user constantly in the same backend by just periodically
moving the user there.


  Commit: 425d868eed3efe59035db0656c0153a887e08ee2
      https://github.com/dovecot/core/commit/425d868eed3efe59035db0656c0153a887e08ee2
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-01-25 (Wed, 25 Jan 2017)

  Changed paths:
    M src/plugins/fts/fts-search-args.c

  Log Message:
  -----------
  fts: Fix search query generation when tokens are filtered out.

For example with English stopwords when searching "foo and bar" it should
be equilevant to "foo bar", since "and" is filtered out.


Compare: https://github.com/dovecot/core/compare/2a85b1ab123e...425d868eed3e


More information about the dovecot-cvs mailing list