• Georgi Kodinov's avatar
    Backport of the fix for bug #51357 to 5.0-bugteam.: · 2ba46ad4
    Georgi Kodinov authored
    Spatial indexes were not checking for out-of-record condition in
    the handler next command when the previous command didn't found
    rows.
    
    Fixed by making the rtree index to check for end of rows condition
    before re-using the key from the previous search.
    
    Fixed another crash if the tree has changed since the last search.
    Added a test case for the other error.
    2ba46ad4
rt_index.c 29.6 KB