423
404
local_rec_cache_size= cache_records * reclength;
424
405
rec_cache_size= cache_records * ref_length;
432
407
// We have to allocate one more byte to use uint3korr (see comments for it)
433
408
if (cache_records <= 2 ||
434
409
!(cache=(unsigned char*) malloc(local_rec_cache_size + cache_records * struct_length + 1)))
439
414
// Avoid warnings in qsort
440
415
memset(cache, 0, local_rec_cache_size + cache_records * struct_length + 1);