• unknown's avatar
    Bug#10109 · fdb4d307
    unknown authored
      "INSERT .. SELECT ... ON DUPLICATE KEY UPDATE fails"
      Ensure that check_insert_fields() is only called once when
      doing an INSERT..SELECT
    
    
    mysql-test/r/insert_update.result:
      Test for bug 10109
    mysql-test/t/insert_update.test:
      Test for bug 10109
    sql/sql_class.h:
      select_insert needs more state
    sql/sql_insert.cc:
      ensure that check_insert_fields() is only called once when
      doing an INSERT...SELECT
    sql/sql_parse.cc:
      more args for select_insert constructor
    fdb4d307
sql_insert.cc 55.5 KB