Skip to content

Commit

Permalink
(rasqal_distinct_rowsource_read_row): Deep copy row
Browse files Browse the repository at this point in the history
  • Loading branch information
dajobe committed Sep 21, 2023
1 parent 0bb0f63 commit b03a6df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rasqal_rowsource_distinct.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ rasqal_distinct_rowsource_read_row(rasqal_rowsource* rowsource, void *user_data)
}

if(row) {
row = rasqal_new_row_from_row(row);
row = rasqal_new_row_from_row_deep(row);
rasqal_row_set_rowsource(row, rowsource);
row->offset = con->offset++;
}
Expand Down

0 comments on commit b03a6df

Please sign in to comment.