Skip to content

Commit

Permalink
CI: more print debug
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandreyc committed May 16, 2024
1 parent 31b7e66 commit d695dcb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion rust/core/src/driver_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,12 @@ impl Driver for ManagedDriver {
// DatabaseInit
let mut error = ffi::FFI_AdbcError::with_driver(driver);
let method = driver_method!(driver, DatabaseInit);
let status = unsafe { method(&mut database, &mut error) };
println!("DatabaseInit({:p}) = {:?}", method, method);
println!("driver({:p}) = {:?}", &driver, driver);
println!("database({:p}) = {:?}", &database, database);
println!("error({:p}) = {:?}", &error, error);
let status = unsafe { method(&mut database, &mut error) }; // THIS LINE SEGFAULT
println!("UNREACHABLE!");
check_status(status, error)?;

let inner = Arc::new(ManagedDatabaseInner {
Expand Down

0 comments on commit d695dcb

Please sign in to comment.