Use REPLACE INTO for resiliency

This commit is contained in:
Brian Huisman 2023-09-12 10:44:14 -04:00
parent d4e0e409fe
commit 4c78a5245f

View file

@ -907,7 +907,7 @@ $insertTemp = $_DDATA['pdo']->prepare(
;'
);
$insertNotModified = $_DDATA['pdo']->prepare(
'INSERT INTO `'.$_DDATA['tbprefix'].'crawltemp` (
'REPLACE INTO `'.$_DDATA['tbprefix'].'crawltemp` (
`url`, `url_sort`, `title`, `description`, `keywords`, `category`,
`weighted`, `links`, `content`, `content_mime`, `content_charset`,
`content_checksum`, `status`, `flag_unlisted`, `flag_updated`,