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
1e92fde3
"vscode:/vscode.git/clone" did not exist on "0992ada2fe1cbc8f5f25c0cdec67cb69bb8d3810"
Commit
1e92fde3
authored
Jun 14, 2018
by
antirez
Browse files
Fix SCAN bug regression test, avoiding empty SREM call.
parent
ce17f76b
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/unit/scan.tcl
View file @
1e92fde3
...
...
@@ -246,7 +246,7 @@ start_server {tags {"scan"}} {
array set found
{}
# Populate the set
set numele
[
expr
{
10
0
+
[
randomInt 1000
]}]
set numele
[
expr
{
10
1
+
[
randomInt 1000
]}]
for
{
set j 0
}
{
$j
< $numele
}
{
incr j
}
{
r sadd set $j
if
{
$j
>= 100
}
{
...
...
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