dovecot-2.2: lib-sql: Mark Cassandra driver as pooled.
    dovecot at dovecot.org 
    dovecot at dovecot.org
       
    Wed Sep  2 14:21:26 UTC 2015
    
    
  
details:   http://hg.dovecot.org/dovecot-2.2/rev/3cf6441adf12
changeset: 19058:3cf6441adf12
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Sep 02 17:20:02 2015 +0300
description:
lib-sql: Mark Cassandra driver as pooled.
Otherwise all the asynchronous operations will assert-crash, since all the
auto-connecting code is in the sqlpool code.
diffstat:
 src/lib-sql/driver-cassandra.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 0770ab82703d -r 3cf6441adf12 src/lib-sql/driver-cassandra.c
--- a/src/lib-sql/driver-cassandra.c	Wed Sep 02 17:19:08 2015 +0300
+++ b/src/lib-sql/driver-cassandra.c	Wed Sep 02 17:20:02 2015 +0300
@@ -943,7 +943,7 @@
 
 const struct sql_db driver_cassandra_db = {
 	.name = "cassandra",
-	.flags = 0,
+	.flags = SQL_DB_FLAG_POOLED,
 
 	.v = {
 		driver_cassandra_init_v,
    
    
More information about the dovecot-cvs
mailing list