void CDBAPIBulkInsert::FreeResources() { delete m_cmd; m_cmd = 0; if( m_conn != 0 && m_conn->IsAux() ) { delete m_conn; m_conn = 0; Notify(CDbapiAuxDeletedEvent(this)); } }
void CCursor::FreeResources() { delete m_cmd; m_cmd = 0; delete m_ostr; m_ostr = 0; if( m_conn != 0 && m_conn->IsAux() ) { delete m_conn; m_conn = 0; Notify(CDbapiAuxDeletedEvent(this)); } }
void CStatement::FreeResources() { delete m_cmd; m_cmd = 0; m_rowCount = -1; if ( m_conn != 0 && m_conn->IsAux() ) { delete m_conn; m_conn = 0; Notify(CDbapiAuxDeletedEvent(this)); } delete m_wr; m_wr = 0; delete m_ostr; m_ostr = 0; ClearParamList(); }