Module: kamailio
Branch: 5.8
Commit: f65cfc6d6de1c44a0e53bb28f3c38d0b490f7e1c
URL:
https://github.com/kamailio/kamailio/commit/f65cfc6d6de1c44a0e53bb28f3c38d0…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2025-01-07T18:39:03+01:00
db_redis: stop searching for keys if scan_key is set
(cherry picked from commit 73914396c127529e7e0d58f3e92170891840cbc2)
---
Modified: src/modules/db_redis/redis_dbase.c
---
Diff:
https://github.com/kamailio/kamailio/commit/f65cfc6d6de1c44a0e53bb28f3c38d0…
Patch:
https://github.com/kamailio/kamailio/commit/f65cfc6d6de1c44a0e53bb28f3c38d0…
---
diff --git a/src/modules/db_redis/redis_dbase.c b/src/modules/db_redis/redis_dbase.c
index 84c0c3a9459..f7bace11cde 100644
--- a/src/modules/db_redis/redis_dbase.c
+++ b/src/modules/db_redis/redis_dbase.c
@@ -794,6 +794,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;