https://src.bluestatic.org
/
viewsvn.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51e559a
)
Change INSERT to REPLACE so we don't get duplicate keys
author
Robert Sesek <rsesek@bluestatic.org>
Mon, 9 Jan 2006 08:50:43 +0000
(08:50 +0000)
committer
Robert Sesek <rsesek@bluestatic.org>
Mon, 9 Jan 2006 08:50:43 +0000
(08:50 +0000)
includes/cachev.php
patch
|
blob
|
history
diff --git
a/includes/cachev.php
b/includes/cachev.php
index ba714be2f582e83681198a7d12ff0a72c29825fe..f96c7ff232057f2340d0a4ab124646873b37a754 100644
(file)
--- 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)