Commit 3b5e1de1 authored by unknown's avatar unknown

Bug fix: rtree should handle nulls itself

parent cf8410bb
...@@ -2446,7 +2446,7 @@ int QUICK_SELECT::get_next() ...@@ -2446,7 +2446,7 @@ int QUICK_SELECT::get_next()
if (range->flag & GEOM_FLAG) if (range->flag & GEOM_FLAG)
{ {
if ((result = file->index_read(record, if ((result = file->index_read(record,
(byte*) (range->min_key +1), (byte*) (range->min_key),
range->min_length, range->min_length,
(ha_rkey_function)(range->flag ^ (ha_rkey_function)(range->flag ^
GEOM_FLAG)))) GEOM_FLAG))))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment