Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
555 commits
Select commit Hold shift + click to select a range
4c2f7e5
Add autosetup/README.md - maintenance-related docs for SQLite develop…
Nov 6, 2024
199925a
Add a section to autosetup/README.md describing the motivations for t…
Nov 6, 2024
2e29bcd
Split the motivation of the makefile var naming convention into its d…
Nov 6, 2024
ebb3e03
Minor doc tweaks and typo fixes.
Nov 6, 2024
6da414e
When constructing the auto-reconfigure commands, only quote args whic…
Nov 6, 2024
598d0d1
Minor doc tweaks.
Nov 6, 2024
7e3e031
Fix typo in the LICENSE.md file.
Nov 6, 2024
9243eb4
Elaborate on how autosetup selects a tclsh to use.
Nov 6, 2024
61cf538
Re-phrase some (#if !SQLITE_CORE) to (#ifndef SQLITE_CORE), as discus…
Nov 6, 2024
8acaa6d
Add tests for xInstToken() and prefix queries with various fts5 confi…
Nov 6, 2024
67a3914
Merge latest trunk changes into this branch.
Nov 6, 2024
19d87fa
Fix an FTS3 corruption test case that depends on the specific pseudo-…
Nov 6, 2024
347e483
For platforms where tclsh is found but tclConfig.sh is not, set HAVE_…
Nov 7, 2024
968dc24
Change several 'file exists' checks for tclsh to file-isexec because …
Nov 7, 2024
197fa12
Add mention of file-isexec in autosetup/README.md.
Nov 7, 2024
d9345f3
When --with-linenoise refers to the msteveb flavor and jimsh is the T…
Nov 7, 2024
00e863c
Document the purpose of a global auto.def var added in [0d558318172d].
Nov 7, 2024
4c3139d
Add some internal docs to auto.def explaining certain passages.
Nov 7, 2024
b4afb2f
Extend the list of "truthy" config values to include "true". Related …
Nov 7, 2024
88e6a94
Autosetup doc touchups.
Nov 7, 2024
c00d89d
Further improvements to the ".mode json" output in the CLI.
Nov 7, 2024
c7882b9
tcl configuration: --with-tcl=prefix is equivalent to passing the --p…
Nov 7, 2024
6e68201
Doc touchups in the line-editing feature check code.
Nov 7, 2024
ee9950d
Extend the set of --flags which get cleared/unset when using --with-w…
Nov 7, 2024
d42855e
Fix an OOB write that could occur in fts3 when dealing with corrupt d…
Nov 7, 2024
6f95d95
Disable setting of the SONAME (enabled by [2a2419ef742]), as it's not…
Nov 8, 2024
3b306aa
Support clients passing in LDFLAGS to configure/make, but in a more l…
Nov 8, 2024
6280108
More closely emulate the legacy build's handling of LDFLAGS, permitti…
Nov 8, 2024
a4093dc
Add missing CFLAGS.intree_includes to T.compile.tcl to fix build of t…
Nov 8, 2024
a700db9
Add 'tcl' makefile target which builds all but tclextension (which do…
Nov 8, 2024
4441897
Remove one dep from .tclenv.sh which is only valid for configure-driv…
Nov 8, 2024
23cfa01
Fix an assert() failure in sqlite3recover.c.
Nov 8, 2024
4ddeccf
Increase the minimum SQLITE_LENGTH_LIMIT from 1 to 30 to avoid proble…
Nov 8, 2024
497f848
Remove an unused lib import from auto.def.
Nov 9, 2024
5c792a4
Remove three unused files from autosetup/.
Nov 9, 2024
e9b04e5
Simplify usage of proj-assert by making the expr prefix implicit. Add…
Nov 9, 2024
f1b88ec
Fix a deps problem, introduced in [1bd9de719], which breaks the build…
Nov 9, 2024
a864ac1
Fix a case in fts3 where a corrupt database record was not being hand…
Nov 9, 2024
45c2b18
Rename proj-define-if-opt-truthy to the more accurate, and less verbo…
Nov 11, 2024
d29a369
Doc update to account for [05073350087b].
Nov 11, 2024
e4d4d73
Use Win32 APIs to read/write the console in Windows unless the
Nov 11, 2024
074cad3
Wrap some exceptionally long lines in main.mk. Add option to override…
Nov 11, 2024
be46f93
Add the ".dbtotxt" command to the CLI.
Nov 11, 2024
0cd2fff
Fix the fts5 trigram tokenizer so that it handles non-nul-terminated …
Nov 11, 2024
7b32f84
Clarify the documentation to make it clear that rows inserted by a
Nov 11, 2024
92e9fa6
Ensure that the sqlite3_index_info.idxStr string coming back from FTS5
Nov 12, 2024
1b37bc0
Add the SQLITE_FCNTL_NULL_IO file-control.
Nov 13, 2024
31c160a
Add the test/fork-test.c test program.
Nov 13, 2024
26c080a
Fix a memory leak in the ".dump" command of the CLI that can occur if an
Nov 13, 2024
104ab7e
Enhance the vfstrace.c extension to show symbolic names for the various
Nov 13, 2024
3b56698
configure: avoid performing multiple checks for -lm on behalf of --en…
Nov 14, 2024
f154cef
Document the if block at the end of sqlite-check-tcl.
Nov 14, 2024
c87d7be
Fix a problem with window functions min() and max() when used with a …
Nov 14, 2024
752df4c
Remove unused sqlite_cfg.h.in (sqlite_cfg.h gets generated without an…
Nov 14, 2024
ea13658
Remove some obsolete macros from the CLI.
Nov 14, 2024
98be43e
Fix a state makefile dependency which refered to the now-removed sqli…
Nov 14, 2024
17e7e16
Remove unused sqlite_cfg.h.in from the build.
Nov 14, 2024
c096d6a
Add --enable-dev configure flag which sets various other flags.
Nov 14, 2024
59c80e0
Add new makefile target "sqlite3d" (where the "d" means either "devel…
Nov 14, 2024
009601d
Remove $prefix/include from the default -I path because it can cause …
Nov 14, 2024
f121ffb
Fix typo in the handling of the new --dev flag which caused it to set…
Nov 14, 2024
75ed9f8
An experiment in optionally using pkg-config to determine the libs to…
Nov 15, 2024
aa85c8c
configure script doc additions for the ICU feature check.
Nov 15, 2024
ece4bf6
When checking pkg-config for ICU support use icu-io instead of icu-uc…
Nov 15, 2024
2eb9605
configure: add optional pkg-config support for detecting ICU.
Nov 15, 2024
48c8447
buildtclext.tcl: work around a case, reported in [forum:0683a49cb02f3…
Nov 15, 2024
e69b4d7
Generic auto.def cleanups. No functional differences.
Nov 15, 2024
1adf875
In the interest of minimizing downstream disruption, set the soname o…
Nov 15, 2024
178ce62
Enhance the vfstrace extension such that the output can be controlled…
Nov 15, 2024
d676227
configure: tiny simplification of proj-assert.
Nov 16, 2024
4b24cb2
Rename tool/tclConfigShToTcl.sh to tool/tclConfigShToAutoDef.sh in th…
Nov 16, 2024
d8f6222
Add --destdir flag support to buildtclext.tcl, but do not yet add tha…
Nov 16, 2024
f6c7cc6
Add the --destdir flag to the tclextension-install makefile target.
Nov 16, 2024
50faa8d
Handle DESTDIR at an earlier phase in buildtclext.tcl to account for …
Nov 16, 2024
18689b8
Fix argument expansion in sqlite-tclsh on Windows such that if an arg…
Nov 16, 2024
70d3901
Call fflush() on ".echo" output from the shell, so that the output to
Nov 16, 2024
f6fdf32
buildtclext.tcl: add docs explaining the DESTDIR check and break out …
Nov 17, 2024
bbc6e5c
Make the --vfstrace output from the CLI go to the same output channel as
Nov 17, 2024
9c8235b
Fix minor problems in testrunner.tcl that pop up when the command-lin…
Nov 18, 2024
de8aa17
Fix a "applying zero offset to null pointer" usan error in the fts5 t…
Nov 18, 2024
0df847c
Remove the .POSIX entries from the makefiles because they cause porta…
Nov 18, 2024
5cad859
Attempt to reduce divergence with begin-concurrent.
Nov 18, 2024
12599d5
Attempt to reduce divergence with the wal2 branch.
Nov 18, 2024
ea206ad
Reduce divergence from begin-concurrent.
Nov 18, 2024
fefc7b1
Fix a problem handling OOM errors in fts3 that could occur when parsi…
Nov 19, 2024
fbd9de1
Initial configure support for linking certain binaries to libsqlite3.…
Nov 19, 2024
5ef61df
Reformulate sqldiff deps and rules so that the target matches the res…
Nov 19, 2024
3cd93a0
Revert linking the shell to the dll for reasons explained in new make…
Nov 19, 2024
5608fb3
Enhancements to tool/mkccode.tcl such that it recognizes -D command line
Nov 19, 2024
d3aaf96
Merge trunk into this branch. Fix a small jimtcl/tclsh regex incompat…
Nov 19, 2024
c73b85c
Get sqlite3_analyzer optionally linking against libsqlite3.so instead…
Nov 19, 2024
b81e11b
Move the in-comment-code commentary about --with-debug, from [7b14309…
Nov 19, 2024
457d938
Rename --link-tools-dynamically to --dynlink-tools, per discussion.
Nov 19, 2024
18c9e26
Add missing $TCL_LIBS to the link for sqlite3_analyzer.
Nov 19, 2024
a34fbd1
Add fix from [bfab759611b0] to sqltclsh. Remove some now-unneeded has…
Nov 19, 2024
9566982
Do not report an sqlite3_error_offset() for errors that occur inside of
Nov 20, 2024
d4a65cf
Provide the sqlite3ShowWhereTerm() interface callable interactively from
Nov 20, 2024
2722e2e
Bug fix in the SubrtnSig logic from [c9a3498113074bbc], if a subquery is
Nov 20, 2024
914e32f
Use shared-library flags, not shared-object flags, to create shared l…
Nov 20, 2024
d02833b
New configuration option --dynlink-tools causes some command-line too…
Nov 20, 2024
032bcf7
Fix compiler warnings caused by variable shadowing.
Nov 20, 2024
9bf5bea
Document that -nofollow does not work on Windows. Fix Windows symlink
Nov 21, 2024
2f70d58
Fix a JS test which was broken when OMIT_PROGRESS_CALLBACK was _not_ …
Nov 21, 2024
d204a83
Add the --scanstatus configure flag to set -DSQLITE_ENABLE_STMT_SCANS…
Nov 21, 2024
a8c68e5
Fix a bug-in-waiting (one too few list elements) in [b6bd25bd769e].
Nov 21, 2024
9edb535
Make ".scanstatus" an undocumented alternative name for ".scanstats" …
Nov 21, 2024
f0a9af4
Fix harmless compiler warning caused by [c77a4a42f2e3d164].
Nov 22, 2024
38fdb2a
Fix some harmless scanbuild warnings in the shell.
Nov 22, 2024
ed271dc
Fix harmless scanbuild warnings caused by the introduction of the
Nov 22, 2024
0cf7131
Add links to [/forumpost/5a3b44f510df8ded|the SONAME discussion] at r…
Nov 22, 2024
7a13eff
Remove the libsqlite3.so.3 link from the installation process, as it …
Nov 22, 2024
dcaf03f
Makefile doc cleanups. No functional changes.
Nov 22, 2024
5c94526
Move handling of the tempstore feature flag into the OPT_FEATURE_FLAG…
Nov 22, 2024
de7e2b1
In order to support package builds, like OpenBSD's, which set a custo…
Nov 22, 2024
7398e27
Remove a flaky JS test which has a result depending on unrepredictabl…
Nov 22, 2024
8ff67df
Fix another issue in argument expansion on Windows for tclsqlite3.c in
Nov 22, 2024
b56f179
Correct duplicated soname linker flags, one of them mis-named.
Nov 25, 2024
f2d56bc
Replace some outdated docs re. soname with a link to the soname forum…
Nov 26, 2024
0dd542f
Minor tweak to ./configure --help output.
Nov 26, 2024
04a556a
Move some of the in-comment configure script help text into the --hel…
Nov 26, 2024
58cb564
Patch autosetup to rename --debug to --autosetup-debug so we can use …
Nov 26, 2024
19a6315
Patch autosetup to rename --debug to --autosetup-debug so we can use …
Nov 26, 2024
e2a3c72
Update documentation in fts5.h.
Nov 26, 2024
3e4ccc3
Update fts5 so that the xInstToken() extension API works with prefix …
Nov 26, 2024
f12e5d1
Provide a two-argument version of the iif() function, plus an alterna…
Nov 26, 2024
966a158
New test cases.
Nov 26, 2024
cf04895
Allow the iif() function to work with two arguments. The third argum…
Nov 26, 2024
0bce1d6
Fix an inaccuracy in the documentation in fts5.h.
Nov 27, 2024
60ad526
Enhancements to sqlite3ExprImpliesExpr() so that it realizes that
Nov 28, 2024
bfb7f77
Add two NEVER() conditions.
Nov 28, 2024
3ff6aa6
The sqlite3ExprCompare() routine should always compare the same varia…
Nov 28, 2024
dc7b94e
Simplification to the fix in the prior check-in.
Nov 28, 2024
e8233f1
Improvements to sqlite3ExprImpliesExpr() so that it recognizes that e…
Nov 28, 2024
fed5234
ext/icu/README.txt: clean up EOL whitespace and add a mention of the …
Nov 28, 2024
187c115
Configure script doc updates and cleanups. Skip check for EMSDK when …
Nov 28, 2024
25e042c
Typo fixes and cleanups in autosetup/README.md.
Nov 28, 2024
2aac896
Remove some outdated docs from Makefile.in.
Nov 28, 2024
5c208f3
Fix a NEVER() in the iif() logic that can be true if compiled with
Nov 29, 2024
03e306b
A NEVER() that was added by [eb5ac9e5b9a4f9c8] is violated by the ifn…
Nov 30, 2024
c5b9da3
In sqlite_dbpage, cancel any pending truncate operation if there an e…
Nov 30, 2024
d6d9c54
At the end of the configure script ensure that none of the files whic…
Nov 30, 2024
9bc351b
Export a clipped copy of sqlite370.eps as sqlite370.svg, based on dis…
Dec 1, 2024
a13a645
Re-export sqlite370.svg to retain the gradient part and clip the size…
Dec 1, 2024
fd66549
Correct the fill color for the background of sqlite370.svg - it was s…
Dec 1, 2024
d004268
Trim a bit more from the sqlite370.svg border to get it closer in sca…
Dec 1, 2024
224e356
Slighly less confusing output from treeview during debugging.
Dec 2, 2024
3e1f302
Enable MEMSYS5 with the --dev configure option.
Dec 2, 2024
ed7fe45
Reformulate [9e09d5d6] so that memsys5 shows up in the late-config su…
Dec 2, 2024
bfdeb1f
Fix a harmless typo in debugging output.
Dec 2, 2024
c9ac238
Fix a comment typo on the sqlite3ExprIsSingleTableConstraint() routine.
Dec 2, 2024
4b491d8
Ensure that the query flattener does not change an ON clause term to …
Dec 2, 2024
33c120f
Improve the output from the ".testctrl opt" command in the CLI.
Dec 2, 2024
76412af
Minor doc correction in ext/misc/shathree.c, as reported in the forum…
Dec 4, 2024
eed134c
Fix the build of sqlite3_analyzer.exe on Windows that was broken by
Dec 5, 2024
0448e00
Ensure that the post-config checks for @UNEXPANDED_VARS@ pass even if…
Dec 6, 2024
c40329c
Minor doc update in auto.def. No functional changes.
Dec 6, 2024
ef636cc
Add the SQLITE_PREPARE_DONT_LOG option for sqlite3_prepare_v3(), that…
Dec 6, 2024
1a4b211
On x64 hardware, round-trip uint64_t→double→uint64_t conver…
Dec 7, 2024
4597870
Fix harmless compiler warning caused by the previous check-in.
Dec 7, 2024
92d252e
Fix more harmless compiler warnings.
Dec 7, 2024
8703642
A cleaner and more robust solution to the floating-point conversion p…
Dec 7, 2024
9f53d0c
Yet another iteration of the solution to the floating-point conversion
Dec 7, 2024
29d1d91
Add a note in Makefile.msc about EXTRA_SRC files possibly requiring m…
Dec 8, 2024
fd360c3
Resynchronize autoconf/Makefile.msc
Dec 9, 2024
a42db7f
Add a note in Makefile.msc about EXTRA_SRC files possibly requiring m…
Dec 9, 2024
4f5ae3f
Fix an obscure problem with multiple outer joins, ON clauses and quer…
Dec 9, 2024
94ad4ab
Fix an obscure problem with multiple outer joins, ON clauses and quer…
Dec 9, 2024
54f96dc
Further improvements to the decimal-to-float conversion for values close
Dec 9, 2024
c29bc73
Add NEVER() around branches that seems to have been made obsolete by
Dec 9, 2024
e85e33d
Enhance the ".import" command of the CLI so that it is able to insert…
Dec 9, 2024
e57527c
Make the TCL interface more rebust against very large strings coming
Dec 9, 2024
6e53f67
Fix harmless typo in a comment describing the columnMallocFailure() f…
Dec 10, 2024
35d302c
Increase the maximum number of arguments on an SQL function to 1000 w…
Dec 12, 2024
9ee0251
Fix a harmless compiler warning that comes up when using SQLITE_DEBUG in
Dec 13, 2024
bba1953
Tiny makefile/configure script doc tweaks. No functional changes.
Dec 16, 2024
276172e
Remove unnecessary end-of-line whitespace.
Dec 16, 2024
bd1a593
Changes for better alignment with the wal2 branch.
Dec 16, 2024
32dd04b
Code formatting changes to make trunk more like wal2.
Dec 16, 2024
2fb488d
Do not attempt to truncate a database in sqlite_dbpage if the databas…
Dec 17, 2024
0c34eab
Rename some var refs in ext/lsm1/Makefile for the new build process.
Dec 18, 2024
47bc07d
Avoid 32-bit roundoff error on the second argument to round().
Dec 18, 2024
b097ef2
Fix possible integer oveflow in the second and third argument to subs…
Dec 18, 2024
2dcd4fa
Fix additional integer overflow problems in the substr() function.
Dec 19, 2024
543ee47
Enhance lemon so that it accepts the -U command-line option that unde…
Dec 19, 2024
019de3d
Fix the Microsoft makefile so that it does not set SQLITE_TEMP_STORE
Dec 19, 2024
166f4eb
configure script: only set the SQLITE_TEMP_STORE feature flag if --wi…
Dec 19, 2024
f2d422c
Fix the sort4.test module so that the first two test cases are omitted
Dec 19, 2024
be2a40d
The BTree mutex must be held when calling sqlite3BtreeLastPage(). This
Dec 19, 2024
ccfb50d
Correction to check-in [a9759fc78d6cb0df] - printf() parameters value…
Dec 19, 2024
142c5de
Fix a test case in sqllimits1.test so that it works with the Apple
Dec 19, 2024
9591d3f
In the (debugging) rtreenode() function, do not override an error com…
Dec 22, 2024
e0190a6
Fixes to the substr() SQL function so that it can handle ridiculously…
Dec 28, 2024
8b68902
Show ETC in fuzzcheck with the --spinner option when there is only on…
Dec 28, 2024
4112a63
Four new assert() statements to help with static analysis.
Dec 29, 2024
6b19c72
Add an extra assert() to releaseMemArray() just to prove that the
Dec 30, 2024
71d6456
New assert() statements to show that the sqlite3_value.db field is in…
Dec 30, 2024
95f6df5
Add the convenience makefile target (unix-only) "src-archives" that b…
Dec 30, 2024
f7fcf7f
Fix the vfstrace.c extension so that it supports xFetch and xUnfetch.
Jan 1, 2025
66985fb
Fix the tool/omittest.tcl script, broken by [d8c0e0184226bdae].
Jan 1, 2025
e0b6ee5
Update the build instructions for Windows to note that VS2015 or late…
Jan 2, 2025
a683b05
Improvements to the way that truncation is implemented in sqlite_dbpa…
Jan 2, 2025
3835cf6
Add a test case for ROLLBACK TO of database truncate operations made …
Jan 2, 2025
52c87ac
Fix recent test cases so that they work even when auto_vacuum default…
Jan 2, 2025
1426d2a
Close database connections in test/dbpage.test, for Windows.
Jan 2, 2025
db258d8
Improvements to the display of subqueries in the FROM clause for tree…
Jan 2, 2025
04364cb
Improve the treeview output for CteUse objects.
Jan 2, 2025
8d6e3f5
Avoid using Int32x32To64() with a 64-bit argument in fileio.c - this …
Jan 3, 2025
ded37f3
Add comment to the columnIsGoodIndexCandidate() routine to record the…
Jan 3, 2025
8f1bdc0
Add new tcl-extension-testing.md document. The Windows side is not yet
Jan 4, 2025
8272128
Adjust the Windows Makefile.msc so that it can build the tclextension…
Jan 4, 2025
4bf468e
Add the document describing test procedures for the TCL extension build
Jan 4, 2025
7a3d03b
Fix a problem in the sessions extension allowing changesets containin…
Jan 4, 2025
1388a71
Allow the 2nd argument to ".param set" to use previously bound parame…
Jan 4, 2025
1c1b3a0
Show the values of $(JIM_TCLSH) and $(VISUALSTUDIOVERSION) in the
Jan 4, 2025
1e03bd8
Improvements to testing and validation of the SQLite TCL extension.
Jan 4, 2025
8b53358
Improvements to TCL extension test procedure description. Improvemen…
Jan 5, 2025
85900c0
Fix typo in the tcl-extension-testing.md document.
Jan 5, 2025
15e388d
Refactor the TCL extension test procedure to deal with TCL8.6 and TCL9.0
Jan 5, 2025
f19d7b4
Further refactoring of the TCL extension test procedure document, for
Jan 5, 2025
cee8b04
Add test case for using both SQLITE_CHANGESETAPPLY_IGNORENOOP and SQL…
Jan 6, 2025
a5dbae3
Fix a minor problem with the sqlite3_get_table_printf() test interface.
Jan 6, 2025
885f546
Fix a problem with tool/mksqlite3h.tcl that prevents it from running …
Jan 6, 2025
fbbe262
Enhance the makefile to make it easier to build from a read-only sour…
Jan 6, 2025
4a68963
Minor fixes to tclsqlite.c to promote portability.
Jan 7, 2025
e533932
Fix a typo in the previous check-in.
Jan 7, 2025
4717d57
Make the TCL extension aware of the booleanString type within TCL.
Jan 7, 2025
311990d
Enhancements to the Tcl SQLite extension testing procedures so that they
Jan 7, 2025
4a83311
Typo in the previous check-in.
Jan 7, 2025
ece1729
Fix a memory error in test logic introduced by [8704034254938662].
Jan 7, 2025
fd11e5c
Improvements to [14b38ae6ab86a314] so that the Tcl interface is bette…
Jan 7, 2025
6962f3d
Further refinement to the Tcl extension testing procedure.
Jan 7, 2025
45d1995
In the doc/tcl-extension-testing.md document, provide enhanced explan…
Jan 8, 2025
af8af12
Cross-link and otherwise improve the various how-to-compile documents.
Jan 8, 2025
ad460db
Fix a crash in fts5 that could occur if shadow tables are modified or…
Jan 8, 2025
c1242d6
Fix another assert() failure in fts5.
Jan 8, 2025
b1cbae8
When removing an fts5 in secure-delete mode, defer setting the table …
Jan 9, 2025
35ac4c8
Update the makefile so that it puts the amalgamation files in a subdi…
Jan 9, 2025
c1f914d
Fix an age-old bug in the lower-level wasm/js helper bits which was (…
Jan 11, 2025
27661f2
Fix harmless scan-build warnings.
Jan 11, 2025
4b5e8c9
Better job at suppressing harmless scan-build warnings. This time te…
Jan 11, 2025
14bc98d
Fix harmless "implicit fall through" warnings that suddenly appeared …
Jan 11, 2025
43afab2
GCC 13 has become more quite pedantic about the signature of function…
Jan 13, 2025
f1747f9
Remove a stray tab character from a comment.
Jan 13, 2025
942c958
Version 3.48.0
Jan 14, 2025
bcd6013
Merge upstream SQLite 3.48.0
penberg May 28, 2026
097ec79
libsql-ffi: Bump bundled SQLite3MultipleCiphers from 1.8.1 to 2.0.2
penberg May 28, 2026
ea1426c
libsql-ffi: Update bundled SQLite to 3.48.0
penberg May 28, 2026
c7e917b
libsql-sqlite3: Restore libsql-specific build targets in autosetup
penberg May 28, 2026
9c2f999
libsql-ffi: Update bundled SQLite to 3.48.0
penberg May 28, 2026
3c3a40d
Merge remote-tracking branch 'origin/main' into update-sqlite-3.48.0
penberg May 28, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
124 changes: 123 additions & 1 deletion libsql-ffi/bundled/SQLite3MultipleCiphers/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,115 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [2.0.2] - 2025-01-15

### Changed

- Based on SQLite version 3.48.0

## [2.0.1] - 2025-01-06

### Fixed

- Fixed issue [#186](../../issues/186)) - crashes due to _illegal instruction_ exception on some Linux systems
- Fixed issue [#185](../../issues/185)) - missing header file and include path in CMake build file

## [2.0.0] - 2024-12-31

### Added

- Added new cipher scheme AEGIS

### Changed

- Removed User Authentication extension
- Cleaned up some extensions to use SQLITE_API

### Fixed

- Fixed undefined behavior related to function pointer cast

## [1.9.2] - 2024-12-08

### Changed

- Based on SQLite version 3.47.2

### Fixed

- Fixed issue with page size change request for encrypted databases

## [1.9.1] - 2024-11-26

### Changed

- Based on SQLite version 3.47.1
- Remove need to specify AES hw compile time options

## [1.9.0] - 2024-10-22

### Changed

- Based on SQLite version 3.47.0
- Changed signature of cipher scheme method `GenerateKey` (affects only developers of dynamic cipher schemes)

### Fixed

- Using differing KDF and HMAC algorithms resulted in databases incompatible with the original SQLCipher library. Setting the parameter `hmac_algorithm_compat` to 0 restores the (incompatible) behaviour.

## [1.8.7] - 2024-08-14

### Changed

- Based on SQLite version 3.46.1

## [1.8.6] - 2024-06-14

### Changed

- Removed extern keyword in function declarations
- Cleaned up white space
- Added SQLITE_PRIVATE for several internal functions
- The cipher configuration parameter `legacy_page_size` now accepts only valid page sizes
- The cipher configuration parameter `plaintext_header_size` now accepts only values that are multiples of 16

### Fixed

- Fixed issue [#156](../../issues/156)) - corrupted database if MMAP_SIZE > 0 was used
- Fixed issue [#158](../../issues/158)) - add check to verify compatibility of source and target database in backup operation
- Fixed issue [#160](../../issues/160)) - fix accessing memory out of array bounds
- Fixed issue [#162](../../issues/162)) - fix loading/storing misaligned data
- Fixed issue [#164](../../issues/164)) - fix return of error messages from rekey
- Fixed issue [#165](../../issues/165)) - fix rekey function by enforcing page size and number of reserved bytes per page
- Fixed issue [#166](../../issues/166)) - missing attribute SQLITE_PRIVATE for several internal functions
- Fixed issue [#167](../../issues/167)) - improve VFS error reporting
- Fixed issue [#168](../../issues/168)) - add check for encryption support

## [1.8.5] - 2024-05-24

### Changed

- Based on SQLite version 3.46.0

## [1.8.4] - 2024-03-14

### Changed

- Based on SQLite version 3.45.2
- Disable user authentication extension by default

## [1.8.3] - 2024-01-31

### Changed

- Based on SQLite version 3.45.1

## [1.8.2] - 2024-01-16

### Changed

- Based on SQLite version 3.45.0

## [1.8.1] - 2023-12-02

### Changed
Expand Down Expand Up @@ -469,7 +578,20 @@ The following ciphers are supported:
- AES 256 Bit CBC - SHA1/SHA256/SHA512 HMAC ([SQLCipher](https://www.zetetic.net/sqlcipher/), database versions 1, 2, 3, and 4)
- RC4 - No HMAC ([System.Data.SQLite](http://system.data.sqlite.org))

[Unreleased]: ../../compare/v1.8.0...HEAD
[Unreleased]: ../../compare/v2.0.2...HEAD
[2.0.2]: ../../compare/v2.0.1...v2.0.2
[2.0.1]: ../../compare/v2.0.0...v2.0.1
[2.0.0]: ../../compare/v1.9.2...v2.0.0
[1.9.2]: ../../compare/v1.9.1...v1.9.2
[1.9.1]: ../../compare/v1.9.0...v1.9.1
[1.9.0]: ../../compare/v1.8.7...v1.9.0
[1.8.7]: ../../compare/v1.8.6...v1.8.7
[1.8.6]: ../../compare/v1.8.5...v1.8.6
[1.8.5]: ../../compare/v1.8.4...v1.8.5
[1.8.4]: ../../compare/v1.8.3...v1.8.4
[1.8.3]: ../../compare/v1.8.2...v1.8.3
[1.8.2]: ../../compare/v1.8.1...v1.8.2
[1.8.1]: ../../compare/v1.8.0...v1.8.1
[1.8.0]: ../../compare/v1.7.4...v1.8.0
[1.7.4]: ../../compare/v1.7.3...v1.7.4
[1.7.3]: ../../compare/v1.7.2...v1.7.3
Expand Down
30 changes: 15 additions & 15 deletions libsql-ffi/bundled/SQLite3MultipleCiphers/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ OPTION(SQLITE_ENABLE_JSON1 "Enable extension 'json1'" ON)
OPTION(SQLITE_ENABLE_RTREE "Enable extension 'rtree'" ON)
OPTION(SQLITE_ENABLE_UUID "Enable extension 'uuid'" ON)
OPTION(SQLITE_USE_URI "Enable the URI filename process logic" ON)
OPTION(SQLITE_USER_AUTHENTICATION "Enable extension 'user authentication'" ON)
OPTION(SQLITE_ENABLE_PREUPDATE_HOOK "Enable preupdate hooks" OFF)
OPTION(SQLITE_ENABLE_SESSION "Enable session extension" OFF)
OPTION(SQLITE_SHELL_IS_UTF8 "Shell command line arguments in UTF-8 encoding" ON)
Expand Down Expand Up @@ -64,7 +63,6 @@ OPTION(SQLITE3MC_USE_SQLCIPHER_LEGACY "Use sqlcipher legacy mode as default" OFF

# Additional memory security (filling freed memory allocations with zeros or random data)
OPTION(SQLITE3MC_SECURE_MEMORY "Enable pragma to secure freed memory" OFF)
OPTION(SQLITE3MC_USE_RANDOM_FILL_MEMORY "Fill freed memory with random data" OFF)

# Omit AES hardware support
OPTION(SQLITE3MC_OMIT_AES_HARDWARE_SUPPORT "Omit AES hardware support" OFF)
Expand All @@ -84,7 +82,7 @@ set(SQLITE_THREADSAFE 1 CACHE STRING "Set threading mode (0 = single-threaded, 1
set_property(CACHE SQLITE_THREADSAFE PROPERTY STRINGS 0 1 2)

set(CODEC_TYPE CHACHA20 CACHE STRING "Set default codec type")
set_property(CACHE CODEC_TYPE PROPERTY STRINGS AES128 AES256 CHACHA20 SQLCIPHER RC4 ASCON128)
set_property(CACHE CODEC_TYPE PROPERTY STRINGS AES128 AES256 CHACHA20 SQLCIPHER RC4 ASCON128 AEGIS)

if(SQLITE_ENABLE_COMPRESS OR SQLITE_ENABLE_SQLAR OR SQLITE_ENABLE_ZIPFILE)
if(NOT SQLITE3MC_USE_MINIZ)
Expand All @@ -98,7 +96,6 @@ set(SQLITE3MC_BASE_DEFINITIONS
CODEC_TYPE=CODEC_TYPE_${CODEC_TYPE}
SQLITE_DQS=${SQLITE_DQS}
SQLITE_MAX_ATTACHED=${SQLITE_MAX_ATTACHED}
$<$<BOOL:${SQLITE_USER_AUTHENTICATION}>:SQLITE_USER_AUTHENTICATION=1>
$<$<BOOL:${SQLITE_ENABLE_DEBUG}>:SQLITE_ENABLE_DEBUG=1>
SQLITE_THREADSAFE=${SQLITE_THREADSAFE}
$<$<BOOL:${SQLITE_SOUNDEX}>:SQLITE_SOUNDEX=1>
Expand All @@ -116,7 +113,6 @@ set(SQLITE3MC_BASE_DEFINITIONS
$<$<BOOL:${SQLITE_ENABLE_UUID}>:SQLITE_ENABLE_UUID=1>
SQLITE_TEMP_STORE=2
$<$<BOOL:${SQLITE_USE_URI}>:SQLITE_USE_URI=1>
$<$<BOOL:${SQLITE_USER_AUTHENTICATION}>:SQLITE_USER_AUTHENTICATION=1>
$<$<BOOL:${SQLITE_ENABLE_PREUPDATE_HOOK}>:SQLITE_ENABLE_PREUPDATE_HOOK=1>
$<$<BOOL:${SQLITE_ENABLE_SESSION}>:SQLITE_ENABLE_SESSION=1>
$<$<BOOL:${SQLITE3MC_USE_MINIZ}>:SQLITE3MC_USE_MINIZ=1>
Expand All @@ -133,9 +129,9 @@ set(SQLITE3MC_BASE_DEFINITIONS

HAVE_CIPHER_AES_128_CBC=0
HAVE_CIPHER_AES_256_CBC=1
HAVE_CIPHER_CHACHA20=0
HAVE_CIPHER_SQLCIPHER=0
HAVE_CIPHER_RC4=0
HAVE_CIPHER_CHACHA20=0
HAVE_CIPHER_SQLCIPHER=0
HAVE_CIPHER_RC4=0
HAVE_CIPHER_ASCON128=0
# $<$<BOOL:${SQLITE_USE_TCL}>:SQLITE_USE_TCL=1>
)
Expand Down Expand Up @@ -182,12 +178,6 @@ if(SQLITE3MC_SECURE_MEMORY)
SQLITE3MC_SECURE_MEMORY=1
)
endif()
if(SQLITE3MC_USE_RANDOM_FILL_MEMORY)
set(SQLITE3MC_BASE_DEFINITIONS
${SQLITE3MC_BASE_DEFINITIONS}
SQLITE3MC_USE_RANDOM_FILL_MEMORY=1
)
endif()

if(SQLITE3MC_USE_MINIZ OR _SQLITE3MC_REQUIRE_ZLIB)
if(_SQLITE3MC_REQUIRE_ZLIB)
Expand Down Expand Up @@ -234,7 +224,6 @@ set(SQLITE3MC_PUBLIC_HEADERS
src/sqlite3mc.h
src/sqlite3mc_version.h
src/sqlite3mc_vfs.h
src/sqlite3userauth.h
)

set(SQLITE3MC_BASE_SRCS
Expand All @@ -260,6 +249,8 @@ set(SQLITE3MC_SHELL_SRCS

set(SQLITE3MC_INCLUDEDIRS
src
src/aegis/include
src/argon2/include
)

set(SQLITE3MC_LINK_LIBRARIES )
Expand Down Expand Up @@ -299,6 +290,14 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Linux"
list(APPEND SQLITE3MC_LINK_LIBRARIES "-framework Security")
endif()
set(SHARED_LIB_EXPORT_DEFINITION "__attribute__((visibility(\"default\")))")
elseif (CMAKE_SYSTEM_NAME STREQUAL "Android")
if (ANDROID_ABI STREQUAL "arm64-v8a")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=armv8-a+crypto")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=armv8-a+crypto")
elseif (ANDROID_ABI STREQUAL "x86_64")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mvaes")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mvaes")
endif()
else()
if (CMAKE_C_COMPILER_ID STREQUAL "GNU" AND NOT (
CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64"
Expand All @@ -323,6 +322,7 @@ if (CMAKE_C_COMPILER_ID STREQUAL "Clang" AND NOT (
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -msse4.2 -maes -Wno-error=incompatible-function-pointer-types")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse4.2 -maes")
endif()

set(_LIB_DIFINITIONS
_LIB
)
Expand Down
2 changes: 1 addition & 1 deletion libsql-ffi/bundled/SQLite3MultipleCiphers/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019-2020 Ulrich Telle
Copyright (c) 2019-2024 Ulrich Telle

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
21 changes: 9 additions & 12 deletions libsql-ffi/bundled/SQLite3MultipleCiphers/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Process this file with automake to create Makefile.in for sqlite3mc library
#
# Copyright (C) 2019-2023 Ulrich Telle <ulrich@telle-online.de>
# Copyright (C) 2019-2024 Ulrich Telle <ulrich@telle-online.de>
#
# This file is covered by the same licence as the entire SQLite3 Multiple Ciphers package.

if HOST_X86
X86_FLAGS = -msse4.2 -maes
else
#if HOST_X86
#X86_FLAGS = -msse4.2 -maes
#else
X86_FLAGS =
endif
#endif

if HOST_ARM
#ARM_FLAGS = -march=native
Expand All @@ -21,10 +21,10 @@ ACLOCAL_AMFLAGS = -I admin/m4

# Flags used for compiling all the targets and linking all the executables
# (libraries use LIBADD which is set for lib@SQLITE3MC_LIBNAME@.la only).
AM_CXXFLAGS = -I$(top_srcdir)/src
AM_CFLAGS = -I$(top_srcdir)/src
AM_CXXFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/src/aegis/include -I$(top_srcdir)/src/argon2/include
AM_CFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/src/aegis/include -I$(top_srcdir)/src/argon2/include

AM_CFLAGS += -std=c99 -DSQLITE_THREADSAFE=1 -DSQLITE_DQS=0 -DSQLITE_MAX_ATTACHED=10 -DSQLITE_SOUNDEX=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_DESERIALIZE=1 -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_FTS3_PARENTHESIS=1 -DSQLITE_ENABLE_FTS4=1 -DSQLITE_ENABLE_FTS5=1 -DSQLITE_ENABLE_JSON1=1 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_ENABLE_GEOPOLY=1 -DSQLITE_ENABLE_PREUPDATE_HOOK=1 -DSQLITE_ENABLE_SESSION=1 -DSQLITE_CORE=1 -DSQLITE_ENABLE_EXTFUNC=1 -DSQLITE_ENABLE_MATH_FUNCTIONS=1 -DSQLITE_ENABLE_CSV=1 -DSQLITE_ENABLE_SHA3=1 -DSQLITE_ENABLE_CARRAY=1 -DSQLITE_ENABLE_FILEIO=1 -DSQLITE_ENABLE_SERIES=1 -DSQLITE_ENABLE_UUID=1 -DSQLITE_ENABLE_REGEXP=1 -DSQLITE_TEMP_STORE=2 -DSQLITE_USE_URI=1 -DSQLITE_USER_AUTHENTICATION=1 $(X86_FLAGS) $(ARM_FLAGS)
AM_CFLAGS += -std=c99 -DSQLITE_THREADSAFE=1 -DSQLITE_DQS=0 -DSQLITE_MAX_ATTACHED=10 -DSQLITE_SOUNDEX=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_DESERIALIZE=1 -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_FTS3_PARENTHESIS=1 -DSQLITE_ENABLE_FTS4=1 -DSQLITE_ENABLE_FTS5=1 -DSQLITE_ENABLE_JSON1=1 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_ENABLE_GEOPOLY=1 -DSQLITE_ENABLE_PREUPDATE_HOOK=1 -DSQLITE_ENABLE_SESSION=1 -DSQLITE_CORE=1 -DSQLITE_ENABLE_EXTFUNC=1 -DSQLITE_ENABLE_MATH_FUNCTIONS=1 -DSQLITE_ENABLE_CSV=1 -DSQLITE_ENABLE_SHA3=1 -DSQLITE_ENABLE_CARRAY=1 -DSQLITE_ENABLE_FILEIO=1 -DSQLITE_ENABLE_SERIES=1 -DSQLITE_ENABLE_UUID=1 -DSQLITE_ENABLE_REGEXP=1 -DSQLITE_TEMP_STORE=2 -DSQLITE_USE_URI=1 -DSQLITE_USER_AUTHENTICATION=0 $(X86_FLAGS) $(ARM_FLAGS)

if HOST_WINDOWS
AM_CFLAGS += -DSQLITE_API=__declspec\(dllexport\)
Expand Down Expand Up @@ -79,7 +79,6 @@ endif

includemc_HEADERS = \
src/sqlite3.h \
src/sqlite3userauth.h \
src/sqlite3ext.h \
src/sqlite3mc_version.h \
src/sqlite3mc_vfs.h \
Expand Down Expand Up @@ -111,7 +110,6 @@ noinst_HEADERS = \
src/sqlite3.c \
src/sqlite3mc_vfs.c \
src/test_windirent.c \
src/userauth.c \
src/uuid.c \
src/cipher_common.h \
src/fastpbkdf2.h \
Expand All @@ -120,7 +118,6 @@ noinst_HEADERS = \
src/sha1.h \
src/sha2.h \
src/sqlite3mc_vfs.h \
src/sqlite3userauth.h \
src/test_windirent.h

lib@SQLITE3MC_LIBNAME@_la_LDFLAGS = -no-undefined $(AM_LDFLAGS)
Expand All @@ -138,7 +135,7 @@ sqlite3shell_SOURCES = \
src/sqlite3mc.c \
src/shell.c

sqlite3shell_CFLAGS = -I$(top_srcdir)/src -std=c99 -D_GNU_SOURCE -DSQLITE_THREADSAFE=1 -DSQLITE_DQS=0 -DSQLITE_MAX_ATTACHED=10 -DSQLITE_SOUNDEX=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_DESERIALIZE=1 -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_FTS3_PARENTHESIS=1 -DSQLITE_ENABLE_FTS4=1 -DSQLITE_ENABLE_FTS5=1 -DSQLITE_ENABLE_JSON1=1 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_ENABLE_GEOPOLY=1 -DSQLITE_ENABLE_PREUPDATE_HOOK=1 -DSQLITE_ENABLE_SESSION=1 -DSQLITE_CORE=1 -DSQLITE_ENABLE_EXTFUNC=1 -DSQLITE_ENABLE_MATH_FUNCTIONS=1 -DSQLITE_ENABLE_CSV=1 -DSQLITE_ENABLE_CARRAY=1 -DSQLITE_ENABLE_UUID=1 -DSQLITE_TEMP_STORE=2 -DSQLITE_USE_URI=1 -DSQLITE_USER_AUTHENTICATION=1 -DSQLITE_ENABLE_DBPAGE_VTAB=1 -DSQLITE_ENABLE_DBSTAT_VTAB=1 -DSQLITE_ENABLE_STMTVTAB=1 -DSQLITE_ENABLE_UNKNOWN_SQL_FUNCTION=1 $(X86_FLAGS) $(ARM_FLAGS)
sqlite3shell_CFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/src/aegis/include -I$(top_srcdir)/src/argon2/include -std=c99 -D_GNU_SOURCE -DSQLITE_THREADSAFE=1 -DSQLITE_DQS=0 -DSQLITE_MAX_ATTACHED=10 -DSQLITE_SOUNDEX=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_DESERIALIZE=1 -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_FTS3_PARENTHESIS=1 -DSQLITE_ENABLE_FTS4=1 -DSQLITE_ENABLE_FTS5=1 -DSQLITE_ENABLE_JSON1=1 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_ENABLE_GEOPOLY=1 -DSQLITE_ENABLE_PREUPDATE_HOOK=1 -DSQLITE_ENABLE_SESSION=1 -DSQLITE_CORE=1 -DSQLITE_ENABLE_EXTFUNC=1 -DSQLITE_ENABLE_MATH_FUNCTIONS=1 -DSQLITE_ENABLE_CSV=1 -DSQLITE_ENABLE_CARRAY=1 -DSQLITE_ENABLE_UUID=1 -DSQLITE_TEMP_STORE=2 -DSQLITE_USE_URI=1 -DSQLITE_USER_AUTHENTICATION=0 -DSQLITE_ENABLE_DBPAGE_VTAB=1 -DSQLITE_ENABLE_DBSTAT_VTAB=1 -DSQLITE_ENABLE_STMTVTAB=1 -DSQLITE_ENABLE_UNKNOWN_SQL_FUNCTION=1 $(X86_FLAGS) $(ARM_FLAGS)

if HOST_WINDOWS
sqlite3shell_LDADD =
Expand Down
21 changes: 17 additions & 4 deletions libsql-ffi/bundled/SQLite3MultipleCiphers/configure.ac
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
dnl Process this script with autoconf to create configure for sqlite3mc library
dnl
dnl Copyright (C) 2019-2023 Ulrich Telle <ulrich@telle-online.de>
dnl Copyright (C) 2019-2025 Ulrich Telle <ulrich@telle-online.de>
dnl
dnl This file is covered by the same licence as the entire SQLite3 Multiple Ciphers package.

AC_INIT([sqlite3mc], [1.8.1], [ulrich@telle-online.de])
AC_INIT([sqlite3mc], [2.0.2], [ulrich@telle-online.de])

dnl This is the version tested with, might work with earlier ones.
AC_PREREQ([2.69])
Expand Down Expand Up @@ -95,6 +95,15 @@ AC_ARG_WITH([ascon128],
AS_IF([test "x$with_ascon128" = xno],
[AC_DEFINE([HAVE_CIPHER_ASCON128], [0], [Define if you have Ascon-128 disabled])])

AC_ARG_WITH([aegis],
[AS_HELP_STRING([--without-aegis],
[Disable support for AEGIS Encryption])],
[],
[with_aegis=yes])

AS_IF([test "x$with_aegis" = xno],
[AC_DEFINE([HAVE_CIPHER_AEGIS], [0], [Define if you have AEGIS disabled])])

dnl Enable cipher codec

AC_ARG_ENABLE(codec,
Expand All @@ -104,7 +113,8 @@ AC_ARG_ENABLE(codec,
chacha20 [default]: ChaCha20-Poly1305 Encryption
sqlcipher: SQLCipher Encryption
rc4: System.Data.SQLite RC4 Encryption
ascon128: Ascon-128 Encryption],
ascon128: Ascon-128 Encryption
aegis: AEGIS Encryption],
[if test "x$enableval" = "xaes128" && test "x$with_aes128cbc" = xyes ; then
codec_type=CODEC_TYPE_AES128
elif test "x$enableval" = "xaes256" && test "x$with_aes256cbc" = xyes ; then
Expand All @@ -117,6 +127,8 @@ AC_ARG_ENABLE(codec,
codec_type=CODEC_TYPE_RC4
elif test "x$enableval" = "xascon128" && test "x$with_ascon128" = xyes ; then
codec_type=CODEC_TYPE_ASCON128
elif test "x$enableval" = "xaegis" && test "x$with_aegis" = xyes ; then
codec_type=CODEC_TYPE_AEGIS
else
echo
echo "Error!"
Expand All @@ -131,7 +143,8 @@ AS_IF([test "x$with_aes128cbc" = xno &&
test "x$with_chacha20" = xno &&
test "x$with_sqlcipher" = xno &&
test "x$with_rc4" = xno &&
test "x$with_ascon128" = xno],
test "x$with_ascon128" = xno &&
test "x$with_aegis" = xno],
[AC_DEFINE([SQLITE_HAS_CODEC], [0], [All ciphers disabled so encryption is disabled])])

dnl Check for zlib
Expand Down
Loading
Loading