27.7.10.1 mysql_stmt_affected_rows()
my_ulonglong mysql_stmt_affected_rows(MYSQL_STMT *stmt)
mysql_stmt_affected_rows()
may be called immediately after executing a statement with mysql_stmt_execute()
. It is like mysql_affected_rows()
but for prepared statements. For a description of what the affected-rows value returned by this function means, See Section 27.7.6.1, “mysql_affected_rows()”.
See the Example in Section 27.7.10.10, “mysql_stmt_execute()”.