Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug: xcache only save the first key #1406

Merged
merged 5 commits into from
Oct 22, 2013
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix bug: xcache delete not unset key
  • Loading branch information
dreamsxin committed Oct 20, 2013
commit 2127e215f38352d019f4d4e9ad17af4c3b5910c6
2 changes: 1 addition & 1 deletion ext/cache/backend/xcache.c
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ PHP_METHOD(Phalcon_Cache_Backend_Xcache, delete){
if (Z_TYPE_P(keys) == IS_ARRAY) {
PHALCON_INIT_VAR(zero);
ZVAL_LONG(zero, 0);
phalcon_array_unset(&keys, special_key, PH_SEPARATE);
phalcon_array_unset(&keys, prefixed_key, PH_SEPARATE);
phalcon_call_func_p3_noret("xcache_set", special_key, keys, zero);
}

Expand Down