Changeset 2036


Ignore:
Timestamp:
06/06/17 19:03:06 (7 years ago)
Author:
nanardon
Message:

Fix stat cleanup too large

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Bases/Sql/Stat.pm

    r1942 r2036  
    195195 
    196196        my $clean = $self->db->prepare( 
    197             q{ DELETE FROM statsentry where tstamp < ? } 
     197            q{ DELETE FROM statsentry where tstamp < ? and okey = ? } 
    198198        ); 
    199199 
    200         $clean->execute($limit->iso8601); 
     200        $clean->execute($limit->iso8601, $self->Iid); 
    201201    } 
    202202 
Note: See TracChangeset for help on using the changeset viewer.