[APPDB][resend] Implement query_affected_rows
Rosanne DiMesio
dimesio at earthlink.net
Sun May 14 22:24:28 CDT 2017
This time without the typo.
Supersedes https://source.winehq.org/patches/data/133803.
Signed-off-by: Rosanne DiMesio <dimesio at earthlink.net>
---
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;
--
2.12.0
More information about the wine-patches
mailing list