We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28294c9 commit a1ca6b1Copy full SHA for a1ca6b1
1 file changed
bindings/c/src/lib.rs
@@ -791,13 +791,13 @@ pub unsafe extern "C" fn libsql_query(
791
Ok(rows) => {
792
let rows = Box::leak(Box::new(libsql_rows { result: rows }));
793
*out_rows = libsql_rows_t::from(rows);
794
+ 0
795
}
796
Err(e) => {
797
set_err_msg(format!("Error executing statement: {}", e), out_err_msg);
- return 1;
798
+ 1
799
- };
800
- 0
+ }
801
802
803
#[no_mangle]
0 commit comments