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