[dovecot/core] 00d060: cassandra: Fix using bigint types with unprepared ...

GitHub noreply at github.com
Wed Oct 18 12:00:13 EEST 2017


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: 00d060eb9d02d83b9e69e24982686bf31e64012b
      https://github.com/dovecot/core/commit/00d060eb9d02d83b9e69e24982686bf31e64012b
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-10-18 (Wed, 18 Oct 2017)

  Changed paths:
    M src/lib-sql/driver-cassandra.c

  Log Message:
  -----------
  cassandra: Fix using bigint types with unprepared statements

This reverts the code to not using the statements with binding at all.
Alternative fix would be to start using explicit int32 or int64 parameter
types, but that breaks backwards compatibility a bit.


  Commit: 725c529cffdd0036494ffc5bdd8c8551e89e018d
      https://github.com/dovecot/core/commit/725c529cffdd0036494ffc5bdd8c8551e89e018d
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-10-18 (Wed, 18 Oct 2017)

  Changed paths:
    M src/lib-sql/driver-cassandra.c

  Log Message:
  -----------
  cassandra: Include "prepared" when logging about prepared statement queries

Mainly useful for debugging/testing.


  Commit: 0a8969cfe80819582a9042aba485157bd9fcf65c
      https://github.com/dovecot/core/commit/0a8969cfe80819582a9042aba485157bd9fcf65c
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-10-18 (Wed, 18 Oct 2017)

  Changed paths:
    M src/lib-sql/driver-cassandra.c

  Log Message:
  -----------
  cassandra: Support "timestamp" type fields properly

Fixes setting them with prepared statements. Reading them never worked
earlier.


Compare: https://github.com/dovecot/core/compare/1999a5e7ff05...0a8969cfe808


More information about the dovecot-cvs mailing list