summaryrefslogtreecommitdiff
path: root/heap
diff options
context:
space:
mode:
authorkonstantin@mysql.com <>2006-02-02 18:17:18 +0300
committerkonstantin@mysql.com <>2006-02-02 18:17:18 +0300
commit98091b152a35dc987b9f393ac5737f4fd890aef4 (patch)
tree336ed0f3ebd53f06d2b14904f4fd937b5fe487c6 /heap
parentc9b7317ff905d5496cbbd4df84f4879c19e27c01 (diff)
parent736faf473011dffd0fc0905c1d5e7859fa04c5aa (diff)
downloadmariadb-git-98091b152a35dc987b9f393ac5737f4fd890aef4.tar.gz
Merge mysql.com:/opt/local/work/mysql-4.1-root
into mysql.com:/opt/local/work/mysql-5.0-root
Diffstat (limited to 'heap')
-rw-r--r--heap/hp_create.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/heap/hp_create.c b/heap/hp_create.c
index 47dcb00278a..9ffa4e33108 100644
--- a/heap/hp_create.c
+++ b/heap/hp_create.c
@@ -135,6 +135,7 @@ int heap_create(const char *name, uint keys, HP_KEYDEF *keydef,
DBUG_RETURN(1);
}
share->keydef= (HP_KEYDEF*) (share + 1);
+ share->key_stat_version= 1;
keyseg= (HA_KEYSEG*) (share->keydef + keys);
init_block(&share->block, reclength + 1, min_records, max_records);
/* Fix keys */