Skip to content

Commit

Permalink
[Issue darktable-org#6124] "Update Preset" operation sometimes fails …
Browse files Browse the repository at this point in the history
…silently in export module
  • Loading branch information
matt-maguire authored and TurboGit committed Sep 1, 2020
1 parent bb23256 commit 7c3e329
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ static void menuitem_update_preset(GtkMenuItem *menuitem, dt_lib_module_info_t *
// commit all the module fields
sqlite3_stmt *stmt;
DT_DEBUG_SQLITE3_PREPARE_V2(dt_database_get(darktable.db),
"UPDATE data.presets SET operation=?1, op_version=?2, op_params=?3 WHERE name=?4",
"UPDATE data.presets SET op_version=?2, op_params=?3 WHERE name=?4 AND operation=?1",
-1, &stmt, NULL);

DT_DEBUG_SQLITE3_BIND_TEXT(stmt, 1, minfo->plugin_name, -1, SQLITE_TRANSIENT);
Expand Down

0 comments on commit 7c3e329

Please sign in to comment.