summaryrefslogtreecommitdiff
path: root/heap/hp_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'heap/hp_info.c')
-rw-r--r--heap/hp_info.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/heap/hp_info.c b/heap/hp_info.c
index 3e9d6b6a90b..3122a665fac 100644
--- a/heap/hp_info.c
+++ b/heap/hp_info.c
@@ -55,5 +55,7 @@ int heap_info(reg1 HP_INFO *info,reg2 HEAPINFO *x,
x->index_length= info->s->index_length;
x->max_records = info->s->max_records;
x->errkey = info->errkey;
+ if (flag & HA_STATUS_AUTO)
+ x->auto_increment= info->s->auto_increment + 1;
DBUG_RETURN(0);
} /* heap_info */