diff options
author | Alexander Barkov <bar@mariadb.org> | 2015-08-13 14:25:51 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2015-08-13 14:25:51 +0400 |
commit | 60985e5375ae7e8143f0ae4f6c70f1833d268f76 (patch) | |
tree | 54f9055912004a483f2c24f215aa3b593a0f50c0 /sql/item_geofunc.h | |
parent | 9d884fd3d3fadd5ad31ecfee915877b98258e546 (diff) | |
download | mariadb-git-60985e5375ae7e8143f0ae4f6c70f1833d268f76.tar.gz |
MDEV-8610 "WHERE CONTAINS(indexed_geometry_column,1)" causes full table scan
Diffstat (limited to 'sql/item_geofunc.h')
-rw-r--r-- | sql/item_geofunc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/item_geofunc.h b/sql/item_geofunc.h index 4ae3be73da1..e88fd266af7 100644 --- a/sql/item_geofunc.h +++ b/sql/item_geofunc.h @@ -277,6 +277,9 @@ class Item_func_spatial_rel: public Item_bool_func2 protected: enum Functype spatial_rel; String tmp_value1, tmp_value2; + SEL_ARG *get_mm_leaf(RANGE_OPT_PARAM *param, Field *field, + KEY_PART *key_part, + Item_func::Functype type, Item *value); public: Item_func_spatial_rel(Item *a, Item *b, enum Functype sp_rel) :Item_bool_func2(a, b), spatial_rel(sp_rel) |