Subject | Re: Connection does not close properly |
---|---|
Author | Roman Rokytskyy |
Post date | 2002-10-30T12:14:18Z |
Hi,
isc_detach_database db handle is invalidated and cannot be used
anymore. After invalidation any call to it will cause
IllegalStateException. All our test cases succeed.
Please, if you get this IllegalStateException in your code,
immediately either post it here or send to me per email.
Best regards,
Roman Rokytskyy
> No, this is problem in CVS code. I just checked, GDS_Impl.disconnectDone. I implemented it a little bit different. Now, on
> (db) is called only when database is created (ok), in
> isc_attach_database if error occurs (ok), and in GDS_Impl.connect
> (db) if connection was not accepted. I think we must close it when
> isc_detach_database is called.
>
> I'm going to incorporate this fix into the CVS code.
isc_detach_database db handle is invalidated and cannot be used
anymore. After invalidation any call to it will cause
IllegalStateException. All our test cases succeed.
Please, if you get this IllegalStateException in your code,
immediately either post it here or send to me per email.
Best regards,
Roman Rokytskyy