dpiPool_reconfigure

Function dpiPool_reconfigure 

Source
pub unsafe extern "C" fn dpiPool_reconfigure(
    pool: *mut dpiPool,
    minSessions: u32,
    maxSessions: u32,
    sessionIncrement: u32,
) -> c_int
Expand description

Changes pool configuration corresponding to members [dpiPoolCreateParams.minSessions], [dpiPoolCreateParams.maxSessions] and [dpiPoolCreateParams.sessionIncrement] to the specified values. Connections will be created as needed if the value of minSessions is increased. Connections will be dropped from the pool as they are released back to the pool if minSessions is decreased.

The function returns DPI_SUCCESS for success and DPI_FAILURE for failure.