From ede6a3a38816ed721a3a6ec961e575a3fc5412c7 Mon Sep 17 00:00:00 2001 From: Beforerr Date: Fri, 2 Oct 2026 20:58:11 -0600 Subject: [PATCH] Call deserialize through invokelatest Every query compiles a path into Serialization.deserialize for BLOB columns. That path is easily invalidated (e.g. by loading LibGit2), which then forces recompiling query code even when no BLOB is ever read. A dynamic call cuts the dependency; deserializing is already slow, so the dispatch cost doesn't matter. --- src/SQLite.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SQLite.jl b/src/SQLite.jl index 6a67362..daac231 100644 --- a/src/SQLite.jl +++ b/src/SQLite.jl @@ -589,7 +589,7 @@ function sqldeserialize(r) ) if ret == 0 try - v = Serialization.deserialize(IOBuffer(r)) + v = Base.invokelatest(Serialization.deserialize, IOBuffer(r)) return v.object catch e throw(