summaryrefslogtreecommitdiff
path: root/mysql-test/t
diff options
context:
space:
mode:
authorunknown <kaa@polly.(none)>2007-11-07 15:08:50 +0300
committerunknown <kaa@polly.(none)>2007-11-07 15:08:50 +0300
commitdc0a59a2e7e5ae44723e142566d7164c84f5fdb2 (patch)
treea41a4698af808382a584433b59968ba1dc720841 /mysql-test/t
parente259d46103f743de343c78e4a88b13ebd274e05a (diff)
downloadmariadb-git-dc0a59a2e7e5ae44723e142566d7164c84f5fdb2.tar.gz
Fix for bug #25421: MySQL threads don't respond to the kill command
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. sql/opt_range.cc: Check the thread's 'killed' status in check_quick_keys() and interrupt the calculation process if it is set to a non-zero value.
Diffstat (limited to 'mysql-test/t')
0 files changed, 0 insertions, 0 deletions