mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
SCRUM
two KILL versions code trimming with headquarter's suggestions
This commit is contained in:
@ -844,7 +844,7 @@ merge_buffers(MI_SORT_PARAM *info, uint keys, IO_CACHE *from_file,
|
||||
uchar *strpos;
|
||||
BUFFPEK *buffpek,**refpek;
|
||||
QUEUE queue;
|
||||
void *thd= info->sort_info->param->thd;
|
||||
int *killed= killed_ptr(info->sort_info->param->thd);
|
||||
|
||||
DBUG_ENTER("merge_buffers");
|
||||
|
||||
@ -876,7 +876,7 @@ merge_buffers(MI_SORT_PARAM *info, uint keys, IO_CACHE *from_file,
|
||||
{
|
||||
for (;;)
|
||||
{
|
||||
if (killed_ptr(thd))
|
||||
if (*killed)
|
||||
{
|
||||
error=1; goto err;
|
||||
}
|
||||
|
Reference in New Issue
Block a user