• gshchepa/uchum@gleb.loc's avatar
    Fixed bug #29095. · fbbb30a6
    gshchepa/uchum@gleb.loc authored
    INSERT into table from SELECT from the same table
    with ORDER BY and LIMIT was inserting other data
    than sole SELECT ... ORDER BY ... LIMIT returns.
    
    One part of the patch for bug #9676 improperly pushed
    LIMIT to temporary table in the presence of the ORDER BY
    clause.
    That part has been removed.
    fbbb30a6
insert_select.result 12.5 KB