• gkodinov/kgeorge@macbook.gmz's avatar
    Bug #26261: · 61d93679
    gkodinov/kgeorge@macbook.gmz authored
     INSERT uses query_id to verify what fields are
     mentioned in the fields list of the INSERT command.
     However the check for that is made after the 
     ON DUPLICATE KEY is processed. This causes all
     the fields mentioned in ON DUPLICATE KEY to be 
     considered as mentioned in the fields list of 
     INSERT.
     Moved the check up, right after processing the
     fields list.
    61d93679
insert_update.test 5.35 KB