You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if we call isc_detach_database and for exemple the firbird server was crashed before then isc_detach_database not free the resource used by the DBhandle
It's confirmed by Alex peshkoff :
"I confirm presence of a problem here.
Moreover, there is a small memory leak.
Please add bug to the tracker."
I also thing it's the same for the transaction ....
also i thing that it's little confusing than in case of exception that the DBhandle is not set to nil ...
leaving it to point to a not null value can mean it is not free ... (because what the purpose to
free it and to not set it to null in case of exception ?)
summary: When server gets unavailbale, client does not delete objects correctly => When server gets unavailbale, client does not perform detach correctly
What about 2.5 - I did not test ancient 2.5.0, but in current snapshots behavior is correct: in case of network error isc_detach_database() succeeds writing a record to the log file. Handle is set to 0.
Submitted by: vander clock stephane (arkadia)
if we call isc_detach_database and for exemple the firbird server was crashed before then isc_detach_database not free the resource used by the DBhandle
It's confirmed by Alex peshkoff :
"I confirm presence of a problem here.
Moreover, there is a small memory leak.
Please add bug to the tracker."
I also thing it's the same for the transaction ....
also i thing that it's little confusing than in case of exception that the DBhandle is not set to nil ...
leaving it to point to a not null value can mean it is not free ... (because what the purpose to
free it and to not set it to null in case of exception ?)
Commits: 445bd69
The text was updated successfully, but these errors were encountered: