summaryrefslogtreecommitdiff
path: root/sql/filesort.cc
diff options
context:
space:
mode:
authorhf@deer.mysql.r18.ru <>2003-04-08 19:43:24 +0500
committerhf@deer.mysql.r18.ru <>2003-04-08 19:43:24 +0500
commit5d4e9f95f2bdaff5d57b217fbb788fcea0144734 (patch)
tree01d8c458001514d5c89684a3b748ad31483c8557 /sql/filesort.cc
parent462430ba558f047c8792ff577b45077aa332856a (diff)
parent0428d08606269faf5eddd5740b5f9e80abfacbe4 (diff)
downloadmariadb-git-5d4e9f95f2bdaff5d57b217fbb788fcea0144734.tar.gz
Merging
Diffstat (limited to 'sql/filesort.cc')
-rw-r--r--sql/filesort.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/filesort.cc b/sql/filesort.cc
index 4c2ba1e1a59..5a5152d5435 100644
--- a/sql/filesort.cc
+++ b/sql/filesort.cc
@@ -278,7 +278,7 @@ static ha_rows find_all_keys(SORTPARAM *param, SQL_SELECT *select,
byte *ref_pos,*next_pos,ref_buff[MAX_REFLENGTH];
my_off_t record;
TABLE *sort_form;
- volatile bool *killed= &current_thd->killed;
+ volatile THD::killed_state *killed= &current_thd->killed;
handler *file;
DBUG_ENTER("find_all_keys");
DBUG_PRINT("info",("using: %s",(select?select->quick?"ranges":"where":"every row")));
@@ -689,15 +689,15 @@ int merge_buffers(SORTPARAM *param, IO_CACHE *from_file,
BUFFPEK *buffpek,**refpek;
QUEUE queue;
qsort2_cmp cmp;
- volatile bool *killed= &current_thd->killed;
- bool not_killable;
+ volatile THD::killed_state *killed= &current_thd->killed;
+ THD::killed_state not_killable;
DBUG_ENTER("merge_buffers");
statistic_increment(filesort_merge_passes, &LOCK_status);
if (param->not_killable)
{
killed= &not_killable;
- not_killable=0;
+ not_killable=THD::NOT_KILLED;
}
error=0;