From 805897cdb81f36b775eb4917f606afdef36c63a8 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 15 Mar 2004 12:31:21 +0400 Subject: 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 --- myisam/mi_key.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'myisam/mi_key.c') 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 } -- cgit v1.2.1