diff options
author | michael-grunder <michael.grunder@gmail.com> | 2014-05-30 21:22:42 +0400 |
---|---|---|
committer | michael-grunder <michael.grunder@gmail.com> | 2015-05-06 00:11:15 +0300 |
commit | 7da57ed45baf4c8bf5f6a9af7619f9011b16e3d1 (patch) | |
tree | 0fc1644c08e4f6872212b5b7e88ef6d21cd80a02 /config.m4 | |
parent | 8e12374b44de6565c59006cc0c4bff56552b5c80 (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-x | config.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |