07.04.2014 18:57, Dmitry Yemanov wrote: > tdbb_default is not a global pool, it's a context pool. > VIO_verb_cleanup() sets the transaction pool as a context pool for > duration of its execution. > > Of course, tra_pool could also be used explicitly there. However, the > basic rule is to use tdbb_default for most of runtime allocations, > especially for temporary ones.
IIRC at the time of FB 1.5 this context things and call of SET_TDBB() at the beginning of every routine were considered as a temporary stubs till proper code cleanup for proper encapsulation and getting rid of side effects. Is my memory wrong or general line was changed since then? -- WBR, SD. ------------------------------------------------------------------------------ Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel