MySQL Forums
Forum List  »  Connector/C++

Getting Rows Matched for Update with non-affected rows
Posted by: M B
Date: June 15, 2017 09:27PM

When doing an update, if there are no changed rows, but there are matched rows, there does not appear a way to get this information. I'm not sure if it's buried deep inside, like related to field_count, for example.

From what I can see with the C documentation, that SDK has a means to derive this info.

I was planning on using that information to verify the update itself was a properly matched statement (as opposed to a non-existent record).

If there any planned support for this?

Options: ReplyQuote

Written By
Getting Rows Matched for Update with non-affected rows
June 15, 2017 09:27PM

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.