From 3f75f994a61d5b61edb1213c837456323e84f3a6 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 9 Jan 2006 08:50:43 +0000 Subject: [PATCH] Change INSERT to REPLACE so we don't get duplicate keys --- includes/cachev.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/cachev.php b/includes/cachev.php index ba714be..f96c7ff 100644 --- a/includes/cachev.php +++ b/includes/cachev.php @@ -173,7 +173,7 @@ class cacheV } $this->registry->db->query(" - INSERT INTO {$this->hash} + REPLACE INTO {$this->hash} (revision, author, dateline, message, files) VALUES " . implode(",\n", $inserts) -- 2.22.5