- v_set(config, &shmp(handle, shmp(handle, bufb->array)[i].shmp)->records_commit, 0);
- v_set(config, &shmp(handle, shmp(handle, bufb->array)[i].shmp)->records_unread, 0);
- shmp(handle, shmp(handle, bufb->array)[i].shmp)->data_size = 0;
+ v_set(config, &shmp(handle, shmp_index(handle, bufb->array, i)->shmp)->records_commit, 0);
+ v_set(config, &shmp(handle, shmp_index(handle, bufb->array, i)->shmp)->records_unread, 0);
+ shmp(handle, shmp_index(handle, bufb->array, i)->shmp)->data_size = 0;