summaryrefslogtreecommitdiff
path: root/sql/item_geofunc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/item_geofunc.cc')
-rw-r--r--sql/item_geofunc.cc13
1 files changed, 11 insertions, 2 deletions
diff --git a/sql/item_geofunc.cc b/sql/item_geofunc.cc
index 332e88c950d..be132439f93 100644
--- a/sql/item_geofunc.cc
+++ b/sql/item_geofunc.cc
@@ -14,7 +14,12 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
-/* This file defines all spatial functions */
+/**
+ @file
+
+ @brief
+ This file defines all spatial functions
+*/
#ifdef USE_PRAGMA_IMPLEMENTATION
#pragma implementation // gcc: Class implementation
@@ -356,7 +361,7 @@ String *Item_func_point::val_str(String *str)
}
-/*
+/**
Concatenates various items into various collections
with checkings for valid wkb type of items.
For example, MultiPoint can be a collection of Points only.
@@ -538,6 +543,10 @@ longlong Item_func_isempty::val_int()
}
+/**
+ @todo
+ Ramil or Holyfoot, add real IsSimple calculation
+*/
longlong Item_func_issimple::val_int()
{
DBUG_ASSERT(fixed == 1);