Subject | Re: [Firebird-Architect] RFC: External Engine API |
---|---|
Author | Dimitry Sibiryakov |
Post date | 2007-12-12T06:21:47Z |
On 11 Dec 2007 at 23:57, Roman Rokytskyy wrote:
must die. I don't see anything wrong with passing DB and TR handles
via parameters.
--
SY, Dimitry Sibiryakov.
>C++ has the same issue - as you wrote, either you use some globalHere I would agree with Jim: global variables is "A BIG EVIL" and
>variables or you pass the handles explicitly. If you use global
>variables (TLS, for example) and do not want to use TLS in the engine
>(or that DLL that exports the ISC API for ESPs), either application
>code or DB access components must explicitly know where and how to get
>them.
must die. I don't see anything wrong with passing DB and TR handles
via parameters.
--
SY, Dimitry Sibiryakov.