• Martin Hansson's avatar
    Bug#44306: Assertion fail on duplicate key error in · 8fa68f57
    Martin Hansson authored
    'INSERT ... SELECT' statements
                
    The code that produces result rows expected that a duplicate row
    error could not occur in INSERT ... SELECT statements with 
    unfulfilled WHERE conditions. This may happen, however, if the 
    SELECT list contains only aggregate functions.
    Fixed by checking if an error occured before trying to send EOF
    to the client.
    8fa68f57
insert_select.test 13.1 KB