New options for GEORADIUS: STORE and STOREDIST.

Related to issue #3019.
This commit is contained in:
antirez
2016-02-18 10:24:11 +01:00
parent f7af1beaab
commit 0b6daf5a6b
4 changed files with 117 additions and 49 deletions

View File

@ -1290,6 +1290,7 @@ void zzlNext(unsigned char *zl, unsigned char **eptr, unsigned char **sptr);
void zzlPrev(unsigned char *zl, unsigned char **eptr, unsigned char **sptr);
unsigned int zsetLength(robj *zobj);
void zsetConvert(robj *zobj, int encoding);
void zsetConvertToZiplistIfNeeded(robj *zobj, size_t maxelelen);
int zsetScore(robj *zobj, robj *member, double *score);
unsigned long zslGetRank(zskiplist *zsl, double score, robj *o);