summaryrefslogtreecommitdiff
path: root/myisam/mi_key.c
diff options
context:
space:
mode:
authorunknown <hf@deer.(none)>2004-03-15 12:31:21 +0400
committerunknown <hf@deer.(none)>2004-03-15 12:31:21 +0400
commit805897cdb81f36b775eb4917f606afdef36c63a8 (patch)
tree7af2cce2175f59e66d32800cfb3adf20b180676e /myisam/mi_key.c
parent3bf2e442abf45f2a61f44f2b499b5a54eb116ac1 (diff)
downloadmariadb-git-805897cdb81f36b775eb4917f606afdef36c63a8.tar.gz
WL#1163 (To make spatial code optional)
a couple of lines added to make code easier to read myisam/mi_key.c: 'autodocumenting' code added myisam/mi_open.c: 'autodocumenting' code added
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 b53d66b59aa..d81584d648b 100644
--- a/myisam/mi_key.c
+++ b/myisam/mi_key.c
@@ -48,6 +48,8 @@ uint _mi_make_key(register MI_INFO *info, uint keynr, uchar *key,
*/
#ifdef HAVE_SPATIAL
return sp_make_key(info,keynr,key,record,filepos);
+#else
+ DBUG_ASSERT(0); /* mi_open should check that this never happens*/
#endif
}