Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this implement/fix?
Update the embedded SQLite3 engine. Pi-hole will benefit from improvements to the PRAGMA integrity_check command and miscellaneous performance enhancements.
We do not add SQLITE_ENABLE_STMT_SCANSTATUS, the SQLite3 help says:
2023-02-21 (3.41.0)
1. Make use of indexed expressions within an aggregate query that includes a GROUP BY clause.
2. The query planner has improved awareness of when an index is a covering index and adjusts predicted runtimes accordingly.
3. The query planner is more aggressive about using co-routines rather than materializing subqueries and views.
4. Queries against the built-in table-valued functions json_tree() and json_each() will now usually treat "ORDER BY rowid" as a no-op.
5. Enhance the ability of the query planner to use indexed expressions even if the expression has been modified by the constant-propagation optimization. (See forum thread 0a539c7.)
1. Add the new base64() and base85() SQL functions
2. Enhanced EXPLAIN QUERY PLAN output using the new sqlite3_stmt_scanstatus_v2() interface when compiled using SQLITE_ENABLE_STMT_SCANSTATUS.
3. The "
.scanstats est
" command provides query planner estimates in profiles.4. The continuation prompt indicates if the input is currently inside of a string literal, identifier literal, comment, trigger definition, etc.
5. Enhance the --safe command-line option to disallow dangerous SQL functions.
6. The double-quoted string misfeature is now disabled by default for CLI builds. Legacy use cases can reenable the misfeature at run-time using the "
.dbconfig dqs_dml on
" and ".dbconfig dqs_ddl on
" commands.1. The new makefile target "sqlite3r.c" builds an amalgamation that includes the recovery extension.
2. New makefile targets "devtest" and "releasetest" for running a quick developmental test prior to doing a check-in and for doing a full release test, respectively.
2023-03-10 (3.41.1)
CREATE TABLE t1 AS SELECT CAST(7 AS INT) AS x;
" continues to be INT and is not NUM, for historical compatibility.Related issue or feature (if applicable): N/A
Pull request in docs with documentation (if applicable): N/A
By submitting this pull request, I confirm the following:
git rebase
)Checklist:
developmental
branch.