24.03.2020 9:54, Alex Peshkoff via Firebird-devel wrote:
On 2020-03-23 22:18, Dimitry Sibiryakov wrote:
Is it bug or intended?
Not really. I see no checks in engine against duplication of any DPB tag, it
described in IB docs, so it is not forbidden, at least formally. But I agree,
be better to remove old value before insert new one. Actually, it makes no harm
engine uses value from last found tag.
Added first in Provider::generateDPB(), next in (any-)Connection::attach().
Vlad, I'm unsure - what place is correct one?
Second was added with connections pool implementation in master. This part
some completion. isc_dpb_ext_call_depth was introduced by me at initial
of EDS to detect and prevent too deep recursion within EDS.
passed at attach() with incremented call depth counter of local attachment.
connections pooling, I need a way to set call depth counter of re-used
So far we have no such way and I open for suggestions. When this will be
isc_dpb_ext_call_depth could be removed from Provider::generateDPB(). Currently
works as a some protection from bad scenarios with recursive calls of EDS.
Firebird-Devel mailing list, web interface at