Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dep: update sqlite3 to v3.43.0 #395

Merged
merged 2 commits into from
Aug 25, 2023
Merged

Conversation

flavorjones
Copy link
Member

@flavorjones flavorjones commented Aug 24, 2023

https://sqlite.org/releaselog/3_43_0.html

From the upstream changelog:

SQLite Release 3.43.0 On 2023-08-24

  • Add support for Contentless-Delete FTS5 Indexes. This is a variety of FTS5 full-text search index that omits storing the content that is being indexed while also allowing records to be deleted.
  • Enhancements to the date and time functions:
    • Added new time shift modifiers of the form ±YYYY-MM-DD HH:MM:SS.SSS.
    • Added the timediff() SQL function.
  • Added the octet_length(X) SQL function.
  • Added the sqlite3_stmt_explain() API.
  • Query planner enhancements:
    • Generalize the LEFT JOIN strength reduction optimization so that it works for RIGHT and FULL JOINs as well. Rename it to OUTER JOIN strength reduction.
    • Enhance the theorem prover in the OUTER JOIN strength reduction optimization so that it returns fewer false-negatives.
  • Enhancements to the decimal extension:
    • New function decimal_pow2(N) returns the N-th power of 2 for integer N between -20000 and +20000.
    • New function decimal_exp(X) works like decimal(X) except that it returns the result in exponential notation - with a "e+NN" at the end.
    • If X is a floating-point value, then the decimal(X) function now does a full expansion of that value into its exact decimal equivalent.
  • Performance enhancements to JSON processing results in a 2x performance improvement for some kinds of processing on large JSON strings.
  • New makefile target "verify-source" checks to ensure that there are no unintentional changes in the source tree. (Works for canonical source code only - not for precompiled amalgamation tarballs.)
  • Added the SQLITE_USE_SEH compile-time option that enables Structured Exception Handling on Windows while working with the memory-mapped shm file that is part of WAL mode processing. This option is enabled by default when building on Windows using Makefile.msc.
  • The VFS for unix now assumes that the nanosleep() system call is available unless compiled with -DHAVE_NANOSLEEP=0.

Without valgrind, "1.4" is inserted as 1.39999999999999991118, but
with valgrind it is inserted as 1.40000000000000013323. Let's just use
"1.5".
@flavorjones flavorjones merged commit 662d731 into master Aug 25, 2023
@flavorjones flavorjones deleted the flavorjones-update-sqlite-3.43.0 branch August 25, 2023 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant