*** empty log message ***
This commit is contained in:
parent
53b7e978e4
commit
790e15eb20
|
@ -199,12 +199,7 @@ static PGconn *get_conn_real(const char *function, const char *file, const int l
|
|||
alloc_conns++;
|
||||
|
||||
break;
|
||||
} else if (alloc_conns < max_conns) { /* we failed to connect, report it. */
|
||||
mms_error(0, "pgsql_queue", NULL, "get_conn: failed to connect to db: %s",
|
||||
PQerrorMessage(c));
|
||||
PQfinish(c);
|
||||
c = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
/* we get here because we don't have any free connections, and we've hit the limit
|
||||
* of allowed connections, or db connection allocation failed.
|
||||
|
|
Loading…
Reference in New Issue