From 3976ad3ef130201d74c31959c314ef45ad79f779 Mon Sep 17 00:00:00 2001 From: Kirill Solomko Date: Tue, 17 Aug 2021 10:21:58 +0200 Subject: [PATCH] TT#121854 fix DBI::errstr typo Change-Id: I11d9e3f182bde880cb5357d0646f62881205e374 (cherry picked from commit f3da280c6064105468de429d90365d1fcee23573) --- lib/NGCP/Cleanup.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/NGCP/Cleanup.pm b/lib/NGCP/Cleanup.pm index ce04306..3416987 100644 --- a/lib/NGCP/Cleanup.pm +++ b/lib/NGCP/Cleanup.pm @@ -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;