You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
match std::mem::replace(a,OptionalAggregator::None){
383
395
OptionalAggregator::Some(agg) => agg,
384
396
OptionalAggregator::None => {
385
-
eprintln!("We've written to the aggregator in the xStep callback. If xStep was never called, then ffi::sqlite_aggregate_context() would have returned a NULL pointer");
386
-
std::process::abort();
397
+
assert_fail!("We've written to the aggregator in the xStep callback. If xStep was never called, then ffi::sqlite_aggregate_context() would have returned a NULL pointer.");
387
398
}
388
399
}
389
400
});
@@ -427,26 +438,15 @@ where
427
438
{
428
439
let user_ptr = user_ptr as*constF;
429
440
let f = unsafe{ user_ptr.as_ref()}.unwrap_or_else(|| {
430
-
eprintln!(
431
-
"An unknown error occurred. user_ptr is a null pointer. This should never happen."
432
-
);
433
-
std::process::abort();
441
+
assert_fail!("An unknown error occurred. user_ptr is a null pointer. This should never happen.");
0 commit comments