• ingo@mysql.com's avatar
    BUG#5390 - problems with merge tables · 5aa315e2
    ingo@mysql.com authored
    Problem #1: INSERT...SELECT, Version for 4.1.
    INSERT ... SELECT with the same table on both sides (hidden
    below a MERGE table) does now work by buffering the select result.
    The duplicate detection works now after open_and_lock_tables() 
    on the locks.
    I did not find a test case that failed without the change in
    sql_update.cc. I made the change anyway as it should in theory
    fix a possible MERGE table problem with multi-table update.
    5aa315e2
merge.result 16.3 KB