• jimw@mysql.com's avatar
    Prevent adding 'CREATE TABLE .. SELECT' query to the binary log when the · 13649d90
    jimw@mysql.com authored
    insertion of new records partially failed. It would get logged because of the
    logic to log a partially-failed 'INSERT ... SELECT' (which can't be rolled back
    in non-transactional tables), but 'CREATE TABLE ... SELECT' is always rolled
    back on failure, even for non-transactional tables. (Bug #6682)
    (Original fix reimplemented after review by Serg and Guilhem.)
    13649d90
insert_select.test 6.88 KB