CRecordset::Close() issues incorrect TRACE message if it is not open: "WARNING: CRecordset not found in m_pDatabase->m_listRecordsets."When a CRecordset has been opened, then it is registered with its associated CDatabase (and hence is added to m_listRecordsets).However, if it is not open (or is never opened), then it is NOT registered with the database.This is not an error - this is by design. No open = no registration = should not be warning me about it.It's just one more spurious, time-wasting thing to ignore in the trace output, that has to be verified every year or so to remind everyone that "no, there is nothing wrong with the database code, just some overzealous programmer at MS putting out a spurious warning message."
Visual Studio/Team Foundation Server/.NET Framework Tooling Version
Steps to reproduce
Operating System Language