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:
authorNicolas Favre-Felix <n.favrefelix@gmail.com>2011-08-19 14:37:25 +0400
committerNicolas Favre-Felix <n.favrefelix@gmail.com>2011-08-19 14:40:41 +0400
commit7e0fdd19d65601fb2552047553e38026ec98f41c (patch)
tree1b8d4a1657461091c3325525dfa20ec45953ba9d /redis_array.h
parentd9d6e41dc50cbd995a46335f83a469eb5afc70aa (diff)
Set index only for write commands.
Diffstat (limited to 'redis_array.h')
-rw-r--r--redis_array.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/redis_array.h b/redis_array.h
index db38771b..26362c37 100644
--- a/redis_array.h
+++ b/redis_array.h
@@ -26,12 +26,14 @@ typedef struct RedisArray_ {
zval **redis;
zend_bool index;
zval *z_fun; /* key extractor */
+ zval *z_pure_cmds; /* hash table */
struct RedisArray_ *prev;
} RedisArray;
uint32_t crc32(const char *s, size_t sz);
+void redis_array_init(RedisArray *ra);
RedisArray *ra_make_array(HashTable *hosts, zval *z_fun, HashTable *hosts_prev);
zval *ra_find_node(RedisArray *ra, const char *key, int key_len, int *out_pos);