void Ns_DbPoolPutHandle( Ns_DbHandle *handle );
The Ns_DbPoolPutHandle function releases the database handle handle
into the pool it was derived from. If the handle was not originally obtained from a pool, an error message is written to the log.
Ns_DbHandle *handle; if ((handle = Ns_DbPoolGetHandle("aPoolName")) != NULL) { Ns_Set *row; row = Ns_DbSelect(handle, "select * from aTable"); ... Ns_DbPoolPutHandle(handle); /* done with handle */