mirror of https://github.com/sipwise/kamailio.git
Change-Id: Ifd294f135e6f05ab0b356d4ca0de6adde54bf777
(cherry picked from commit c182f411d8)
mr7.5.8
parent
d205b85e92
commit
e407530223
@ -0,0 +1,11 @@
|
|||||||
|
--- a/src/modules/db_redis/redis_dbase.c
|
||||||
|
+++ b/src/modules/db_redis/redis_dbase.c
|
||||||
|
@@ -784,7 +784,7 @@
|
||||||
|
do {
|
||||||
|
snprintf(cursor_str, sizeof(cursor_str), "%lu", cursor);
|
||||||
|
|
||||||
|
- if (!index_key) {
|
||||||
|
+ if (!index_key || !index_key->len) {
|
||||||
|
if (db_redis_key_add_string(&query_v, "SCAN", 4) != 0) {
|
||||||
|
LM_ERR("Failed to add scan command to scan query\n");
|
||||||
|
goto err;
|
||||||
Loading…
Reference in new issue