| 709 | |
| 710 | |
| 711 | static int w_sql_query_one(struct sip_msg* msg, str* query, |
| 712 | void* dest, void *url) |
| 713 | { |
| 714 | struct db_url *parsed_url; |
| 715 | |
| 716 | if (url) |
| 717 | parsed_url = ((struct db_url_container *)url)->u.url; |
| 718 | else |
| 719 | parsed_url = default_db_url; |
| 720 | |
| 721 | return ops_sql_query(msg, query, parsed_url, (pvname_list_t*)dest, 1); |
| 722 | } |
| 723 | |
| 724 | |
| 725 | static int w_sql_select(struct sip_msg* msg, str* cols, str *table, |
nothing calls this directly
no test coverage detected