Skip to content

Commit

Permalink
add rlMSet command
Browse files Browse the repository at this point in the history
add rlMSet command
  • Loading branch information
shenzhe committed Mar 13, 2013
1 parent 6b4dffe commit c287caa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions php_redis.h
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ PHP_METHOD(Redis, rlHDel);
PHP_METHOD(Redis, dsHLen);
PHP_METHOD(Redis, dsHVals);
PHP_METHOD(Redis, dsHSetNx);
PHP_METHOD(Redis, rlMSet);



Expand Down
5 changes: 5 additions & 0 deletions redis.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ static zend_function_entry redis_functions[] = {
PHP_ME(Redis, rlGet, NULL, ZEND_ACC_PUBLIC)
PHP_ME(Redis, rlSet, NULL, ZEND_ACC_PUBLIC)
PHP_ME(Redis, rlDel, NULL, ZEND_ACC_PUBLIC)
PHP_ME(Redis, rlMSet, NULL, ZEND_ACC_PUBLIC)
PHP_ME(Redis, dsAppend, NULL, ZEND_ACC_PUBLIC)
PHP_ME(Redis, dsIncrBy, NULL, ZEND_ACC_PUBLIC)
PHP_ME(Redis, dsHGet, NULL, ZEND_ACC_PUBLIC)
Expand Down Expand Up @@ -6468,6 +6469,10 @@ PHP_METHOD(Redis, dsMSet) {
generic_mset(INTERNAL_FUNCTION_PARAM_PASSTHRU, "DS_MSET", redis_boolean_response);
}

PHP_METHOD(Redis, rlMSet) {
generic_mset(INTERNAL_FUNCTION_PARAM_PASSTHRU, "RL_MSET", redis_boolean_response);
}


PHP_METHOD(Redis, dsAppend)
{
Expand Down

0 comments on commit c287caa

Please sign in to comment.