03.04.2014 19:27, Dmitry Yemanov wrote: > knowing that buffers can be extended but never > shrinked, it won't take long to find a suitable one.
BTW, they are shrinked. Consider following sequence: 1. Large record. Large buffer is allocated and rec_length is set to big value. 2. Small record. Large buffer is reused but rec_length is set to small value. 3. Middle record. Buffer is still large enough, but rec_length is small, so it is released and allocated with middle (smaller) size. -- 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_APR Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel