From 598b1de52fe07b02fb0f6ec90da06429954a2027 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 25 Jun 2018 13:37:43 +0200 Subject: buildmaster/deletion-links.php: ignore duplicate keys --- buildmaster/deletion-links.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'buildmaster/deletion-links.php') diff --git a/buildmaster/deletion-links.php b/buildmaster/deletion-links.php index 0ec49e8..11541fb 100644 --- a/buildmaster/deletion-links.php +++ b/buildmaster/deletion-links.php @@ -51,7 +51,7 @@ mysql_run_query( ); mysql_run_query( - "INSERT INTO `d_bpir_links` (`dependent`,`depending_on`,`dep_type`)" . + "INSERT IGNORE INTO `d_bpir_links` (`dependent`,`depending_on`,`dep_type`)" . " SELECT `d_bpir`.`id`," . " `itp_bpir`.`id`," . " `dependencies`.`dependency_type`" . -- cgit v1.2.3-70-g09d2