summaryrefslogtreecommitdiff
path: root/sql/spatial.h
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2004-03-16 02:41:36 +0200
committerunknown <monty@mysql.com>2004-03-16 02:41:36 +0200
commit17f8d3d725f4b465a8a0dc8e96b04cd973c47fd5 (patch)
tree823df7708b2b22494819c41acd042404f0c24277 /sql/spatial.h
parent0952bf2da5a8adf26794b730f98bfa18f95d28db (diff)
downloadmariadb-git-17f8d3d725f4b465a8a0dc8e96b04cd973c47fd5.tar.gz
Portability fix
Diffstat (limited to 'sql/spatial.h')
-rw-r--r--sql/spatial.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/sql/spatial.h b/sql/spatial.h
index 213bbbf6323..cf07b364bb3 100644
--- a/sql/spatial.h
+++ b/sql/spatial.h
@@ -211,8 +211,7 @@ public:
virtual int geometry_n(uint32 num, String *result) const { return -1; }
public:
- static Geometry *Geometry::create_by_typeid(Geometry_buffer *buffer,
- int type_id)
+ static Geometry *create_by_typeid(Geometry_buffer *buffer, int type_id)
{
Class_info *ci;
if (!(ci= find_class((int) type_id)))
@@ -251,7 +250,7 @@ public:
}
bool envelope(String *result) const;
- static Geometry::Class_info *ci_collection[Geometry::wkb_end+1];
+ static Class_info *ci_collection[wkb_end+1];
protected:
static Class_info *find_class(int type_id)