diff --git a/crates/duckdb/examples/hello-ext/main.rs b/crates/duckdb/examples/hello-ext/main.rs index fb5c8046..2e2dd1c7 100644 --- a/crates/duckdb/examples/hello-ext/main.rs +++ b/crates/duckdb/examples/hello-ext/main.rs @@ -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);