Module: kamailio
Branch: 5.6
Commit: 7fcfc9ef6d624d7c817c83b5bb8008638d387e78
URL:
https://github.com/kamailio/kamailio/commit/7fcfc9ef6d624d7c817c83b5bb80086…
Author: Henning Westerholt <hw(a)gilawa.com>
Committer: Henning Westerholt <hw(a)gilawa.com>
Date: 2023-03-24T14:21:19Z
carrierroute: remove redundant capabilities check, related to commit cf147ab7888c4e2
(cherry picked from commit f44e93a4171668d1c1182b186bea8c41db0a9300)
---
Modified: src/modules/carrierroute/cr_db.c
---
Diff:
https://github.com/kamailio/kamailio/commit/7fcfc9ef6d624d7c817c83b5bb80086…
Patch:
https://github.com/kamailio/kamailio/commit/7fcfc9ef6d624d7c817c83b5bb80086…
---
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) {