Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
d1c1f62e
Commit
d1c1f62e
authored
Oct 25, 2013
by
antirez
Browse files
SCAN: use define REDIS_LONGSTR_SIZE instead of fixed len.
parent
8cdaf604
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/db.c
View file @
d1c1f62e
...
...
@@ -319,7 +319,7 @@ void scanCallback(void *privdata, const dictEntry *de) {
void
scanCommand
(
redisClient
*
c
)
{
int
rv
;
int
i
,
j
;
char
buf
[
32
];
char
buf
[
REDIS_LONGSTR_SIZE
];
list
*
keys
=
listCreate
();
listNode
*
ln
,
*
ln_
;
unsigned
long
cursor
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment