Skip to content

Commit

Permalink
Fix assert that I adjusted incorrectly
Browse files Browse the repository at this point in the history
  • Loading branch information
jkoritzinsky committed Oct 11, 2024
1 parent 66337e1 commit 098218b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dnmd/access.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ bool create_access_context(mdcursor_t* cursor, col_index_t col_idx, bool make_wr
return false;

uint8_t idx = col_to_index(col_idx, table);
assert(idx < table->row_count);
assert(idx < table->column_count);

// Metadata row indexing is 1-based.
row--;
Expand Down

0 comments on commit 098218b

Please sign in to comment.