21 uchar *heap_position(
HP_INFO *info)
23 return ((info->update & HA_STATE_AKTIV) ? info->current_ptr :
28 #ifdef WANT_OLD_HEAP_VERSION
35 ulong heap_position_old(
HP_INFO *info)
37 return ((info->update & HA_STATE_AKTIV) ? info->current_record :
48 DBUG_ENTER(
"heap_info");
49 x->records = info->s->records;
50 x->deleted = info->s->deleted;
51 x->reclength = info->s->reclength;
52 x->data_length = info->s->data_length;
53 x->index_length = info->s->index_length;
54 x->max_records = info->s->max_records;
55 x->errkey = info->errkey;
56 x->create_time = info->s->create_time;
57 if (flag & HA_STATUS_AUTO)
58 x->auto_increment= info->s->auto_increment + 1;