mirror of https://github.com/sipwise/kamailio.git
parent
d53e856128
commit
c182f411d8
@ -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