• Alexey Kopytov's avatar
    Backport of the fix for bug#25421 to 5.0. · a42108c2
    Alexey Kopytov authored
    Calculating the estimated number of records for a range scan
    may take a significant time, and it was impossible for a user
    to interrupt that process by killing the connection or the
    query.
    
    Fixed by checking the thread's 'killed' status in
    check_quick_keys() and interrupting the calculation process if
    it is set to a non-zero value.
    a42108c2
opt_range.cc 303 KB