Adds 'use-memory' to GEORADIUS[BYMEMBER] (#8107)

Partial resolution for #6860, item 7

(cherry picked from commit feba7cbf4d75f7822f34bd67a56b2ef4a755eff9)
This commit is contained in:
Itamar Haber 2020-12-12 17:31:40 +02:00 committed by Oran Agra
parent acdccab019
commit 02c395a179

View File

@ -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[] = {
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,