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 | fbb0621ada6d174b98b8efa0c741a1f4e63821fb (patch) | |
tree | a41a4698af808382a584433b59968ba1dc720841 /libmysql/libmysql.c | |
parent | 87784bf690fcb11085d6ad2ecd2643500b792eaf (diff) | |
download | mariadb-git-fbb0621ada6d174b98b8efa0c741a1f4e63821fb.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 'libmysql/libmysql.c')
0 files changed, 0 insertions, 0 deletions