mirror of
https://github.com/fluencelabs/redis
synced 2025-05-17 04:51:19 +00:00
SCAN: use define REDIS_LONGSTR_SIZE instead of fixed len.
This commit is contained in:
parent
8cdaf604ce
commit
d1c1f62ed5
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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user