Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ SQL » Unexpected crash on MSSQLSession Close()
Re: Unexpected crash on MSSQLSession Close() [message #52620 is a reply to message #52612] Wed, 30 October 2019 11:59 Go to previous message
Giorgio is currently offline  Giorgio
Messages: 218
Registered: August 2015
Experienced Member
mirek wrote on Tue, 29 October 2019 19:35

Please check that there are no active Sql instances connected to that session...

Mirek


I added a commit to be sure all connections will be closed, and it seems fixed now:

MssqlDAO::~MssqlDAO(){
  if(cbdb.IsOpen()){

    cbdb.Commit();
    cbdb.Close();
  }
}


Is there a better way to check that (I tried FlushConnections() and SessionClose() but they are private or protected)?
 
Read Message
Read Message
Read Message
Previous Topic: undefined symbol when linking pgexec mingw
Next Topic: sql innerjoin not working
Goto Forum:
  


Current Time: Sun Apr 28 07:27:19 CEST 2024

Total time taken to generate the page: 0.03035 seconds