mirror of
https://github.com/simon987/sist2.git
synced 2025-04-10 05:56:46 +00:00
Fix #406
This commit is contained in:
parent
b2d214a19a
commit
b81ccebdb1
@ -591,7 +591,7 @@ cJSON *database_incremental_scan_end(database_t *db) {
|
|||||||
|
|
||||||
CRASH_IF_NOT_SQLITE_OK(sqlite3_exec(
|
CRASH_IF_NOT_SQLITE_OK(sqlite3_exec(
|
||||||
db->db,
|
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
|
NULL, NULL, NULL
|
||||||
));
|
));
|
||||||
|
|
||||||
|
@ -51,11 +51,11 @@
|
|||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include "git_hash.h"
|
#include "git_hash.h"
|
||||||
|
|
||||||
#define VERSION "3.2.0"
|
#define VERSION "3.2.1"
|
||||||
static const char *const Version = VERSION;
|
static const char *const Version = VERSION;
|
||||||
static const int VersionMajor = 3;
|
static const int VersionMajor = 3;
|
||||||
static const int VersionMinor = 2;
|
static const int VersionMinor = 2;
|
||||||
static const int VersionPatch = 0;
|
static const int VersionPatch = 1;
|
||||||
|
|
||||||
#ifndef SIST_PLATFORM
|
#ifndef SIST_PLATFORM
|
||||||
#define SIST_PLATFORM unknown
|
#define SIST_PLATFORM unknown
|
||||||
|
Loading…
x
Reference in New Issue
Block a user