fix(sqlite-native): restore kv error hook#4635
fix(sqlite-native): restore kv error hook#4635NathanFlurry wants to merge 1 commit into04-12-perf_sqlite-native_avoid_cloning_cached_read_chunksfrom
Conversation
PR Review: fix(sqlite-native): restore kv error hookThis PR restores and properly wires the KV error hook in the native SQLite VFS layer, surfacing storage failures through to JavaScript with actionable context. The overall approach is sound. Bugs / Correctness
Using
Both branches of } catch (error) {
wrapNativeStorageError(nativeDb, error);
// silent fall-through if the above ever stops throwing
}
return [];If a future change makes } catch (error) {
throw wrapNativeStorageError(nativeDb, error);
}Or rename to Missing fn take_last_kv_error(&self) -> Option<String> {
unsafe { (*self.ctx_ptr).take_last_error() }
}This needs a Minor Issues
The change from Unrelated bug fixes bundled in The Before merge
What is good
Generated with Claude Code |
ceec0d4 to
ff117f9
Compare
6eac78f to
4e380c8
Compare
ff117f9 to
e25c1b6
Compare
4e380c8 to
7fbbf37
Compare
7fbbf37 to
fe8cf4f
Compare
e25c1b6 to
532364f
Compare

Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context.
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist: