Browse code

sqlops: return 1 on success for kemi sql_xquery()

- GH #2856

(cherry picked from commit 32bf3eb2b27fbefe991a4aabc829f21ecc4e8829)
(cherry picked from commit c1f5595eaf0b1f98cb5dcc00ab68c0e57bc4b053)

Daniel-Constantin Mierla authored on 16/09/2021 10:59:38
Showing 1 changed files
... ...
@@ -954,7 +954,7 @@ int sqlops_do_xquery(sip_msg_t *msg, str *scon, str *squery, str *xavp)
954 954
 	if(sql_exec_xquery(msg, con, squery, xavp)<0)
955 955
 		goto error;
956 956
 
957
-	return 0;
957
+	return 1;
958 958
 error:
959 959
 	return -1;
960 960
 }