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 #442914 bug #7

Merged
merged 2 commits into from
Sep 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 2 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
v1.8.1. Fix memcached bug: https://bugs.launchpad.net/libmemcached/+bug/442914

v1.8.0. Add support for multi-entry CAS (fbogsany).
Make rails client .delete method more consistent with other APIs

Expand Down
2 changes: 1 addition & 1 deletion ext/libmemcached-0.32/libmemcached/memcached_purge.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ memcached_return memcached_purge(memcached_server_st *ptr)
if (ptr->root->purging || /* already purging */
(memcached_server_response_count(ptr) < ptr->root->io_msg_watermark &&
ptr->io_bytes_sent < ptr->root->io_bytes_watermark) ||
(ptr->io_bytes_sent > ptr->root->io_bytes_watermark &&
(ptr->io_bytes_sent >= ptr->root->io_bytes_watermark &&
memcached_server_response_count(ptr) < 2))
{
return MEMCACHED_SUCCESS;
Expand Down
2 changes: 1 addition & 1 deletion lib/memcached/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
class Memcached
VERSION = '1.8.0'
VERSION = '1.8.1'
end
Loading