getResult* return failure status after successful retry #15

trvrnrth opened this Issue Apr 2, 2012 · 1 comment


None yet
2 participants

trvrnrth commented Apr 2, 2012

After a failed operation (get/set etc.) followed by a successful retry getResultCode and getResultMessage return the status from the initial failure not the expected success code/message.

This is because in this scenario i_obj->rescode is not reset to MEMCACHED_SUCCESS after the retry goto. As far as I can see the best place to do this would be in php_memc_handle_error though I may have missed a reason for this not already being the case.


iliaal commented Nov 3, 2012

Fixed, the fix will be part of the next release.

iliaal closed this Nov 3, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment