This commit is contained in:
2023-08-20 19:53:50 -04:00
parent b2d214a19a
commit b81ccebdb1
2 changed files with 3 additions and 3 deletions

View File

@@ -591,7 +591,7 @@ cJSON *database_incremental_scan_end(database_t *db) {
CRASH_IF_NOT_SQLITE_OK(sqlite3_exec(
db->db,
"INSERT INTO delete_list (id) SELECT id FROM document WHERE marked=0;",
"INSERT INTO delete_list (id) SELECT id FROM document WHERE marked=0 ON CONFLICT DO NOTHING;",
NULL, NULL, NULL
));