• unknown's avatar
    actions for bug · 1d3b1633
    unknown authored
    #2709 Affected Rows for ON DUPL. KEY undocumented, perheps illogical 
    1. added COPY_INFO::updated to work with it in
       'insert .. on duplicate' instead of COPY_INFO::deleted
    2. added affected rows to output of "info:" in mysqltest.c
    
    
    client/mysqltest.c:
      added "affected rows" to output of "info : "..
    mysql-test/r/insert_update.result:
      added tests for affected rows with insert .. duplicate (bug #2709)
    mysql-test/t/insert_update.test:
      added tests for affected rows with insert .. duplicate (bug #2709)
    sql/sql_class.h:
      added COPY_INFO::updated
    sql/sql_insert.cc:
      get write_record to work with COPY_INFO::updated instead of 
      COPY_INFO::deleted for 'insert ... duplicate' statement
    1d3b1633
insert_update.test 1.48 KB