Avoid crash in CMySQLResult::InitializeResult( on null result
Change null (or 0 for null) checks/assignments to nullptr
Use initializer list for CMySQLResult()
Enable code analysis