Skip to content

A reproduction repo that demonstrates a problem I'm having using vacuum with a sqlx+sqlite setup.

Notifications You must be signed in to change notification settings

esmevane/vacuum-reproduction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sqlx vacuum issue reproduction

This is a reproduction repo that demonstrates a few different attempts to create a sqlite memory database and then vacuum its contents into a file.

  1. An attempt with sqlx using a shared cache connection, which silently fails.
  2. An attempt with sqlx with a shared cache pool with a connection limit of 1, which silently fails.
  3. An attempt with rusqlite as a direct attempt, which succeeds.

Usage

The reproduction is done with three functions that make a temporary directory, which can be run directly or with tests.

To run directly:

cargo run

To run via tests:

cargo test

About

A reproduction repo that demonstrates a problem I'm having using vacuum with a sqlx+sqlite setup.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages