set err_no to 0 when success
parent
1c0ebb1433
commit
5416c29a27
|
|
@ -282,6 +282,7 @@ ConnectionInfo *conn_pool_get_connection(ConnectionPool *cp,
|
||||||
"total_count: %d, free_count: %d",
|
"total_count: %d, free_count: %d",
|
||||||
__LINE__, conn->ip_addr, conn->port,
|
__LINE__, conn->ip_addr, conn->port,
|
||||||
ci->sock, cm->total_count, cm->free_count);
|
ci->sock, cm->total_count, cm->free_count);
|
||||||
|
*err_no = 0;
|
||||||
return ci;
|
return ci;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue