summaryrefslogtreecommitdiff
path: root/sql/item_geofunc.h
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2003-11-06 21:03:11 +0200
committerunknown <bell@sanja.is.com.ua>2003-11-06 21:03:11 +0200
commitfd0cc03f4909930259d5fd0d624174e9153b83c0 (patch)
tree35a1ee7a73efd13bd2146b7a077634ce0a71973a /sql/item_geofunc.h
parent1845b2e7f69f1fdfca7f27bff380b8488eba3c91 (diff)
downloadmariadb-git-fd0cc03f4909930259d5fd0d624174e9153b83c0.tar.gz
fixed printability of gis functions
code covarage for srid, GeomFromText with 2 parameters code covarage foe print() method of gis functions mysql-test/r/gis.result: code covarage for srid, GeomFromText with 2 parameters code covarage foe print() method of gis functions mysql-test/t/gis.test: code covarage for srid, GeomFromText with 2 parameters code covarage foe print() method of gis functions + commented test for issimple() (bugreport sent) sql/item_geofunc.h: fixed printability of gis functions
Diffstat (limited to 'sql/item_geofunc.h')
-rw-r--r--sql/item_geofunc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/item_geofunc.h b/sql/item_geofunc.h
index 72dc6620f3b..f6f00ed2bab 100644
--- a/sql/item_geofunc.h
+++ b/sql/item_geofunc.h
@@ -216,6 +216,7 @@ public:
return "sp_unknown";
}
}
+ void print(String *str) { Item_func::print(str); }
};
class Item_func_isempty: public Item_bool_func
@@ -292,7 +293,7 @@ class Item_func_numinteriorring: public Item_int_func
public:
Item_func_numinteriorring(Item *a): Item_int_func(a) {}
longlong val_int();
- const char *func_name() const { return "numinteriorring"; }
+ const char *func_name() const { return "numinteriorrings"; }
void fix_length_and_dec() { max_length=10; }
};