Subject Re: [firebird-support] Re: rdb$get_context('SYSTEM', 'CLIENT_ADDRESS') sometimes returns NULL
Author Geoff Worboys
Dmitry Yemanov dimitr@... [firebird-support] wrote:
> 22.12.2016 10:43, Geoff Worboys wrote:
>> I do have a couple of EXECUTE STATEMENT ON EXTERNAL calls in
>> the database code. I hadn't given them a thought. In theory
>> none of them should happen during the startup, but it does
>> seem the most likely explanation.

> They don't need to run during the startup. They just cause a
> separate connection to be established and in turn this triggers
> the ON CONNECT event.

Yes, I understand. My comment was based on the logs I've been
studying, where it appears the NULLs are showing up during the
client startup processing. That's what has me puzzled, it
shouldn't happen there. ... Still looking, it might be just
multiple instances of the clients confusing things - I need to
pay closer attention to the connection ids.


Geoff Worboys
Telesis Computing Pty Ltd