summaryrefslogtreecommitdiff
path: root/myisam/mi_key.c
diff options
context:
space:
mode:
Diffstat (limited to 'myisam/mi_key.c')
-rw-r--r--myisam/mi_key.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/myisam/mi_key.c b/myisam/mi_key.c
index 97af156e89a..b53d66b59aa 100644
--- a/myisam/mi_key.c
+++ b/myisam/mi_key.c
@@ -46,7 +46,9 @@ uint _mi_make_key(register MI_INFO *info, uint keynr, uchar *key,
/*
TODO: nulls processing
*/
+#ifdef HAVE_SPATIAL
return sp_make_key(info,keynr,key,record,filepos);
+#endif
}
start=key;