chunk deletion wasn't working properly
This commit is contained in:
parent
75aa3b2468
commit
8c6b0e3fc3
1 changed files with 2 additions and 1 deletions
|
|
@ -66,7 +66,8 @@ A partial composite key to remove.
|
|||
|
||||
sub deleteChunk {
|
||||
my $self = shift;
|
||||
$self->session->db->write("delete from cache where namespace=? and cachekey like ?",[$self->{_namespace}, $self->{_key}.'%']);
|
||||
my $key = $self->parseKey(shift);
|
||||
$self->session->db->write("delete from cache where namespace=? and cachekey like ?",[$self->{_namespace}, $key.'%']);
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue