05.08.2022 12:40, Dimitry Sibiryakov wrote:
Vlad Khorsun wrote 05.08.2022 11:17:
It could be compared with last known counters before re-connect,
if necessary.

   Bad idea. If database was reloaded counters are reset.

  If there was just connection (not database) shutdown, counters will not be 
reset.
In any case - this is up to app dev to decide how to handle re-connection in 
own code.
The main point still the same - no events will be missed.

Another way could be to call callback with NULL events and 0 length but I'm not 
sure
existing apps is ready to handle such signal.

   They are ready because it is normal reaction to isc_cancel_events.

  Good. Probably it is the way to go. While I'm not sure we really need such 
changes.

Regards,
Vlad


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to