Re: [Firebird-devel] Database detach after shutdown

2022-01-24 Thread Vlad Khorsun
22.01.2022 14:42, Dimitry Sibiryakov wrote: Adriano dos Santos Fernandes wrote 22.01.2022 13:37:    After calling IDispatch::shutdown() an attempt to call     IAttachment::detach()     in embedded mode returns error "Database shutdown". But... why? Isn't IDispatch::shutdown already causes

Re: [Firebird-devel] Database detach after shutdown

2022-01-24 Thread Dimitry Sibiryakov
Adriano dos Santos Fernandes wrote 24.01.2022 11:52: If you do shutdown before disconnect, I'm not sure the software is written correctly. In this case if you do release I think it's going to work. How many examples and real life application check status after detach and do release on

Re: [Firebird-devel] Database detach after shutdown

2022-01-24 Thread Adriano dos Santos Fernandes
On 22/01/2022 09:42, Dimitry Sibiryakov wrote: > Adriano dos Santos Fernandes wrote 22.01.2022 13:37: >>    After calling IDispatch::shutdown() an attempt to call >>     IAttachment::detach() >>     in embedded mode returns error "Database shutdown". But... why? >> >> Isn't

Re: [Firebird-devel] Database detach after shutdown

2022-01-22 Thread Dimitry Sibiryakov
Adriano dos Santos Fernandes wrote 22.01.2022 13:37:    After calling IDispatch::shutdown() an attempt to call IAttachment::detach() in embedded mode returns error "Database shutdown". But... why? Isn't IDispatch::shutdown already causes all databases to be disconnected? In

Re: [Firebird-devel] Database detach after shutdown

2022-01-22 Thread Adriano dos Santos Fernandes
Em sáb., 22 de jan. de 2022 07:57, Dimitry Sibiryakov escreveu: >Hello All. > >After calling IDispatch::shutdown() an attempt to call > IAttachment::detach() > in embedded mode returns error "Database shutdown". But... why? > Isn't IDispatch::shutdown already causes all databases to be

[Firebird-devel] Database detach after shutdown

2022-01-22 Thread Dimitry Sibiryakov
Hello All. After calling IDispatch::shutdown() an attempt to call IAttachment::detach() in embedded mode returns error "Database shutdown". But... why? -- WBR, SD. Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel