Module: appdb Branch: master Commit: a96e24abf2ae46f70bc623b979d56003470714d8 URL: http://source.winehq.org/git/appdb.git/?a=commit;h=a96e24abf2ae46f70bc623b97... Author: Rosanne DiMesio <dimesio(a)earthlink.net> Date: Sun May 14 22:24:28 2017 -0500 Implement query_affected_rows Supersedes https://source.winehq.org/patches/data/133803. Signed-off-by: Rosanne DiMesio <dimesio(a)earthlink.net> Signed-off-by: Jeremy Newman <jnewman(a)codeweavers.com> --- include/query.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/query.php b/include/query.php index a4b82d8..70fdd20 100644 --- a/include/query.php +++ b/include/query.php @@ -176,6 +176,12 @@ function query_num_rows($hResult) return $hResult->num_rows; } +function query_affected_rows() +{ + global $hAppdbLink; + return $hAppdbLink->affected_rows; +} + function query_escape_string($sString) { global $hAppdbLink;