Re: ON DUPLICATE KEY UPDATE - Always returns positive integer
Posted by: Onur Okyay
Date: March 16, 2017 12:34AM

Actually I found the solution after reading the docs and put the solution to StackOverflow

Simply:
Add this to the connection string
Use Affected Rows=true

More detailed in Stackovewflow
http://stackoverflow.com/questions/34744274/c-sharp-mysql-on-duplicate-key-update-same-query-different-results

Options: ReplyQuote


Subject
Written By
Posted
Re: ON DUPLICATE KEY UPDATE - Always returns positive integer
March 16, 2017 12:34AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.