diff options
author | unknown <hf@deer.(none)> | 2005-01-03 17:33:04 +0400 |
---|---|---|
committer | unknown <hf@deer.(none)> | 2005-01-03 17:33:04 +0400 |
commit | d942c9a87b9fedd6559f97650f3223cfb10819b0 (patch) | |
tree | e0ae67b48d017a61a606076d31f0765a85051f82 /myisam/mi_check.c | |
parent | 7a18eb7a6bee68767b0b2d59722d0bdfe551f7ce (diff) | |
download | mariadb-git-d942c9a87b9fedd6559f97650f3223cfb10819b0.tar.gz |
Fix for bug #7545 (Undefined symbols if --without-geometry)
myisam/mi_check.c:
This code should be ifdefed in no HAVE_SPATIAL case
Diffstat (limited to 'myisam/mi_check.c')
-rw-r--r-- | myisam/mi_check.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/myisam/mi_check.c b/myisam/mi_check.c index f7e7ffd42f6..0123278a23f 100644 --- a/myisam/mi_check.c +++ b/myisam/mi_check.c @@ -1466,12 +1466,14 @@ static int writekeys(MI_CHECK *param, register MI_INFO *info, byte *buff, if (_mi_ft_add(info,i,(char*) key,buff,filepos)) goto err; } +#ifdef HAVE_SPATIAL else if (info->s->keyinfo[i].flag & HA_SPATIAL) { uint key_length=_mi_make_key(info,i,key,buff,filepos); if (rtree_insert(info, i, key, key_length)) goto err; } +#endif /*HAVE_SPATIAL*/ else { uint key_length=_mi_make_key(info,i,key,buff,filepos); |