diff options
author | Nicolas Favre-Felix <n.favrefelix@gmail.com> | 2010-07-26 19:38:02 +0400 |
---|---|---|
committer | Nicolas Favre-Felix <n.favrefelix@gmail.com> | 2010-07-26 19:38:02 +0400 |
commit | 8b7de818d101ca1f64affda549a3293bd100c382 (patch) | |
tree | cdafebe643c9a3e7c505115cf84e1b9a5fb9387f /redis.c | |
parent | 049727f3e637aece542a6a19ea0f8fdb4c5ee399 (diff) |
MULTI/EXEC updates and documentation.
Diffstat (limited to 'redis.c')
-rwxr-xr-x | redis.c | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -3954,9 +3954,9 @@ PHP_METHOD(Redis, multi) int response_len, cmd_len; char * response; zval *object; - double multi_value; + long multi_value = REDIS_MULTI; - if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Od", + if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "O|l", &object, redis_ce, &multi_value) == FAILURE) { RETURN_FALSE; } @@ -3974,11 +3974,6 @@ PHP_METHOD(Redis, multi) exit(-1); } - /* - head = malloc(sizeof(fold_item)); - current = head; - current->function_name = strdup("__begin__"); - */ current = NULL; IF_MULTI() { |