Module: kamailio
Branch: master
Commit: f44e93a4171668d1c1182b186bea8c41db0a9300
URL:
https://github.com/kamailio/kamailio/commit/f44e93a4171668d1c1182b186bea8c4…
Author: Henning Westerholt <hw(a)gilawa.com>
Committer: Henning Westerholt <hw(a)gilawa.com>
Date: 2023-03-24T14:20:49Z
carrierroute: remove redundant capabilities check, related to commit cf147ab7888c4e2
---
Modified: src/modules/carrierroute/cr_db.c
---
Diff:
https://github.com/kamailio/kamailio/commit/f44e93a4171668d1c1182b186bea8c4…
Patch:
https://github.com/kamailio/kamailio/commit/f44e93a4171668d1c1182b186bea8c4…
---
diff --git a/src/modules/carrierroute/cr_db.c b/src/modules/carrierroute/cr_db.c
index 0e59a681e4..04e3659dfe 100644
--- a/src/modules/carrierroute/cr_db.c
+++ b/src/modules/carrierroute/cr_db.c
@@ -335,11 +335,6 @@ int load_route_data_db(struct route_data_t * rd) {
return -1;
}
- if (!DB_CAPABILITY(carrierroute_dbf, DB_CAP_RAW_QUERY)) {
- LM_ERR("Database does not support required raw queries capability\n");
- return -1;
- }
-
if (DB_CAPABILITY(carrierroute_dbf, DB_CAP_FETCH)) {
if (carrierroute_dbf.query(carrierroute_dbh, NULL, NULL, NULL, (db_key_t *) columns,
0,
columns_load_num, NULL, NULL) < 0) {