We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents eb6d5f0 + 16c44ba commit 28294c9Copy full SHA for 28294c9
1 file changed
bindings/c/src/lib.rs
@@ -720,13 +720,13 @@ pub unsafe extern "C" fn libsql_query_stmt(
720
Ok(rows) => {
721
let rows = Box::leak(Box::new(libsql_rows { result: rows }));
722
*out_rows = libsql_rows_t::from(rows);
723
+ 0
724
}
725
Err(e) => {
726
set_err_msg(format!("Error executing statement: {}", e), out_err_msg);
- return 1;
727
+ 1
728
- };
729
- 0
+ }
730
731
732
#[no_mangle]
0 commit comments