Changeset 790
- Timestamp:
- 07/23/08 19:18:17 (16 months ago)
- Location:
- trunk/api/perl
- Files:
-
- 1 added
- 2 modified
-
ChangeLog (modified) (1 diff)
-
lib/Cache/Memcached.pm (modified) (1 diff)
-
t/100_flush_bug.t (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/api/perl/ChangeLog
r710 r790 1 * flush_all now only returns success if there is a proper reply from all 2 servers - Yann Kerherve <yann@sixapart.com> 3 1 4 * 'noreply' support from Tomash Brechko <tomash.brechko@gmail.com> 2 5 -
trunk/api/perl/lib/Cache/Memcached.pm
r713 r790 784 784 my $sock = $self->sock_to_host($host); 785 785 my @res = $self->run_command($sock, "flush_all\r\n"); 786 $success = 0 unless ( @res);786 $success = 0 unless (scalar @res == 1 && (($res[0] || "") eq "OK\r\n")); 787 787 } 788 788
