diff options
author | Nirbhay Choubey <nirbhay@skysql.com> | 2014-08-11 23:55:41 -0400 |
---|---|---|
committer | Nirbhay Choubey <nirbhay@skysql.com> | 2014-08-11 23:55:41 -0400 |
commit | 8358dd53b7406deaa9f50ad09b16a86b7e367632 (patch) | |
tree | ef8995ad0e400cb6a1842649c3c886c7b3474835 /sql/item_geofunc.h | |
parent | e06e12f5b8dfe0ab2e5976eec1b27b25d318441b (diff) | |
parent | 4105cbf4a230c82ea7dee31d4d2262b798fad9f4 (diff) | |
download | mariadb-git-8358dd53b7406deaa9f50ad09b16a86b7e367632.tar.gz |
bzr merge -r4346 maria/10.0 (maria-10.0.13)
Diffstat (limited to 'sql/item_geofunc.h')
-rw-r--r-- | sql/item_geofunc.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sql/item_geofunc.h b/sql/item_geofunc.h index 2d715dc8765..6d52661e5c9 100644 --- a/sql/item_geofunc.h +++ b/sql/item_geofunc.h @@ -496,6 +496,18 @@ public: const char *func_name() const { return "st_distance"; } }; + +#ifndef DBUG_OFF +class Item_func_gis_debug: public Item_int_func +{ + public: + Item_func_gis_debug(Item *a) :Item_int_func(a) { null_value= false; } + const char *func_name() const { return "st_gis_debug"; } + longlong val_int(); +}; +#endif + + #define GEOM_NEW(thd, obj_constructor) new (thd->mem_root) obj_constructor #else /*HAVE_SPATIAL*/ |