18 #include "heap_priv.h"
20 unsigned char *heap_position(
HP_INFO *info)
22 return (info->update & HA_STATE_AKTIV) ? info->current_ptr : NULL;
30 x->records = info->getShare()->records;
31 x->deleted = info->getShare()->recordspace.del_chunk_count;
33 x->reclength = info->getShare()->recordspace.chunk_dataspace_length;
35 x->data_length = info->getShare()->recordspace.total_data_length;
36 x->index_length = info->getShare()->index_length;
37 x->max_records = info->getShare()->max_records;
38 x->errkey = info->errkey;
39 if (flag & HA_STATUS_AUTO)
40 x->auto_increment= info->getShare()->auto_increment + 1;