public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Alex Kashchenko <akashche@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/soci] update-to-4.1.4: add sqlite-params-default-init-fix.patch
Date: Sat, 20 Jun 2026 04:39:41 GMT [thread overview]
Message-ID: <178193038160.1.18139674363010908.rpms-soci-403d6589f172@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/soci
Branch : update-to-4.1.4
Commit : 403d6589f17274c77dfc236aa109bac3862ffddb
Author : Alex Kashchenko <akashche@redhat.com>
Date : 2018-09-06T11:40:25+00:00
Stats : +18/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/soci/c/403d6589f17274c77dfc236aa109bac3862ffddb?branch=update-to-4.1.4
Log:
add sqlite-params-default-init-fix.patch
---
diff --git a/soci.spec b/soci.spec
index c24e1d5..b9cdde4 100644
--- a/soci.spec
+++ b/soci.spec
@@ -31,6 +31,8 @@ License: Boost
URL: http://%{name}.sourceforge.net
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Patch0: soci-001-fix-auto_ptr-c++11.patch
+Patch1: sqlite-params-default-init-fix.patch
+
BuildRequires: gcc-c++
BuildRequires: cmake
@@ -195,6 +197,7 @@ library. The documentation is the same as at the %{name} web page.
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
# Rename change-log and license file, so that they comply with
# packaging standard
diff --git a/sqlite-params-default-init-fix.patch b/sqlite-params-default-init-fix.patch
new file mode 100644
index 0000000..c48a868
--- /dev/null
+++ b/sqlite-params-default-init-fix.patch
@@ -0,0 +1,15 @@
+diff --git a/backends/sqlite3/standard-use-type.cpp b/backends/sqlite3/standard-use-type.cpp
+index 43ed4f0..123c075 100644
+--- a/backends/sqlite3/standard-use-type.cpp
++++ b/backends/sqlite3/standard-use-type.cpp
+@@ -74,7 +74,9 @@ void sqlite3_standard_use_type_backend::pre_use(indicator const * ind)
+
+ if (statement_.useData_[0].size() < static_cast<std::size_t>(position_))
+ {
+- statement_.useData_[0].resize(position_);
++ sqlite3_column empty;
++ empty.isNull_ = true;
++ statement_.useData_[0].resize(position_, empty);
+ }
+
+ if (ind != NULL && *ind == i_null)
reply other threads:[~2026-06-20 4:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178193038160.1.18139674363010908.rpms-soci-403d6589f172@fedoraproject.org \
--to=akashche@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox