summaryrefslogtreecommitdiff
path: root/src/redis.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2015-07-09 17:42:59 +0200
committerantirez <antirez@gmail.com>2015-07-09 17:42:59 +0200
commitb96af595a5fddbbdcbf78ed3c51acd60976416f4 (patch)
treea767acbc3bf2ce8dbf05003ae319532d8145ecd6 /src/redis.c
parent965abcf10a2e0453ddc88dd96782418ff1d587f9 (diff)
downloadredis-b96af595a5fddbbdcbf78ed3c51acd60976416f4.tar.gz
GEOENCODE / GEODECODE commands removed.
Rationale: 1. The commands look like internals exposed without a real strong use case. 2. Whatever there is an use case, the client would implement the commands client side instead of paying RTT just to use a simple to reimplement library. 3. They add complexity to an otherwise quite straightforward API. So for now KILLED ;-)
Diffstat (limited to 'src/redis.c')
-rw-r--r--src/redis.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/redis.c b/src/redis.c
index cb5c73771..020264924 100644
--- a/src/redis.c
+++ b/src/redis.c
@@ -285,8 +285,6 @@ struct redisCommand redisCommandTable[] = {
{"geoadd",geoaddCommand,-5,"wm",0,NULL,1,1,1,0,0},
{"georadius",georadiusCommand,-6,"r",0,NULL,1,1,1,0,0},
{"georadiusbymember",georadiusByMemberCommand,-5,"r",0,NULL,1,1,1,0,0},
- {"geoencode",geoencodeCommand,-3,"r",0,NULL,0,0,0,0,0},
- {"geodecode",geodecodeCommand,2,"r",0,NULL,0,0,0,0,0},
{"geohash",geohashCommand,-2,"r",0,NULL,0,0,0,0,0},
{"geopos",geoposCommand,-2,"r",0,NULL,0,0,0,0,0},
{"geodist",geodistCommand,-4,"r",0,NULL,0,0,0,0,0},