-
I'm having some issues attempting to use What I'm attempting to do:
The problem is this: whenever I attempt to run Here's an example tracing log from a github action running the tests with tracing on:
Things I've already tried:
I'm not sure if I'm misusing things still, but I'm pretty sure at this point that I'm not, and something else is going on. I'm happy to dig further myself if anyone knows what part of the codebase I'd want to look at. Is this a bug? Am I holding it wrong? Should I use a different library for just this one case? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I wanted to update here since, although I haven't solved this, I have figured out a workaround. The workaround. Changing the invocation string for the connection from These two statements seem very close to me in terms of the connection configuration they yield: let options = dbg!(sqlx::sqlite::SqliteConnectOptions::from_str(":memory:"))?;
let options = dbg!(sqlx::sqlite::SqliteConnectOptions::from_str(""))?; Here's that output:
What I've tried already. I tried to line up all the above configuration one way or the other, everything except What would have helped. These two parts of the system are completely opaque and that made debugging a challenge:
Is there any way to get around either of these? |
Beta Was this translation helpful? Give feedback.
I wanted to update here since, although I haven't solved this, I have figured out a workaround.
The workaround. Changing the invocation string for the connection from
":memory:"
(a memory-mode db) to""
(a temp file that sqlite manages) seems like it's enough of a difference for thevacuum
andattach
statements to start working.These two statements seem very close to me in terms of the connection configuration they yield:
Here's that output: