Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b00060c

Browse files
committed
Don't check the number affected keys in PS_UPDATE_TIMESTAMP_FUNC
1 parent 9a1b7bd commit b00060c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

redis_session.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@ PS_UPDATE_TIMESTAMP_FUNC(redis)
724724
return FAILURE;
725725
}
726726

727-
if (response_len == 2 && response[0] == ':' && response[1] == '1') {
727+
if (response_len == 2 && response[0] == ':') {
728728
efree(response);
729729
return SUCCESS;
730730
} else {

0 commit comments

Comments
 (0)