aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Two branches associated with memdb are now always taken (I believe). Tagdrh2023-01-20
| | | | | them with ALWAYS() to verify this. FossilOrigin-Name: 20b9b5aa4fa6136059cf1123f00d86cb7bd8fb0f0f86f971e9714f22725e60b5
* Ensure that the database encoding cannot be changed while there are ↵dan2023-01-20
| | | | | statements running. And that the connection is left in a valid state after an obscure OOM within sqlite3_deserialize(). FossilOrigin-Name: a02da71f3a80dd8e817e89cdaa775c95e38c90d2471f8fec516bed086539e2c0
* The json_group_array(), json_group_object(), and fts5_source_id() functionsdrh2023-01-20
| | | | | should all be deterministic and innocuous. FossilOrigin-Name: edcb83fa0d3c832d044b267d608fed31a2ac841b81c7c9406b2136ac43d61a1a
* Change an now unreachable testcase() into an assert().drh2023-01-17
| | | FossilOrigin-Name: 517b2c4c4ee9afc50e5457a6877e5af34358a6267d8dad669d25410c124866ac
* Fix harmless compiler warnings in the CLI.drh2023-01-17
| | | FossilOrigin-Name: 7cf282d307a23697b38f5fd4b46f13f63a9e6f7cc74ccd66297d88c00aa8f454
* Update virtual tables json_each and json_tree so that adding "ORDER BY ↵dan2023-01-17
| | | | | rowid" to a query does not require an external sort. FossilOrigin-Name: ce18f0ed684824e67ed6c09acab8e735fef2c52b2ed32270dee1a2a67802c59b
* Cause .clone to not trip over sequence table as reported at ↵larrybr2023-01-16
| | | | | [forum:/forumpost/71ff9e6c4c|forum post 71ff9e6c4c]. FossilOrigin-Name: b44d04f7b051d807a81152a6e4f15a765f7b9ed1f01b48b40dc5420c11e0c251
* In the CLI, create our own private version of strncpy() to work arounddrh2023-01-16
| | | | | false-positive compiler warnings from Alpine Linux. FossilOrigin-Name: 83f21285fe86430a66ce6841606e3ad7c27da52ac75a034c6a00c7a9fdb9791d
* Doc-only fix, per [forum:/forumpost/0cfaf6876b|forum post 0cfaf6876b]larrybr2023-01-14
| | | FossilOrigin-Name: eac135fd6a5dd220a0f7c1b61f987bbd801faabdb76846c4417fef0dd03fcb87
* In expression nodes of type REGISTER with sub-type COLUMN, ensure that thedrh2023-01-13
| | | | | | | iColumn field is set correctly, as otherwise the "IS NULL" operator might be incorrectly optimized. Fix for the problem described by [forum:/forumpost/d010a26798915b53|forum post d010a26798915b53]. FossilOrigin-Name: 0819a1869a39d54a405259ea323365506a182962a02affdef16a03446005da64
* Update documentation for sqlite3_progress_handler().drh2023-01-13
| | | FossilOrigin-Name: 41b4c407b7f6968f4493fb9a0b220c55a6f6a353a8e6cb054efd3eb01bdd11dc
* Remove an incorrect legacy assert().drh2023-01-13
| | | FossilOrigin-Name: 3006b3b32fb1efedde3ade418c19c35b6e9a4af1e6a7cb5d5c72a080ec1f6f3c
* Reduce the frequency of calls to sqlite3ProgressCheck().drh2023-01-12
| | | FossilOrigin-Name: 795aca4a269ea4ede547844037c218ac714c40e8bee003e4d9b786befc9cf97a
* Fix sqlite3_prepare() so that it only invokes the progress handler on everydrh2023-01-12
| | | | | | | N-th call to sqlite3ProgressCheck(), where N is the progress handler step count. Also fix faulty asserts exposed by the ability to interrupt in the middle of sqlite3_prepare(). FossilOrigin-Name: 05461651599bb490ac6cfd893645dabab9cccedc6adcce15aee2487b2ea6027a
* Attempt to provide a mechanism to do early termination of long-runningdrh2023-01-12
| | | | | | | statement preparation by invoking the progress handler at strategic points during sqlite3_parpare(). This experiment shows that sqlite3_prepare() might leave the resulting prepared statement uninitialized following an interrupt. FossilOrigin-Name: 79636f2d80aee70832913a78933da2a7e30cc037810b93903ebbc1925ea93fef
* Fix duplicate semicolon in btreeInt.h.drh2023-01-11
| | | | | [forum:/forumpost/8db1711ca2|Forum post 8db1711ca2] FossilOrigin-Name: 7526c46632578a2b602622b9debc406b52af4a42cc880970c4307d13853d59d3
* If OP_Rewind has P2 of zero, that is an assertion that the table is neverdrh2023-01-11
| | | | | | | empty. This fixes a false-positive in the out-of-subroutine jump detection logic added in version 3.39.0, and which was causing the assertion on the previous check-in. FossilOrigin-Name: 33fd9997ebb88f0d78522c036e75aef08015d31d28b1cbee08ae7c4cd5ecc6aa
* Add an assert() to the byte-code engine that goes off if the OP_Halt opcodedrh2023-01-11
| | | | | | | | is invoked with SQLITE_INTERNAL. This causes the RIGHT JOIN error "Opcode jumps to ... which is outside the subroutine ..." to fail immediately, causing it to come more readily to tester's attention. There is at least one testcase in test/fuzzdata8.db that asserts due to this change. FossilOrigin-Name: b8f994414285264f4f7c472dfad646a061fc3580b754eac0f20080c24ecc256d
* Improved progress-handler and interrupt detection during PRAGMA integrity_check.drh2023-01-11
| | | FossilOrigin-Name: 6db42780a9e530bcc94490cc6080536309666dc13523272d1799d6661137e908
* Add a new sqlite3_is_interrupted() interface that can be used by long-runningdrh2023-01-11
| | | | | | app-defined functions and similar to see if they need to exit early due to an sqlite3_interrupt() call. FossilOrigin-Name: d030f341369b7f32789cbcf3d0ad9a2ac5cad99a56dac7dfe68b7f06dc339b17
* When computing the datatypes for columns in a view, use the same datatype namedrh2023-01-10
| | | | | | | as the underlying table if such is available and is consistent with the computed affinity of the column. [forum:/forumpost/7fb1fe9dcf310ef5|Forum thread 7fb1fe9dcf310ef5]. FossilOrigin-Name: 497a98363fd1ed079544620ec5d0883f987ed03013131542741c93d7568e8568
* Fix handling of unix paths that contain ".." components such that "/" is ↵dan2023-01-10
|\ | | | | | | | | considered its own parent directory. FossilOrigin-Name: b829dd1b976454619ca04c69aec5ebb5a2286772f4267b82ab2ea5fdb81ccd41
| * Fix handling of unix paths that contain ".." components such that "/" is ↵dan2023-01-10
| | | | | | | | | | considered its own parent directory. FossilOrigin-Name: 3c6cadb396de3981bd950eddd532daa8134bd4bf22c578620e323835c96a8500
* | Improvements to the SQLITE_DIRECTONLY documentation.drh2023-01-10
|/ | | FossilOrigin-Name: b277ba40a8b0acea15bd73036d1c86fb5187f047ec8500ebc88c738ea3dbd118
* Clarify help for .quit.larrybr2023-01-09
| | | FossilOrigin-Name: 8004a2b7439748f1034df897af7b6c58b48a46923c6fdddbe7d78c89b8d7b438
* Fix JSON functions so that they work correctly under PRAGMA trusted_schema.drh2023-01-09
| | | | | [forum:/forumpost/c88a671ad083d153|Forum thread c88a671ad083d153]. FossilOrigin-Name: 51a5d83c425d2e31508b73074d0076156817afb19003f847d16bf4a69ae5077b
* Doc-only update, sqlite3_preupdate_hook() returnlarrybr2023-01-07
| | | FossilOrigin-Name: 2da51d7e1b9f16ef03efbb096ce2a84e8c23b883380f48b2d374bdc521865aeb
* Changes a testcase() into an assert() due to thedrh2023-01-05
| | | | | [e58bba93717cd6ff] change. FossilOrigin-Name: a6251d72894f9c2e21fc6e91b1d2452a204952f5e1a94fd93835a47c7dfb9be3
* Fix a problem with applying integer affinity to a MEM_IntReal value. Forum ↵dan2023-01-05
| | | | | post [forum:/forumpost/d270125fae|forum post d270125fae]. FossilOrigin-Name: e58bba93717cd6ff950c6f9e077b4327b59b1956dd5f6668be3de9509584b8fe
* Ensure that LIMIT clauses may be passed through to virtual table ↵dan2023-01-04
| | | | | implementations even if the WHERE clause uses operators that may only be optimized by virtual, not built-in, tables (!=, functions, MATCH etc.). FossilOrigin-Name: f38caab23bcef1df02618376de22d208a3333d023628cde310345505933329f1
* Employ deliberate_fall_through macro to quiet some compilers.larrybr2023-01-04
| | | FossilOrigin-Name: 869635fb81e0868dee80ce77653a2c1d2af41b3ffbf0a3f7b788ac99dc808887
* Enhance PRAGMA integrity_check so that it verifies that the string valuesdrh2023-01-04
| | | | | | | stored in indexes are byte-for-byte identical to the values in the table, and not just equivalent according to the collating sequence. dbsqlfuzz 686e2e205e0c0594d3fb524bea0c25e621d1a870. FossilOrigin-Name: 9302e4bfdce5905576b8f0af7d6b3a864e1dcd58ed89bb303010a1c4f826e915
* Remove the unused "sqlite3StackAllocZero()" macro.drh2023-01-04
| | | FossilOrigin-Name: f0ca57207e9f3ab401264498f65c249b479d9e0da7158e001b002584ac67dd0a
* Elaborate on the open-in-read-only fallback behavior of the ↵stephan2023-01-04
| | | | | SQLITE_OPEN_READWRITE flag, per user request. Unrelated trailing EOL whitespace cleanups. FossilOrigin-Name: 1003144fc192e1531e1bc968d7e1d0ccc7ad31e501180f90e1479565a4abfb96
* Small performance increase in the symbol hash table.drh2023-01-03
| | | FossilOrigin-Name: a19597b4fd2530a89363992b9179f9f3f0621a6e3861a91324f29311aafe09b9
* Avoid an unnecessary call to strlen() in the sqlite3VdbeMemStringify() routine,drh2023-01-03
| | | | | for a performance increase and size reduction. FossilOrigin-Name: 284382d37850f469dc4bf3ab8efd2f20971554e897f1ba3e94d3f2f0c35d97d0
* Small performance improvement in the btreeOverwriteCell() routine.drh2023-01-03
| | | FossilOrigin-Name: df5ea47130d275e9fa1bd6aa8d55f1d5e136cba30ba13b7ede22224aa7f78919
* Remove redundant assignment in kvvfs's decoding.peter.d.reid2022-12-31
| | | FossilOrigin-Name: 2ffbf0c73c5a0f08717093cfaac99c4aedee506ec7b5a9a62c92168a2bcadc14
* Avoid an infinite loop when an unexpected character is being decoded by kvvfspeter.d.reid2022-12-31
| | | FossilOrigin-Name: 6909195f77b50650982a6afd9d72b3a6ac9aff1f86c653fa18d0d9bf64e9bd8f
* A call to sqlite3_declare_vtab() should not cause DML/DDL authorizationdrh2022-12-29
| | | | | failures. FossilOrigin-Name: eed1e030722deb24674e7c2d165a2a359576c6bb5769d3bdd5fa645bc0f2ecc7
* Fix a missing 0 at the end of an integer literal in check-in [8da0f0c38a458c57]drh2022-12-27
| | | FossilOrigin-Name: e3776796f55574f357eb429e20399389092a68e9ca00aa104ed33eb559ae0de5
* Fix an infinite loop in the MEMSYS5 auxiliary memory allocator that occursdrh2022-12-26
| | | | | | | for memory allocations between 1GiB and 2GiB in size. Error introduced by check-in [949133231f8f751a]. The problem only affects builds that include the SQLITE_ENABLE_MEMSYS5 compile-time option. FossilOrigin-Name: 8da0f0c38a458c57f979d59b49cf4804ef81fc2eccabde1f166bab24dd1dabea
* Grammar fixup in comment re SQLITE_TRACE_PROFILE trace event.larrybr2022-12-26
| | | FossilOrigin-Name: b6dc80cbf63ed521ef8f878fba24b0110d61813763ca7bfbcfb0a145656b300a
* Add base64() and base85() text/blob conversions to the CLI.larrybr2022-12-23
| | | FossilOrigin-Name: 4bc98a2d9520efa9b80142163cbfab72a5f2fe9854cd6ba8291dcefdb872e657
* Fix lots of harmless, nuisance compiler warnings, mostly unused parameterdrh2022-12-23
| | | | | warnings in extensions. FossilOrigin-Name: c14bbe1606c1450b709970f922b94a641dfc8f9bd09126501d7dc4db99ea4772
* Additional fixes for yet more completely harmless compiler warnings.drh2022-12-23
| | | FossilOrigin-Name: 7d3772f0bd0e2602fe919573b49001da4e2b9f3874cb0183dea675204afa7abd
* Squelch a new (and, in this case, harmless) compiler warning.stephan2022-12-23
| | | FossilOrigin-Name: a02e19dd6ce00492f3d187e3c3c9bde4d9d1ee9a23616e62ea3590eec95652bd
* Asserts added to ensure that the iCompare variable in the bytecode enginedrh2022-12-22
| | | | | is correctly initialized before it is used. FossilOrigin-Name: 7b5900a111b9410f7d60c937e5a56304f2f66b94cd0881e94abcc5eedde52514
* Avoid having to reinitialize Vdbe.pResultRow upon each call to sqlite3_step()drh2022-12-22
| | | | | for a small size reduction and performance increase. FossilOrigin-Name: 6a00d67f5955ab86eea982c27b3a03b680fdf644ec63f49586ade6342a4d64a6
* Rename the Vdbe.pResultSet field to pResultRow in order to better distinguishdrh2022-12-22
| | | | | it from other variables with similar names. FossilOrigin-Name: 1fd6211ef7bd26ed625177bfedfd5153ace547de6a71365ecfa076578d043f1a