Displaying 2 results from an estimated 2 matches for "conndb".
2013 Feb 20
1
Connection leak in sqlpool for ACL Dict Postgres in v2.1.15 (14907:b96df105ec55) and v2.2.beta1 (15857:07dfd4391d22)
...ot in "busy" state until timeout.
The information about the slots of the log lines
0x9886d0 1. state=3 to_recon=(nil) ready=0 |driver_sqlpool_query_s end
is generated by:
conns = array_get(&db->all_connections, &count);
for (i = 0; i < count; i++) {
struct sql_db *conndb = conns[i].db;
i_info("SKA: POOL: [%u] %p %u. state=%u to_recon=%p ready=%u |%s", getpid(), db, i, conndb->state, conndb->to_reconnect, SQL_DB_IS_READY(conndb)? 1: 0, msg);
}
msg is the function, where that log function is called from, e.g.
at the end of driver_sqlpool_query...
2012 Jun 20
0
Problem with Dovecot 2.0/2.1 and MySQL 5.1
...scheme = <optimized out>
ret = <optimized out>
__FUNCTION__ = "sql_query_callback"
#2 0x00007fb891c3c940 in driver_sqlpool_query_callback
(result=0x7fb891e82f60, request=0x7fb891e82e50) at
driver-sqlpool.c:635 db = 0x7fb891e66540 conn = 0x0
conndb = 0x7fb891e66910
#3 0x00007fb891c3dbe0 in driver_mysql_query (db=<optimized out>,
query=<optimized out>, callback=0x7fb891c3c8c0
<driver_sqlpool_query_callback>, context=0x7fb891e82e50) at
driver-mysql.c:296 result = 0x7fb891e82f60 #4 0x00007fb891c3cc41 in
driver_sqlpo...