Skip to content

Commit

Permalink
Fix error on setting length
Browse files Browse the repository at this point in the history
  • Loading branch information
Swoorup committed Jun 16, 2024
1 parent 60e4f77 commit 59c19b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/duckdb/examples/hello-ext/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ impl VTab for HelloVTab {

unsafe {
if (*init_info).done {
output.set_len(0);
data_chunk.set_len(0);
} else {
(*init_info).done = true;
data_chunk.reserve(1);
Expand Down

0 comments on commit 59c19b0

Please sign in to comment.