From b37b65c78ea321f72ae71b20d9fc34b60da297e5 Mon Sep 17 00:00:00 2001 From: Rene Krenn Date: Fri, 5 Aug 2022 12:32:43 +0200 Subject: [PATCH] TT#187551 trunacte long data from redis Change-Id: I738606e12e2a01fc7a17640ef56eb4b1630bcd62 (cherry picked from commit ab400e63c6623410fe1f9d2f0a4db9001b0d8960) --- 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 9319101..2e2bd28 100644 --- a/lib/NGCP/Cleanup.pm +++ b/lib/NGCP/Cleanup.pm @@ -739,7 +739,7 @@ SQL $cursor = shift @{ $res }; my $keys = shift @{ $res }; - my $sql = "INSERT INTO $table (" . join(',', @cols) . ") VALUES "; + my $sql = "INSERT IGNORE INTO $table (" . join(',', @cols) . ") VALUES "; my %vals = (); foreach my $key (@{ $keys }) {