TT#121854 fix DBI::errstr typo

Change-Id: I11d9e3f182bde880cb5357d0646f62881205e374
(cherry picked from commit f3da280c60)
mr9.5.6
Kirill Solomko 5 years ago committed by Guillem Jover
parent c5f2337ef1
commit 3976ad3ef1

@ -655,7 +655,7 @@ SQL
DELETE FROM $table WHERE $col < unix_timestamp(date(date_sub(now(), interval ? day))) $limit
SQL
}
$self->error("Cannot delete: $DBI:errstr") if $DBI::err;
$self->error("Cannot delete: $DBI::errstr") if $DBI::err;
$aff //= 0;
$deleted_rows += $aff;
last unless $aff > 0;

Loading…
Cancel
Save