Roll src/third_party/sqlite/src/ 60efbb358..45174b3e6 (312 commits)

https://chromium.googlesource.com/chromium/deps/sqlite.git/+log/60efbb3584af..45174b3e6cb1

$ git log 60efbb358..45174b3e6 --date=short --no-merges --format='%ad %ae %s'
2021-03-17 huangdarwin Amalgamations for release 3.35.1
2021-03-15  Version 3.35.1
2021-03-15  Bump the version number to 3.35.1.
2021-03-15 larrybr Make shell's .help output for .dump more accurate as to what can be dumped.
2021-03-15 larrybr Create new branch named "cli-tweaks"
2021-03-14  An additional test case
2021-03-14  An alternative approach for fixing ticket [1c24a659e6d7f3a1].
2021-03-12 larrybr Update generated autoconf/Makefile.msc to reflect its source.
2021-03-12  Version 3.35.0
2021-03-12  Fix broken requirement marks.
2021-03-12  Fix the ".read" command in the CLI so that SQLITE_OMIT_POPEN disables reading from a pipeline.
2021-03-12 larrybr Conform description of sqlite3changeset_op() arguments to implemented behavior, some reformatting. This is a comment-only change; no code is affected.
2021-03-11 Dan Kennedy Fix a Tcl object leak in test_session.c.
2021-03-11  Bug fix in appendvfs.c:  Adjust the size parameter for SQLITE_FCNTL_SIZE_HINT to account for the prefix.
2021-03-11 Dan Kennedy Have the Tcl tests support environment variable SQLITE_TEST_PATTERN_LIST, so that if it is set it is interpreted as a list of patterns that are matched against tests file names. Only test files that match at least one pattern are run.
2021-03-10 Dan Kennedy Fix sanitizer complaint in fts3 code.
2021-03-10 Dan Kennedy Fix further sanitizer complaints in the fts5 code.
2021-03-10  Improved testcase() related the SQLITE_MAX_ATTACHED vs. SQLITE_MAX_DB problem.
2021-03-10  Improvement to the ATTACH-abuse authorizer logic in fuzzcheck.
2021-03-10 Dan Kennedy Do not run avfs.test when testing SQLITE_OMIT_VIRTUALTABLE builds.
2021-03-10  Do not confuse the constant SQLITE_MAX_ATTACHED with the maximum number of schemas.  Add the new SQLITE_MAX_DB constant for the maximum number of schemas.  [forum:/forumpost/a006d86f72|Forum post a006d86f72].
2021-03-10 Dan Kennedy Fix test file avfs.test so that it works with SQLITE_DEFAULT_AUTOVACUUM builds. Do not run avfs.test under test permutation "journaltest".
2021-03-10 Dan Kennedy Fix a few sanitizer complaints in fts5.
2021-03-10 Dan Kennedy Fix a problem preventing wapptest from setting SQLITE_ENABLE_LOCKING_STYLE for OSX tests. Also modify the "Sanitize" configuration in releasetest_data.tcl to subsume test item 6g.
2021-03-10 larrybr When shell has no .ar, fake its effect w.r.t. page_size and table creation/filling.
2021-03-09  Add appendvfs.c to the MSVC makefile.
2021-03-09 Dan Kennedy Update a comment in btree.h.
2021-03-09  Fix a bad comment (copy-paste error) in the byte code engine.  No code changes.
2021-03-09  Improved comments on the NOT NULL strength reduction optimization.
2021-03-09  Extra comments and testcase() macros associated with the new sqlite3ParserAddCleanup() mechanism.  No changes to release builds.
2021-03-09  Add --enable-math to the amalgamation autoconf.  On be default.  Improved logging of the amalgamation autoconf.
2021-03-09  Math functions are enabled by default in the main configure script.
2021-03-09  Improvements to the configure script.  Math functions are enabled by --enable-all.
2021-03-09  Update the authorizer in fuzzcheck to align with dbsqlfuzz.
2021-03-08 larrybr Add tests for too-tiny appended DBs, clarify align macro.
2021-03-08 Dan Kennedy Add test cases for ALTER TABLE.
2021-03-08  Fix a bad assert in RENAME COLUMN. dbsqlfuzz 3f0a7245b69cd08617d7d7781ebaedb0fe765a93.
2021-03-08  Fix a harmless compiler warning in appendvfs.c
2021-03-08  Enable internal functions for fuzzcheck.
2021-03-08 larrybr Added test/avfs.test (missing from branch merge for some reason.)
2021-03-08  Require that the appendvfs suffix mark indicate that the appended database begins at an offset that is a muliple of 512 and that the appended database contains at least 512 bytes.
2021-03-08  Correct the precendence order for rules that determine how a database is opened by appendvfs when a database is appended to another database.
2021-03-08  Minor comment and formatting changes.
2021-03-08 larrybr Add tests for sqlite3 shell with -append flag.
2021-03-07 larrybr Add grow/shrink tests. Fix truncate bug. Make appendvfs.c easier to inspect.
2021-03-06 larrybr Create initial tests for appendvfs, and make it available as a statically loaded extension.
2021-03-06  Limit parenthesis nesting depth in FTS3 expressions to SQLITE_MAX_EXPR_DEPTH.
2021-03-06 Dan Kennedy Ensure the correct collation sequence is used for comparisons when delimiting a RANGE window.
2021-03-06 Dan Kennedy Fix a crash in fts3 that could occur when running a NEAR query on a corrupt database.
2021-03-06  Fix a possible NULL pointer dereference when applying a DROP COLUMN to a corrupt database schema.  dbsqlfuzz 419aa525df93db6e463772c686ac6da27b46da9e
(...)
2020-12-15 Dan Kennedy Change an fts5 assert() that can be triggered by a corrupt database to an if() condition.
2020-12-14 Dan Kennedy Fix an integer overflow problem in new VACUUM code.
2020-12-14 drh Minor changes for test coverage.
2020-12-12 drh More test cases.  No new problems discovered.
2020-12-12 drh New test cases with corresponding bug fixes.
2020-12-11 drh Begin adding test cases.  Fix one bug found so far.  More are pending.
2020-12-11 Dan Kennedy Fix an assert() broken by recent changes to vacuum.
2020-12-11 drh Small performance tweaks.
2020-12-11 drh Bug fixes so that legacy tests pass.  New tests for new functionality have not yet been added.
2020-12-11 Dan Kennedy Add an "#ifndef SQLITE_AMALGAMATION" block around the typedef for u64 in shathree.c.
2020-12-11 drh Fix the configure script on the autoconf distribution so that the --disable-threadsafe option works.  See [https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244459|FreeBSD bug 244459].
2020-12-11 Dan Kennedy Fix the expert extension so that it handles generated columns correctly.
2020-12-11 drh Logic is in place to handle multiple ON CONFLICT clauses, but it does not work. Any use of ON CONFLICT will likely lead to memory faults.  This is an incremental check-in to save my place.
2020-12-10 drh Use an iterator for the index loop in sqlite3GenerateConstraintChecks(). The idea is that this iterator can be enhanced to traverse the indexes in any order, as required by multi-index UPSERT.
2020-12-10 Dan Kennedy Remove a redundant branch added by [56a54258560].
2020-12-10 Dan Kennedy Fix minor issues with new code on this branch.
2020-12-10 Dan Kennedy Better integrate the changes on this branch with OP_Insert and OP_IdxInsert.
2020-12-10 drh Add an optional function to the chsumvfs extension.  When activated by the SQLITE_CKSUMVFS_INIT_FUNCNAME macro, this function will invoke the file-control that sets the number of reserved bytes to 8.  This can be used to initialize a cksumvfs database file by programming languages that do not have access to the sqlite3_file_control() interface.
2020-12-10 drh The DO UPDATE code generator searches for the correct ON CONFLICT clause to use.
2020-12-09 mistachkin Fix compilation issues with MSVC related to C99.
2020-12-09 Dan Kennedy Transfer large index or WITHOUT ROWID records between b-trees when vacuuming without loading them into memory.
2020-12-09 drh For upsert, the constraint check code generator uses a copy of the index list for the target table, which can potentially be reordered.
2020-12-09 Dan Kennedy Add tests for a 'delete' command on a contentless table where values that weren't actually inserted are NULL.
2020-12-09 Dan Kennedy Avoid loading large intkey rows when VACUUMing, even if the page-size is changing.
2020-12-09 drh Improved comments in sqliteInt.h.  No changes to code.
2020-12-09 drh Initialize all terms in the ON CONFLICT clause stack.
2020-12-08 Dan Kennedy Experimental changes to vacuum to avoid loading large records entirely into memory. Currently only works in limited cases only - for rowid tables when the page-size does not change.
2020-12-08 drh Enhance UPSERT parsing to allow multiple ON CONFLICT clauses.  Only the very last clause may omit the conflict target, but the conflict target may now be omitted for the DO UPDATE resolution.
2020-12-07 drh Fix a bad assert() in math1Func().
2020-12-07 drh Fix to the --disable-math option to ./configure.
2020-12-07 drh Many more math functions.  Semantics follows PG wherever possible.
2020-12-07 drh Begin adding new SQL functions that depend on -lm:  ceil(), ceiling(), floor(), ln(), log(), and log10() so far.  More to follow.
2020-12-04 drh Fix harmless compiler warnings associated with the recent FTS5 enhancements.
2020-12-04 drh Fix a bug in the ".eqp" command of the shell that was introduced by the recent sqlite3SelectTrace/SQLITE_TESTCTRL_TRACEFLAGS changes.
2020-12-04 Dan Kennedy Ensure that fts5 function matchinfo() is registered before running tests that use it in fts5corrupt3.test.
2020-12-04 Dan Kennedy Fix a test script problem in walvfs.test.
2020-12-04 drh Fix an incorrect datatype no the sqlite3WhereTrace variable in test1.c.
2020-12-04 drh Further changes to the trace variables to try to eliminate (harmless) compiler warnings in all configurations.
2020-12-04 drh Alternative implementation of ".selecttrace" and ".wheretrace" that uses a test-control rather than global variables.
2020-12-03 Dan Kennedy When merging prefix lists in fts5, use 16-way merges instead of 2-way merges. This faster.
2020-12-03 drh Do not simulate OOM faults on the SQLITE_FCNTL_CKPT_START and SQLITE_FCNTL_CKPT_DONE file-controls, as those are write-only and the return value is always ignored.
2020-12-03 drh Enhance the generate_series() table-valued function to support negative step values.
2020-12-02 mistachkin Prevent potential segfault in the sqlite-expert idxPopulateStat1 context cleanup code.
2020-12-02 Dan Kennedy Allow a search for an N character prefix in fts5 to use a prefix index of size N+1, if no prefix index of size N exists.
2020-12-02 drh Fix the ".open" command in the CLI so that it accepts command-line options both before and after the filename.
2020-12-02 Dan Kennedy Improve performance for fts5 column filters that filter for more than one column. e.g. "{col1 col2 col3}:phrase".
2020-12-02 drh Parameterize the hash function in mkkeywordhash.c.  This was an attempt to find a better hash function, which turned out to not be successful.
2020-12-02 drh Increase the version number to 3.35.0 to begin the next development cycle.
2020-12-01 drh Add the --lookaside SIZE COUNT command-line option to the dbfuzz2 testing tool.
2020-11-27 drh Improve the speed of the tokenizer by recognizing that tokens starting with letters "_", "Y", or "Z" can never be SQL keywords and must be ordinary identifiers.

Created with:
  roll-dep src/third_party/sqlite/src

Bug: 1188292
Change-Id: I284f1b69ae1c0f209e9c40ede34e8ea3de21b7fe
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2774965
Reviewed-by: Chris Mumford <cmumford@google.com>
Commit-Queue: Darwin Huang <huangdarwin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#865858}
2 files changed
tree: 2b7b80ebb8c356f5db3301fcf59b44d0924c2d9e
  1. android_webview/
  2. apps/
  3. ash/
  4. base/
  5. build/
  6. build_overrides/
  7. buildtools/
  8. cc/
  9. chrome/
  10. chromecast/
  11. chromeos/
  12. cloud_print/
  13. codelabs/
  14. components/
  15. content/
  16. courgette/
  17. crypto/
  18. dbus/
  19. device/
  20. docs/
  21. extensions/
  22. fuchsia/
  23. gin/
  24. google_apis/
  25. google_update/
  26. gpu/
  27. headless/
  28. infra/
  29. ios/
  30. ipc/
  31. jingle/
  32. media/
  33. mojo/
  34. native_client_sdk/
  35. net/
  36. pdf/
  37. ppapi/
  38. printing/
  39. remoting/
  40. rlz/
  41. sandbox/
  42. services/
  43. skia/
  44. sql/
  45. storage/
  46. styleguide/
  47. testing/
  48. third_party/
  49. tools/
  50. ui/
  51. url/
  52. weblayer/
  53. .clang-format
  54. .clang-tidy
  55. .eslintrc.js
  56. .git-blame-ignore-revs
  57. .gitattributes
  58. .gitignore
  59. .gn
  60. .vpython
  61. .vpython3
  62. .yapfignore
  63. AUTHORS
  64. BUILD.gn
  65. CODE_OF_CONDUCT.md
  66. codereview.settings
  67. DEPS
  68. DIR_METADATA
  69. ENG_REVIEW_OWNERS
  70. LICENSE
  71. LICENSE.chromium_os
  72. OWNERS
  73. PRESUBMIT.py
  74. PRESUBMIT_test.py
  75. PRESUBMIT_test_mocks.py
  76. README.md
  77. WATCHLISTS
README.md

Logo Chromium

Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.

The project's web site is https://www.chromium.org.

To check out the source code locally, don't use git clone! Instead, follow the instructions on how to get the code.

Documentation in the source is rooted in docs/README.md.

Learn how to Get Around the Chromium Source Code Directory Structure .

For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.