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 |
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)?
|
|
|
Goto Forum:
Current Time: Sun Apr 28 07:27:19 CEST 2024
Total time taken to generate the page: 0.03035 seconds
|