From e03dff65896fbdfe30837d2ce33a391714f4bc2d Mon Sep 17 00:00:00 2001 From: augustin64 Date: Sun, 15 Oct 2023 11:43:47 +0200 Subject: [PATCH] Oops, I removed the sqlite3_step in 42d9d1e --- src/main/db.c | 2 ++ src/main/include/config.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/db.c b/src/main/db.c index 1e96b1f..71e5c11 100644 --- a/src/main/db.c +++ b/src/main/db.c @@ -157,6 +157,8 @@ int update_task(task_t t) { sprintf(str_due_to, "%ld", t.due_to); sqlCheck( sqlite3_bind_text(stmt, 4, str_due_to, -1, SQLITE_STATIC) ); + sqlite3_step(stmt); + sqlCheck( sqlite3_finalize(stmt) ); sqlCheck( sqlite3_close(db) ); notify_change(); diff --git a/src/main/include/config.h b/src/main/include/config.h index 40c3ada..34a65c3 100644 --- a/src/main/include/config.h +++ b/src/main/include/config.h @@ -1,7 +1,7 @@ #ifndef DEF_CONFIG_H #define DEF_CONFIG_H -#define VERSION "1.3.2" +#define VERSION "1.3.3" #define MAX_TASK_ID 10000 // max is set to MAX_TASK_ID-1 #define NEW_TASK_ID_MAX_RETRIES 10000 // number of retries before giving up