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>2014-05-30 21:22:42 +0400
committermichael-grunder <michael.grunder@gmail.com>2015-05-06 00:11:15 +0300
commit7da57ed45baf4c8bf5f6a9af7619f9011b16e3d1 (patch)
tree0fc1644c08e4f6872212b5b7e88ef6d21cd80a02 /config.m4
parent8e12374b44de6565c59006cc0c4bff56552b5c80 (diff)
Initial commit of redis_commands.c
Given that non cluster and cluster based redis objects should act exactly the same way (in terms of argument handling/processing) we're extracting the parsing of arguments and command construction from being directly inside of the PHP_METHOD itself. This way, we don't repeat ourselves having two identical places where we do this but in a slightly different way. Every command takes a RedisSock pointer (coming from redis_sock_get in a standard redis class, and cluster->flags in a cluster). If we're passed a pointer for slot, we'll hash one of the keys to return it's proper slot.
Diffstat (limited to 'config.m4')
-rwxr-xr-xconfig.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/config.m4 b/config.m4
index af8c5f33..3a80badf 100755
--- a/config.m4
+++ b/config.m4
@@ -99,5 +99,5 @@ dnl Check for igbinary
dnl
dnl PHP_SUBST(REDIS_SHARED_LIBADD)
- PHP_NEW_EXTENSION(redis, redis.c library.c redis_session.c redis_array.c redis_array_impl.c redis_cluster.c cluster_library.c, $ext_shared)
+ PHP_NEW_EXTENSION(redis, redis.c redis_commands.c library.c redis_session.c redis_array.c redis_array_impl.c redis_cluster.c cluster_library.c, $ext_shared)
fi