Module: kamailio
Branch: master
Commit: 73914396c127529e7e0d58f3e92170891840cbc2
URL:
https://github.com/kamailio/kamailio/commit/73914396c127529e7e0d58f3e921708…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2025-01-07T18:37:52+01:00
db_redis: stop searching for keys if scan_key is set
---
Modified: src/modules/db_redis/redis_dbase.c
---
Diff:
https://github.com/kamailio/kamailio/commit/73914396c127529e7e0d58f3e921708…
Patch:
https://github.com/kamailio/kamailio/commit/73914396c127529e7e0d58f3e921708…
---
diff --git a/src/modules/db_redis/redis_dbase.c b/src/modules/db_redis/redis_dbase.c
index 5621ea6bd69..7f1d5720bd6 100644
--- a/src/modules/db_redis/redis_dbase.c
+++ b/src/modules/db_redis/redis_dbase.c
@@ -796,6 +796,7 @@ static int db_redis_build_query_keys(km_redis_con_t *con, const str
*table_name,
type->type.s);
}
keyname.s = NULL;
+ break;
} else if(keyname.s) {
pkg_free(keyname.s);
keyname.s = NULL;