<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/admin/netdata/patches/020-use-the-system-SQLite-library.patch, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git-03.infra.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/'/>
<updated>2026-11-18T07:19:47Z</updated>
<entry>
<title>netdata: use the system SQLite</title>
<updated>2026-11-18T07:19:47Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2026-11-15T11:30:31Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=1073e61fb3928dc7b6d30d60bd58c1ca3cf41659'/>
<id>urn:sha1:1073e61fb3928dc7b6d30d60bd58c1ca3cf41659</id>
<content type='text'>
netdata compiles its own copy of SQLite 3.36.0 from June 2021 into the
daemon. Link the daemon against libsqlite3 instead, so that SQLite gets
its updates from the sqlite3 package.

On aarch64_generic the daemon shrinks from 2386355 to 1365700 bytes.
libsqlite3 has 1110402 bytes there, so an installation without it grows
by about 90 kB in total and one that already has it saves 1 MB.

The OpenWrt library is built without UPDATE and DELETE with LIMIT. The
only statement that needs it is in the cloud code, which the package
does not build, and the unit test skips its two LIMIT statements when
the library lacks the option.

Tested on aarch64 with libsqlite3 3.54.1: upgrade from the previous
release over an existing database, health log written and read back
after a restart, a streaming parent with one child and the built-in
unit tests.

Signed-off-by: Josef Schlehofer &lt;pepe.schlehofer@gmail.com&gt;
</content>
</entry>
</feed>
