CLIENT_FOUND_ROWS and mysql_affected_rows()
Posted by: Frederic GERARD
Date: May 10, 2005 04:21AM

Hello
I need to know if a row was found for a UPDATE sentence, even if it was not modified (i.e. same columns values)
While mysql_affected_rows() returns correctly "one" for an INSERT sentence, this api returns 0 for an UPDATE, even with CLIENT_FOUND_ROWS as client flag at connection
Have someone experienced this pb, and maybe have solved it ? Thank you

Options: ReplyQuote


Subject
Views
Written By
Posted
CLIENT_FOUND_ROWS and mysql_affected_rows()
4700
May 10, 2005 04:21AM


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.