We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a6f966 commit 42abf91Copy full SHA for 42abf91
src/raw_statement.rs
@@ -11,7 +11,6 @@ use crate::error::result_from_duckdb_arrow;
11
use arrow::array::{ArrayData, StructArray};
12
use arrow::datatypes::{DataType, Schema, SchemaRef};
13
use arrow::ffi::{ArrowArray, FFI_ArrowArray, FFI_ArrowSchema};
14
-use ffi::DuckDBSuccess;
15
16
// Private newtype for raw sqlite3_stmts that finalize themselves when dropped.
17
// TODO: destroy statement and result
@@ -66,8 +65,7 @@ impl RawStatement {
66
65
67
#[inline]
68
pub fn clear_bindings(&self) -> ffi::duckdb_state {
69
- // unsafe { ffi::sqlite3_clear_bindings(self.ptr) }
70
- DuckDBSuccess
+ unsafe { ffi::duckdb_clear_bindings(self.ptr) }
71
}
72
73
0 commit comments