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