From 6dcda5153b4bada5a5e890641b0d69fb28bf8db5 Mon Sep 17 00:00:00 2001 From: "hf@deer.(none)" <> Date: Thu, 15 Jan 2004 21:06:22 +0400 Subject: SCRUM: WL#1163 (Making spatial code optional) Pack of changes to do in sql/ code. --- sql/item_create.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sql/item_create.h') diff --git a/sql/item_create.h b/sql/item_create.h index 083868d87a6..773fdffbaf2 100644 --- a/sql/item_create.h +++ b/sql/item_create.h @@ -99,6 +99,8 @@ Item *create_func_is_free_lock(Item* a); Item *create_func_is_used_lock(Item* a); Item *create_func_quote(Item* a); +#ifdef HAVE_SPATIAL + Item *create_func_geometry_from_text(Item *a); Item *create_func_as_wkt(Item *a); Item *create_func_as_wkb(Item *a); @@ -138,6 +140,8 @@ Item *create_func_numgeometries(Item *a); Item *create_func_point(Item *a, Item *b); +#endif /*HAVE_SPATIAL*/ + Item *create_func_compress(Item *a); Item *create_func_uncompress(Item *a); Item *create_func_uncompressed_length(Item *a); -- cgit v1.2.1