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
4d7e1255
Commit
4d7e1255
authored
Nov 04, 2010
by
antirez
Browse files
minor test suite bug fixed
parent
a9b18e54
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/support/util.tcl
View file @
4d7e1255
...
@@ -200,7 +200,7 @@ proc createComplexDataset {r ops {opt {}}} {
...
@@ -200,7 +200,7 @@ proc createComplexDataset {r ops {opt {}}} {
randpath
{
{*}
$r
sadd $k $v
}
\
randpath
{
{*}
$r
sadd $k $v
}
\
{
{*}
$r
srem $k $v
}
\
{
{*}
$r
srem $k $v
}
\
{
{
set otherset
[
findKeyWithType r set
]
set otherset
[
findKeyWithType
{*}
$
r
set
]
if
{
$otherset
ne
{}}
{
if
{
$otherset
ne
{}}
{
randpath
{
randpath
{
{*}
$r
sunionstore $k2 $k $otherset
{*}
$r
sunionstore $k2 $k $otherset
...
@@ -216,7 +216,7 @@ proc createComplexDataset {r ops {opt {}}} {
...
@@ -216,7 +216,7 @@ proc createComplexDataset {r ops {opt {}}} {
randpath
{
{*}
$r
zadd $k $d $v
}
\
randpath
{
{*}
$r
zadd $k $d $v
}
\
{
{*}
$r
zrem $k $v
}
\
{
{*}
$r
zrem $k $v
}
\
{
{
set otherzset
[
findKeyWithType r zset
]
set otherzset
[
findKeyWithType
{*}
$
r
zset
]
if
{
$otherzset
ne
{}}
{
if
{
$otherzset
ne
{}}
{
randpath
{
randpath
{
{*}
$r
zunionstore $k2 2 $k $otherzset
{*}
$r
zunionstore $k2 2 $k $otherzset
...
...
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