diff options
author | ram@mysql.r18.ru <> | 2002-10-07 17:49:03 +0500 |
---|---|---|
committer | ram@mysql.r18.ru <> | 2002-10-07 17:49:03 +0500 |
commit | 2e1a0c031a0ea3d7505690c6999d5d13e2a3dfe6 (patch) | |
tree | ebf4b60cc6d75288281e8c8da41994ba6bc7d89f /heap/hp_info.c | |
parent | 6976c7cf3c83e3c51770ebd7304b7f69a76a28f0 (diff) | |
download | mariadb-git-2e1a0c031a0ea3d7505690c6999d5d13e2a3dfe6.tar.gz |
auto_increment for heap tables
test case
Diffstat (limited to 'heap/hp_info.c')
-rw-r--r-- | heap/hp_info.c | 2 |
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 */ |