[APPDB] query.php: implement query_affected_rows()

Rosanne DiMesio dimesio at earthlink.net
Sun May 14 20:13:58 CDT 2017


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..2b20f3a 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