summaryrefslogtreecommitdiff
path: root/sql/item_geofunc.cc
diff options
context:
space:
mode:
authorcmiller@zippy.cornsilk.net <>2007-12-14 10:52:10 -0500
committercmiller@zippy.cornsilk.net <>2007-12-14 10:52:10 -0500
commitc940d64a69474c165e3988eb7ad93f16a88ef852 (patch)
tree12c2887fa7da423ee894c74c94ab3ee5f2f1b748 /sql/item_geofunc.cc
parenta30c52cbf55f892bcd3b4269d63dab4991e6f540 (diff)
parent5a19f077b372d96b301a9a926326fb780d88c5e8 (diff)
downloadmariadb-git-c940d64a69474c165e3988eb7ad93f16a88ef852.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-5.1-maint
into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.1-maint
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);