diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-01-20 14:06:33 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-01-20 14:06:33 +0100 |
commit | 7caa80c48170f8a35ef8ece7a1881fe1f0e022dd (patch) | |
tree | 201b79ee679da159754e5e2ef6ffc604f146c948 /sql/opt_range_mrr.cc | |
parent | cc74bb3178b0296e9865ebd42588709c984b722e (diff) | |
download | mariadb-git-7caa80c48170f8a35ef8ece7a1881fe1f0e022dd.tar.gz |
MDEV-3934 Assertion `((keypart_map+1) & keypart_map) == 0' failed in _mi_pack_key with an index on a POINT column
sel_arg_range_seq_next(): set keypart map also for GEOM_FLAG keys
Diffstat (limited to 'sql/opt_range_mrr.cc')
-rw-r--r-- | sql/opt_range_mrr.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/opt_range_mrr.cc b/sql/opt_range_mrr.cc index a4345059f85..1f4e36178db 100644 --- a/sql/opt_range_mrr.cc +++ b/sql/opt_range_mrr.cc @@ -248,6 +248,7 @@ walk_up_n_right: /* Here minimum contains also function code bits, and maximum is +inf */ range->start_key.key= seq->param->min_key; range->start_key.length= min_key_length; + range->start_key.keypart_map= make_prev_keypart_map(cur->min_key_parts); range->start_key.flag= (ha_rkey_function) (cur->min_key_flag ^ GEOM_FLAG); } else |