Skip to content

Commit

Permalink
fix sql in thumbnail.c
Browse files Browse the repository at this point in the history
  • Loading branch information
zisoft committed Aug 28, 2024
1 parent 4d771c1 commit ccae5fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dtgtk/thumbnail.c
Original file line number Diff line number Diff line change
Expand Up @@ -1046,7 +1046,7 @@ static gboolean _event_grouping_release(GtkWidget *widget,
sqlite3_stmt *stmt;
DT_DEBUG_SQLITE3_PREPARE_V2(
dt_database_get(darktable.db),
"INSERT OR IGNORE INTO main.selected_images"
"INSERT OR IGNORE INTO main.selected_images (imgid)"
" SELECT id FROM main.images WHERE group_id = ?1", -1, &stmt,
NULL);
DT_DEBUG_SQLITE3_BIND_INT(stmt, 1, thumb->groupid);
Expand Down

0 comments on commit ccae5fd

Please sign in to comment.