MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / w_sql_replace

Function w_sql_replace

modules/sqlops/sqlops.c:797–808  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

795
796
797static int w_sql_replace(struct sip_msg* msg, str* table, str *cols,
798 void *url)
799{
800 struct db_url *parsed_url;
801
802 if (url)
803 parsed_url = ((struct db_url_container *)url)->u.url;
804 else
805 parsed_url = default_db_url;
806
807 return ops_sql_api_replace(parsed_url, msg, table, cols);
808}
809
810
811static int w_async_sql_query(struct sip_msg* msg, async_ctx *ctx,

Callers

nothing calls this directly

Calls 1

ops_sql_api_replaceFunction · 0.85

Tested by

no test coverage detected