Oops, I removed the sqlite3_step in 42d9d1e

This commit is contained in:
augustin64 2023-10-15 11:43:47 +02:00
parent 6c8c2f7192
commit e03dff6589
2 changed files with 3 additions and 1 deletions

View File

@ -157,6 +157,8 @@ int update_task(task_t t) {
sprintf(str_due_to, "%ld", t.due_to); sprintf(str_due_to, "%ld", t.due_to);
sqlCheck( sqlite3_bind_text(stmt, 4, str_due_to, -1, SQLITE_STATIC) ); sqlCheck( sqlite3_bind_text(stmt, 4, str_due_to, -1, SQLITE_STATIC) );
sqlite3_step(stmt);
sqlCheck( sqlite3_finalize(stmt) ); sqlCheck( sqlite3_finalize(stmt) );
sqlCheck( sqlite3_close(db) ); sqlCheck( sqlite3_close(db) );
notify_change(); notify_change();

View File

@ -1,7 +1,7 @@
#ifndef DEF_CONFIG_H #ifndef DEF_CONFIG_H
#define 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 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 #define NEW_TASK_ID_MAX_RETRIES 10000 // number of retries before giving up