1
0
Fork 0

*** empty log message ***

This commit is contained in:
bagyenda 2008-11-19 17:24:33 +00:00
parent 8aa1a1a0be
commit 3db2d7db6c
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ static void return_conn_real(PGconn *c, const char *function, const char *file,
/* debug("pg_cp", 0, "pg_release_conn> %s:%d, %s => %d", file, line, function, (int)c); */
if (free_conns == NULL) return;
if (free_conns == NULL || c == NULL) return;
/* commit or destroy transaction. */
if (PQtransactionStatus(c) == PQTRANS_INERROR)