mirror of
https://github.com/fluencelabs/redis
synced 2025-07-03 02:41:33 +00:00
SCAN: use define REDIS_LONGSTR_SIZE instead of fixed len.
This commit is contained in:
2
src/db.c
2
src/db.c
@ -319,7 +319,7 @@ void scanCallback(void *privdata, const dictEntry *de) {
|
|||||||
void scanCommand(redisClient *c) {
|
void scanCommand(redisClient *c) {
|
||||||
int rv;
|
int rv;
|
||||||
int i, j;
|
int i, j;
|
||||||
char buf[32];
|
char buf[REDIS_LONGSTR_SIZE];
|
||||||
list *keys = listCreate();
|
list *keys = listCreate();
|
||||||
listNode *ln, *ln_;
|
listNode *ln, *ln_;
|
||||||
unsigned long cursor = 0;
|
unsigned long cursor = 0;
|
||||||
|
Reference in New Issue
Block a user