• Varun Gupta's avatar
    MDEV-10927: Crash When Using sort_union Optimization · 706fb790
    Varun Gupta authored
    In file sql/filesort.cc,when merge_buffers() is called then
    - queue_remove(&queue,0) is called
    - For the function queue_remove there is assertion states that the element to be removed should have index >=1
    - this is causing the assertion to fail.
    
    Fixed by removing the top element.
    706fb790
index_merge_innodb.test 6.08 KB