int Ns_DbFlush( Ns_DbHandle *handle );
Ns_DbFlush is called automatically when Ns_DbHandle's are returned to their pools with the Ns_DbPutHandle function to make sure the handle is ready the next time it is used.
Some database drivers (for example, the Illustra driver), will also cancel any active transactions when Ns_DbFlush is called.