Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
02c395a1
Commit
02c395a1
authored
Dec 12, 2020
by
Itamar Haber
Committed by
Oran Agra
Jan 12, 2021
Browse files
Adds 'use-memory' to GEORADIUS[BYMEMBER] (#8107)
Partial resolution for #6860, item 7 (cherry picked from commit
feba7cbf
)
parent
acdccab0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server.c
View file @
02c395a1
...
@@ -886,7 +886,7 @@ struct redisCommand redisCommandTable[] = {
...
@@ -886,7 +886,7 @@ struct redisCommand redisCommandTable[] = {
/* GEORADIUS has store options that may write. */
/* GEORADIUS has store options that may write. */
{
"georadius"
,
georadiusCommand
,
-
6
,
{
"georadius"
,
georadiusCommand
,
-
6
,
"write @geo"
,
"write
use-memory
@geo"
,
0
,
georadiusGetKeys
,
1
,
1
,
1
,
0
,
0
,
0
},
0
,
georadiusGetKeys
,
1
,
1
,
1
,
0
,
0
,
0
},
{
"georadius_ro"
,
georadiusroCommand
,
-
6
,
{
"georadius_ro"
,
georadiusroCommand
,
-
6
,
...
@@ -894,7 +894,7 @@ struct redisCommand redisCommandTable[] = {
...
@@ -894,7 +894,7 @@ struct redisCommand redisCommandTable[] = {
0
,
georadiusGetKeys
,
1
,
1
,
1
,
0
,
0
,
0
},
0
,
georadiusGetKeys
,
1
,
1
,
1
,
0
,
0
,
0
},
{
"georadiusbymember"
,
georadiusbymemberCommand
,
-
5
,
{
"georadiusbymember"
,
georadiusbymemberCommand
,
-
5
,
"write @geo"
,
"write
use-memory
@geo"
,
0
,
georadiusGetKeys
,
1
,
1
,
1
,
0
,
0
,
0
},
0
,
georadiusGetKeys
,
1
,
1
,
1
,
0
,
0
,
0
},
{
"georadiusbymember_ro"
,
georadiusbymemberroCommand
,
-
5
,
{
"georadiusbymember_ro"
,
georadiusbymemberroCommand
,
-
5
,
...
...
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