diff options
author | Sergei Petrunia <psergey@askmonty.org> | 2021-12-20 23:51:55 +0300 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2022-01-26 18:43:06 +0100 |
commit | d6c6f79f5d0a4f2b747fc1bec08dd202c433f1d6 (patch) | |
tree | 499cb31ea636a4f5b8c698d6a0497f8c533187e2 /sql/item_geofunc.cc | |
parent | cbfe6a5e865b0b7569f364b6d927e3ec9820d207 (diff) | |
download | mariadb-git-d6c6f79f5d0a4f2b747fc1bec08dd202c433f1d6.tar.gz |
MDEV-26996 Reverse-ordered indexes: remove SEL_ARG::is_ascending
Instead, Get the "is_ascending" value from the array of KEY_PART
structures that describes the [pseudo-]index that is being analyzed.
Diffstat (limited to 'sql/item_geofunc.cc')
-rw-r--r-- | sql/item_geofunc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_geofunc.cc b/sql/item_geofunc.cc index a2a99bcdf8f..0fdcf9e94e2 100644 --- a/sql/item_geofunc.cc +++ b/sql/item_geofunc.cc @@ -1084,7 +1084,7 @@ Item_func_spatial_rel::get_mm_leaf(RANGE_OPT_PARAM *param, field->get_key_image(str, key_part->length, key_part->image_type); SEL_ARG *tree; - if (!(tree= new (param->mem_root) SEL_ARG(field, true, str, str))) + if (!(tree= new (param->mem_root) SEL_ARG(field, str, str))) DBUG_RETURN(0); // out of memory switch (type) { |