radicle: Use "bundled" sqlite dependency
Our build was faking the inclusion of SQLite and dynamically linking it in the 'radicle' crate and other components. This patch solves the following error and requires reinstallation of the `radicle-cli`, `radicle-node`, and, if used, the `radicle-httpd` ``` ✗ Sync failed: internal error: malformed database schema (node-policies) - near "strict": syntax error (code 11): malformed database schema (node-policies) - near "strict": syntax error (code 11) ``` Tested-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com> Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
This commit is contained in:
parent
3d803b2498
commit
431a389944
|
|
@ -1920,6 +1920,7 @@ dependencies = [
|
||||||
"serde_json",
|
"serde_json",
|
||||||
"siphasher",
|
"siphasher",
|
||||||
"sqlite",
|
"sqlite",
|
||||||
|
"sqlite3-src",
|
||||||
"tempfile",
|
"tempfile",
|
||||||
"thiserror",
|
"thiserror",
|
||||||
"unicode-normalization",
|
"unicode-normalization",
|
||||||
|
|
@ -2106,7 +2107,6 @@ dependencies = [
|
||||||
"serde_json",
|
"serde_json",
|
||||||
"snapbox",
|
"snapbox",
|
||||||
"sqlite",
|
"sqlite",
|
||||||
"sqlite3-src",
|
|
||||||
"tempfile",
|
"tempfile",
|
||||||
"thiserror",
|
"thiserror",
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,6 @@ qcheck = { version = "1", default-features = false, optional = true }
|
||||||
# through radicle
|
# through radicle
|
||||||
radicle-git-ext = { version = "0.5.0", features = ["serde"] }
|
radicle-git-ext = { version = "0.5.0", features = ["serde"] }
|
||||||
sqlite = { version = "0.30.3" }
|
sqlite = { version = "0.30.3" }
|
||||||
sqlite3-src = { version = "0.4.0", features = ["bundled"] } # Ensures static linking
|
|
||||||
scrypt = { version = "0.10.0", default-features = false }
|
scrypt = { version = "0.10.0", default-features = false }
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde = { version = "1", features = ["derive"] }
|
||||||
serde_json = { version = "1", features = ["preserve_order"] }
|
serde_json = { version = "1", features = ["preserve_order"] }
|
||||||
|
|
|
||||||
|
|
@ -56,6 +56,10 @@ version = "1"
|
||||||
default-features = false
|
default-features = false
|
||||||
optional = true
|
optional = true
|
||||||
|
|
||||||
|
[dependencies.sqlite3-src]
|
||||||
|
version = "0.4"
|
||||||
|
features = ["bundled"]
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
pretty_assertions = { version = "1.3.0" }
|
pretty_assertions = { version = "1.3.0" }
|
||||||
qcheck-macros = { version = "1", default-features = false }
|
qcheck-macros = { version = "1", default-features = false }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue