Re: [Firebird-devel] Code out of order

2014-12-08 Thread Dmitry Yemanov
09.12.2014 02:30, Claudio Valderrama C. wrote: > People, I failed to see this commit before in jrd\functions.cpp in FB 2.5, > inside set_context(). > > Before the change: > thread_db* tdbb = JRD_get_thread_data(); > if (!tdbb) > > After the change: > thread_db* tdbb = JRD_get_thr

[Firebird-devel] Code out of order

2014-12-08 Thread Claudio Valderrama C.
People, I failed to see this commit before in jrd\functions.cpp in FB 2.5, inside set_context(). Before the change: thread_db* tdbb = JRD_get_thread_data(); if (!tdbb) After the change: thread_db* tdbb = JRD_get_thread_data(); Database* dbb = tdbb->getDatabase();