mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 00:50:50 +00:00
SCAN: use define REDIS_LONGSTR_SIZE instead of fixed len.
This commit is contained in:
parent
43fdf3b404
commit
64722b0946
2
src/db.c
2
src/db.c
@ -329,7 +329,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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user