MCPcopy Index your code
hub / github.com/RustPython/RustPython / check

Method check

crates/stdlib/src/_sqlite3.rs:2633–2639  ·  view source on GitHub ↗
(&self, ret: c_int, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

2631 }
2632
2633 fn check(&self, ret: c_int, vm: &VirtualMachine) -> PyResult<()> {
2634 if ret == SQLITE_OK {
2635 Ok(())
2636 } else {
2637 Err(self.connection.db_lock(vm)?.error_extended(vm))
2638 }
2639 }
2640 }
2641
2642 impl AsMapping for Blob {

Callers 14

blobopenMethod · 0.45
create_collationMethod · 0.45
set_authorizerMethod · 0.45
set_trace_callbackMethod · 0.45
readMethod · 0.45
writeMethod · 0.45
subscriptMethod · 0.45
ass_subscriptMethod · 0.45
openMethod · 0.45
_execMethod · 0.45
prepareMethod · 0.45

Calls 3

error_extendedMethod · 0.80
db_lockMethod · 0.80
ErrClass · 0.50

Tested by

no test coverage detected