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

Update SQLite engine from 3.36.0 to 3.37.0 #1251

Merged
merged 1 commit into from
Dec 2, 2021
Merged

Conversation

DL6ER
Copy link
Member

@DL6ER DL6ER commented Dec 1, 2021

By submitting this pull request, I confirm the following:

  • I have read and understood the contributors guide.
  • I have checked that another pull request for this purpose does not exist.
  • I have considered, and confirmed that this submission will be valuable to others.
  • I accept that this submission may not be used, and the pull request closed at the will of the maintainer.
  • I give this submission freely, and claim no ownership to its content.

How familiar are you with the codebase?:

10


Changelog:

  1. STRICT tables provide a prescriptive style of data type management, for developers who prefer that kind of thing.
  2. When adding columns that contain a CHECK constraint or a generated column containing a NOT NULL constraint, the ALTER TABLE ADD COLUMN now checks new constraints against preexisting rows in the database and will only proceed if no constraints are violated.
  3. Added the PRAGMA table_list statement.
  4. CLI enhancements:
    1. Add the .connection command, allowing the CLI to keep multiple database connections open at the same time.
    2. Add the --safe command-line option that disables dot-commands and SQL statements that might cause side-effects that extend beyond the single database file named on the command-line.
    3. Performance improvements when reading SQL statements that span many lines.
  5. Added the sqlite3_autovacuum_pages() interface.
  6. The sqlite3_deserialize() does not and has never worked for the TEMP database. That limitation is now noted in the documentation.
  7. The query planner now omits ORDER BY clauses on subqueries and views if removing those clauses does not change the semantics of the query.
  8. The generate_series table-valued function extension is modified so that the first parameter ("START") is now required. This is done as a way to demonstrate how to write table-valued functions with required parameters. The legacy behavior is available using the -DZERO_ARGUMENT_GENERATE_SERIES compile-time option.
  9. Added new sqlite3_changes64() and sqlite3_total_changes64() interfaces.
  10. Added the SQLITE_OPEN_EXRESCODE flag option to sqlite3_open_v2().
  11. Use less memory to hold the database schema.

We are not yet using any of the new features but can still benefit from no. 11.

@DL6ER DL6ER added the SQLite3 label Dec 1, 2021
@DL6ER DL6ER merged commit 5b9eefd into development Dec 2, 2021
@DL6ER DL6ER deleted the update/sqlite_3.37.0 branch December 2, 2021 05:59
@DL6ER DL6ER mentioned this pull request Dec 20, 2021
5 tasks
@pralor-bot
Copy link

This pull request has been mentioned on Pi-hole Userspace. There might be relevant details there:

https://discourse.pi-hole.net/t/pi-hole-ftl-v5-12-web-v5-9-and-core-v5-7-released/51795/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants