Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichael-grunder <michael.grunder@gmail.com>2018-04-07 18:23:30 +0300
committerMichael Grunder <michael.grunder@gmail.com>2018-04-10 22:07:06 +0300
commit411b6aa5b197b79dec1aea99af912ac4950062a6 (patch)
tree438a5fba873c546aabfe25089eb023cb3c74b062 /redis_commands.h
parentdba618a1e06ad2a99463631cbad5911b9fb410da (diff)
Adds STORE and STOREDIST to GEORADIUS[BYMEMBER]
* Adds the STORE and STOREDIST options to GEORADIUS[BYMEMBER] for both Redis and RedisCluster classes. We attempt to protect the caller from CROSSLOT errors on the client side so as to make it obvious when that is happening. * Created a struct to carry around GEORADIUS options as there are now two more and there were already a lot. * Moved the structs/enums to handle GEORADIUS into the source file instead of header as they aren't needed outside of redis_commands.c
Diffstat (limited to 'redis_commands.h')
-rw-r--r--redis_commands.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/redis_commands.h b/redis_commands.h
index f2e9e4fa..978c1026 100644
--- a/redis_commands.h
+++ b/redis_commands.h
@@ -21,13 +21,6 @@ typedef struct subscribeContext {
zend_fcall_info_cache cb_cache;
} subscribeContext;
-/* Georadius sort type */
-typedef enum geoSortType {
- SORT_NONE,
- SORT_ASC,
- SORT_DESC
-} geoSortType;
-
/* Construct a raw command */
int redis_build_raw_cmd(zval *z_args, int argc, char **cmd, int *cmd_len TSRMLS_DC);
/* Construct a script command */