Browse code

sqlops: return 1 on success for kemi sql_xquery()

- GH #2856

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
 }