[dovecot/core] 27688e: cassandra: Fix using bigint types with unprepared ...

GitHub noreply at github.com
Tue Oct 17 10:00:10 EEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 27688ec19adf1af07f9a996620caba05bb80acfb
      https://github.com/dovecot/core/commit/27688ec19adf1af07f9a996620caba05bb80acfb
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-10-17 (Tue, 17 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: b6c9cc2bf7517adcc0b9f98696c61bde321900f6
      https://github.com/dovecot/core/commit/b6c9cc2bf7517adcc0b9f98696c61bde321900f6
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-10-17 (Tue, 17 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: 344c4411571e25dcf2f974c07c116a6160c77338
      https://github.com/dovecot/core/commit/344c4411571e25dcf2f974c07c116a6160c77338
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-10-17 (Tue, 17 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/42f8ce7c269d...344c4411571e


More information about the dovecot-cvs mailing list