Open LecrisUT opened 3 months ago
I have encountered this issue when trying to package a downstream project where the in-memory sqlite database was simply gone at subsequent accesses. The issue is that URI format is implicitly used, but the flag is never set https://github.com/launchbadge/sqlx/blob/1388fc8acc07b41ab38f4dc096f03ba9c7b851f8/sqlx-sqlite/src/options/parse.rs#L18-L23
This issue was not detected because only the bundled libsqlite3-sys version is tested which has the USE_URI compile flag enabled. On distros, however this is not yet enabled, and it is just started to be investigated ^1
libsqlite3-sys
USE_URI
Related to:
@abonander can you review this PR?
@abonander Gentle ping
Does your PR solve an issue?
I have encountered this issue when trying to package a downstream project where the in-memory sqlite database was simply gone at subsequent accesses. The issue is that URI format is implicitly used, but the flag is never set https://github.com/launchbadge/sqlx/blob/1388fc8acc07b41ab38f4dc096f03ba9c7b851f8/sqlx-sqlite/src/options/parse.rs#L18-L23
This issue was not detected because only the bundled
libsqlite3-sys
version is tested which has theUSE_URI
compile flag enabled. On distros, however this is not yet enabled, and it is just started to be investigated ^1Related to: