summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/libdnf/libdnf_0.47.0.bb
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2020-05-03 23:15:15 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-05-05 13:18:41 +0100
commit61d34df201cf6498854fa9258c320437b97071a4 (patch)
tree76e9944e77695b692f2a9ed56028cff82fee74bc /meta/recipes-devtools/libdnf/libdnf_0.47.0.bb
parent03c5cfd7611c88ce82d16619a49e3ea9fa7385d8 (diff)
downloadopenembedded-core-contrib-61d34df201cf6498854fa9258c320437b97071a4.tar.gz
libdnf: Use single-quotes around string literals used in SQL statements
If sqlite is built with -DSQLITE_DQS=0 in accordance with https://sqlite.org/quirks.html#dblquote, migration to version 1.2 of the history database would fail with: History database cannot be created: .../var/lib/dnf/history.sqlite. Error: SQLite error on ":memory:": Executing an SQL statement failed: no such column: 1.2 Signed-off-by: Peter Kjellerstedt <pkj@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/libdnf/libdnf_0.47.0.bb')
-rw-r--r--meta/recipes-devtools/libdnf/libdnf_0.47.0.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/libdnf/libdnf_0.47.0.bb b/meta/recipes-devtools/libdnf/libdnf_0.47.0.bb
index 1b4b7e4233..1b06d66b19 100644
--- a/meta/recipes-devtools/libdnf/libdnf_0.47.0.bb
+++ b/meta/recipes-devtools/libdnf/libdnf_0.47.0.bb
@@ -8,6 +8,7 @@ SRC_URI = "git://github.com/rpm-software-management/libdnf;branch=dnf-4-master \
file://0001-Get-parameters-for-both-libsolv-and-libsolvext-libdn.patch \
file://0001-Add-WITH_TESTS-option.patch \
file://0001-Look-fo-sphinx-only-if-documentation-is-actually-ena.patch \
+ file://0001-Use-single-quotes-around-string-literals-used-in-SQL.patch \
"
SRCREV = "8330eea6985c4e4b53796f858de5b6b38b1ddf5c"