mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
These are actually two changesets. One for splitting LEX in two and
the other for multi-table delete
This commit is contained in:
@ -739,7 +739,8 @@ int merge_buffers(SORTPARAM *param, IO_CACHE *from_file,
|
||||
buffpek=(BUFFPEK*) queue_top(&queue);
|
||||
if (cmp) // Remove duplicates
|
||||
{
|
||||
if (!cmp(&sort_length, param->unique_buff, (uchar*) buffpek->key))
|
||||
// Was if (!cmp(&sort_length, param->unique_buff, (uchar**) buffpek->key))
|
||||
if (!cmp(&sort_length, &(param->unique_buff), (uchar**) &buffpek->key))
|
||||
goto skip_duplicate;
|
||||
memcpy(param->unique_buff, (uchar*) buffpek->key,sort_length);
|
||||
}
|
||||
|
Reference in New Issue
Block a user