Subject | CURRENT_CONNECTION intrisic in IB_Connection? |
---|---|
Author | Dany M |
Post date | 2006-03-10T21:43:42Z |
There is much I can gain from posting an event like
POST_EVENT 'MAININTEREST$SUBINTEREST$' || CURRENT_CONNECTION;
so I am searching for the corresponding value in my TIB_Connection
instance. Is it there? I would rather (if it's possible) avoid a DSQL like
SELECT CURRENT_CONNECTION
FROM RDB$DATABASE
because that is *another* system question/query down the line. Point is
that somewhere in the workings of TIB_Connection.Connect this value
/should/ is passed back to the client anyway. I suspect that it might
not be since CURRENT_CONNECTION was introduced in FB 1.5 only.
Must I do a SELECT CURRENT_CONNECTION FROM RDB$DATABASE?
TIA
/Dany
BTW POST_EVENT 'WHATEVER$' + CURRENT_USER is another issue altogether as
is CURRENT_TRANSACTION. DS.
POST_EVENT 'MAININTEREST$SUBINTEREST$' || CURRENT_CONNECTION;
so I am searching for the corresponding value in my TIB_Connection
instance. Is it there? I would rather (if it's possible) avoid a DSQL like
SELECT CURRENT_CONNECTION
FROM RDB$DATABASE
because that is *another* system question/query down the line. Point is
that somewhere in the workings of TIB_Connection.Connect this value
/should/ is passed back to the client anyway. I suspect that it might
not be since CURRENT_CONNECTION was introduced in FB 1.5 only.
Must I do a SELECT CURRENT_CONNECTION FROM RDB$DATABASE?
TIA
/Dany
BTW POST_EVENT 'WHATEVER$' + CURRENT_USER is another issue altogether as
is CURRENT_TRANSACTION. DS.