On Apr 24, 2017, at 3:04 PM, jocelyn fournier <jocelyn.fournier@gmail.com> wrote:You should search read_rnd_buff_size, it's used in sql/records.cc to compute the size of the cache_records in the READ_RECORD struct.