-fix #6933
This commit is contained in:
parent
95f0fdf369
commit
23e0847188
@ -243,7 +243,8 @@ postgres_get_session (void *cls)
|
||||
session = pthread_getspecific (pc->db_conn_threadlocal);
|
||||
if (NULL != session)
|
||||
{
|
||||
GNUNET_PQ_reconnect_if_down (session->conn);
|
||||
if (NULL == session->transaction_name)
|
||||
GNUNET_PQ_reconnect_if_down (session->conn);
|
||||
return session;
|
||||
}
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user