diff options
author | unknown <kaa@polly.(none)> | 2007-11-07 15:08:50 +0300 |
---|---|---|
committer | unknown <kaa@polly.(none)> | 2007-11-07 15:08:50 +0300 |
commit | dc0a59a2e7e5ae44723e142566d7164c84f5fdb2 (patch) | |
tree | a41a4698af808382a584433b59968ba1dc720841 /mysql-test/t | |
parent | e259d46103f743de343c78e4a88b13ebd274e05a (diff) | |
download | mariadb-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