Re: [Firebird-devel] JRD_get_thread_data()

2016-01-30 Thread Dimitry Sibiryakov
29.01.2016 18:01, Dmitry Yemanov wrote: > I'd suggest to explicitly pass tdbb. But if a small fix needing tdbb in > some place asks for a major refactoring just to pass tdbb through the > entire call stack, then feel free to use JRD_get_thread_data() - it's > perfectly safe. Unfortunately, it

[Firebird-devel] JRD_get_thread_data()

2016-01-29 Thread Dimitry Sibiryakov
Hello, All. Getting tdbb in functions that don't have explicit tdbb parameter using subj is ok, or it is just an ancient hack waiting for cleanup? -- WBR, SD. -- Site24x7 APM Insight: Get Deep Visibility

Re: [Firebird-devel] JRD_get_thread_data()

2016-01-29 Thread Dmitry Yemanov
29.01.2016 18:51, Dimitry Sibiryakov wrote: > > Getting tdbb in functions that don't have explicit tdbb parameter using subj > is ok, or > it is just an ancient hack waiting for cleanup? I'd suggest to explicitly pass tdbb. But if a small fix needing tdbb in some place asks for a major