Invoking this function causes all server-held state for the connection to be
cleared, including rolling back any open transactions, and causes any
existing result stream to be terminated.
@param connection The connection to reset.
@return 0 on sucess, or -1 on error (errno will be set).
Reset a session.
Invoking this function causes all server-held state for the connection to be cleared, including rolling back any open transactions, and causes any existing result stream to be terminated.
@param connection The connection to reset. @return 0 on sucess, or -1 on error (errno will be set).