mysql - Parameter RowsAffected is not reliable. Why? -
i using unidac , perform update instruction on mysql server. doing simultaneously 2 clients. wanted know updated record in first place, checking parameter rowsaffected , thought if 1 peer perform before second 1 rowsaffected>0 on first peer. problem rowsaffected>0 on both clients. how omit problem?
https://dev.mysql.com/doc/refman/5.0/en/information-functions.html#function_row-count : ...the row_count() value similar value mysql_affected_rows()...
Comments
Post a Comment