Fixed typo in SQL query
This commit is contained in:
parent
a88c9b93c5
commit
efe05d8469
2 changed files with 2 additions and 2 deletions
|
|
@ -118,7 +118,7 @@ sub getNamespaceSize {
|
|||
my $self = shift;
|
||||
my $expiresModifier = shift || 0;
|
||||
$self->session->db->write("delete from cache where expires < ?",[time()+$expiresModifier]);
|
||||
my ($size) = $self->session->db->quickArray("select sum(size) from cache where namepsace=?",[$self->{_namespace}]);
|
||||
my ($size) = $self->session->db->quickArray("select sum(size) from cache where namespace=?",[$self->{_namespace}]);
|
||||
return $size;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue