From 0c0a2d5590571b43f0eb300c984c600d4996b91c Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 17 Mar 2005 18:44:24 +0300 Subject: after merge fix --- heap/hp_create.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'heap/hp_create.c') diff --git a/heap/hp_create.c b/heap/hp_create.c index 17aa92c9201..8fcf7dde000 100644 --- a/heap/hp_create.c +++ b/heap/hp_create.c @@ -168,6 +168,8 @@ int heap_create(const char *name, uint keys, HP_KEYDEF *keydef, keyinfo->write_key= hp_write_key; keyinfo->hash_buckets= 0; } + if ((keyinfo->flag & HA_AUTO_KEY) && create_info->with_auto_increment) + share->auto_key= i + 1; } share->min_records= min_records; share->max_records= max_records; -- cgit v1.2.1