diff options
author | Michael Grunder <michael.grunder@gmail.com> | 2018-11-06 19:46:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-06 19:46:02 +0300 |
commit | 18dc2aacd6ab25c2aaf92a43d32d8eaf4235dcc0 (patch) | |
tree | 42fd0f7d8c63b398948bac19b66096363a19efea /library.h | |
parent | b5093910b94a2795088a8417946b294f9e780087 (diff) |
32bit xclaim fix (#1444)
This should fix the XCLAIM issue on 32-bit PHP installs.
This change will allow the user to pass the XCLAIM TIME option pretty much any way they want (string, long, or float) and it should work. Note that in 32-bit PHP they will only be able to pass exact values <= 2^53 as PHP will use a double precision floating point for integer overflows.
Diffstat (limited to 'library.h')
-rw-r--r-- | library.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -18,6 +18,7 @@ int redis_cmd_init_sstr(smart_string *str, int num_args, char *keyword, int keyw int redis_cmd_append_sstr(smart_string *str, char *append, int append_len); int redis_cmd_append_sstr_int(smart_string *str, int append); int redis_cmd_append_sstr_long(smart_string *str, long append); +int redis_cmd_append_sstr_i64(smart_string *str, int64_t append); int redis_cmd_append_sstr_dbl(smart_string *str, double value); int redis_cmd_append_sstr_zval(smart_string *str, zval *z, RedisSock *redis_sock TSRMLS_DC); int redis_cmd_append_sstr_key(smart_string *str, char *key, strlen_t len, RedisSock *redis_sock, short *slot); |