[dovecot/core] 858ce9: dict-sql: Fix previous "merge sets" to flush at co...

GitHub noreply at github.com
Sat Jan 14 21:00:10 UTC 2017


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

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

  Log Message:
  -----------
  dict-sql: Fix previous "merge sets" to flush at commit

The last dict_set() within transaction was being ignored.


  Commit: 415f3f2806869dbfb46d71cae4005e29af9ffe1e
      https://github.com/dovecot/core/commit/415f3f2806869dbfb46d71cae4005e29af9ffe1e
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-01-14 (Sat, 14 Jan 2017)

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

  Log Message:
  -----------
  dict-sql: Remove unnecessary "affected rows" tracking from dict_set()

This was useful for dict_atomic_inc(), but not for dict_set().

Fixes assert-crash with Cassandra:
Panic: file driver-cassandra.c: line 1350 (driver_cassandra_update): assertion failed: (affected_rows == NULL)


Compare: https://github.com/dovecot/core/compare/22ed97ce474e...415f3f280686


More information about the dovecot-cvs mailing list