aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| * | | Modify the OP_IfNotOpen opcode so that the jump is taken if the cursor is opendrh2022-09-20
| | | | | | | | | | | | | | | | | | | | but was previously set to a NULL row using OP_NullRow. FossilOrigin-Name: 1292d68caa7086610ddda343f3852e63de8da1eb66536ee4716b6529f5a31bc6
| * | | Remove code that has been previously commented out.drh2022-09-20
| | | | | | | | | | | | FossilOrigin-Name: 852b385a5de622aa32026824210d4bd23db52a4a8a697b83d22d6000edeba487
| * | | Is the query flattener restriction 29 (do not allow both EP_InnerON anddrh2022-09-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | EP_OuterON constraints on the same FROM clause term) really necessary? This branch explores what happens if we omit that restriction. This is an effort to address the performance regression reported by [forum:/forumpost/96b9e5709cf47cda|forum post 96b9e5709cf47cda] that is caused by flattener restriction 29. FossilOrigin-Name: 19270577ad1d08c9e6e5f0600396b8a1ccda9df1e67a0df845aee6b60437f379
| * | | Clarify comments that describe query flattener restrictions associated withdrh2022-09-19
| | | | | | | | | | | | | | | | | | | | outer joins. No code changes. FossilOrigin-Name: 2647d73bb1876d01851f52cb3fd6af08a962ab336b6d51c160d27b1baf94f75f
| * | | Fix a minor comment typo. No changes to code or documentation.drh2022-09-19
| | | | | | | | | | | | FossilOrigin-Name: 8032db4ade66f70a102abb9d3a49e20620e204c45ad7a954a49d20403985bf07
| * | | Remove a NEVER macro in defragmentPage() that dbsqlfuzz discovered can bedrh2022-09-18
| | |/ | |/| | | | | | | | | | true. crash-32d9312f145cdce41613573f6431d9a3e439e3d7 FossilOrigin-Name: 90403759e1cf30f7c11fa8170d6df59a0dd138e1de59d2b60bec7ba15d74f67c
| * | Fix harmless compiler warning seen with MSVC.mistachkin2022-09-09
| | | | | | | | | FossilOrigin-Name: 73c4c68d3b4c16caf8281dabddd7365d24691e5ee2da89b1783eca66bfbd9280
| * | Enhance an assert() to impose for tighter constraints on the operation of ↵drh2022-09-07
| | | | | | | | | | | | | | | pcache. FossilOrigin-Name: 42105eb43a916a7cd839fa6c582eaffaef17f50b23c3e05142400c379feb73c7
| * | An improved technique for ensuring that the Rekey() operation does notdrh2022-09-07
| |/ | | | | | | | | | | | | | | overwrite an existing page number. This approach does not change the semantics of the underlying pluggable pcache and it is easier to prove correct. This replaces the changes at [aadd38f99a3e5abc] and [81cff9f1955874aa]. FossilOrigin-Name: 7dbddde79e3ca1b81e00288616fc27434698ce6dcb47714728fce8602ae91f45
| * Fix the windows build so that it works with -DSQLITE_OMIT_AUTOINIT.drh2022-09-05
| | | | | | FossilOrigin-Name: f74a5ea8c986dc33d3afcda169c38abbe55728c56716cf9991a5e2ef7fc4917a
| * Ensure the Pager.journalOff variable is zeroed if an error occurs while ↵dan2022-09-02
| | | | | | | | | | writing the initial header to the journal file. FossilOrigin-Name: da7af290960ab8a04a1f55cdc5eeac36b47fa194edf67f0a05daa4b7f2a4071c
| * Fix an assert() associated with the dbsqlfuzz error at [8372468bb5d8922c].drh2022-09-02
| | | | | | FossilOrigin-Name: 54251f81ebc43839cc97f91d2df4c320c1b96b5690cc11ce45b60c087c9becd6
| * If sqlite3PcacheMove() really performs a swap, then be sure to renumber thedrh2022-09-02
| | | | | | | | | | second page. FossilOrigin-Name: 81cff9f1955874aade55daa94263f58f06d966bd51ad558755f92777069a7347
| * Enhance the pcache1 implementation so that during an xRekey operation ifdrh2022-09-02
| | | | | | | | | | | | another page already exists at the destination, that other page gets moved to the source key. FossilOrigin-Name: aadd38f99a3e5abcf9bef49f4367752f163cc79500a28f812bb71969d7de419c
| * Mutex protect access to the sqlite3_test_directory and sqlite3_data_directorydrh2022-09-02
| |\ | | | | | | | | | | | | | | | global variables. See [forum:/forumpost/719a11e1314d1c70|forum thread 719a11e1314d1c70]. FossilOrigin-Name: 8e6ad3a3e942a326cf16432e16d6596c7206c05b6f45cd0ff3a9b836bcfc9deb
| | * Improved mutex protection of the sqlite3_temp_directory anddrh2022-09-02
| | | | | | | | | | | | | | | sqlite3_data_directory global variables. FossilOrigin-Name: ebbe9634d6dde9e097f61fb98a79111e46de422b7bbbd9ed3af7b6f22aacf5ec
| | * Experimental changes to put sqlite3_temp_directory behind a mutex.drh2022-09-02
| |/ | | | | FossilOrigin-Name: 5ee3515fbb88bf1ae5f8b507844f82dcc429380b6ebeab9b09b52b25ee60a60d
| * Defer deleting a transient SELECT statement associated with a flatteningdrh2022-09-01
| | | | | | | | | | of one arm of a compound SELECT until after the parse has completed. FossilOrigin-Name: 1c4157c71cd1e062a9c2c79787d17e34e340f28ce1e40573851dfe174f5da7d7
| * In the query planner, add a heuristic that will reduce the cost of a fulldrh2022-09-01
| | | | | | | | | | | | table scan for a materialized view or subquery if the full scan is the outer-most loop. This is shown to speed up some queries. FossilOrigin-Name: 609fbb94b8f01d6792e5941ab23ce041313d359f6788c4dde6b1ca749ab49137
* | Add tests. Deal issues surrounding aborting recovery from within the SQL ↵dan2022-09-13
| | | | | | | | | | callback, and avoiding the pending-byte page. FossilOrigin-Name: 4e97dd31f5240d9231167ae172a5116426c42177a1ed3c5422b9d51b762d5a87
* | Fix some problems with handling corrupt database in the recovery extension.dan2022-09-12
| | | | | | FossilOrigin-Name: ed318be8241981ef96334ba13d3201a717cc812a59aed64e3dc67f7e7e71854b
* | Update comments in sqlite3recover.h.dan2022-09-08
| | | | | | FossilOrigin-Name: 14164047c43e3ca43aa010c77ea00dfa85400e15645ee0f5b90a677898b6a836
* | Update the shell to use the recover extension for the .recover command.dan2022-09-08
| | | | | | FossilOrigin-Name: ae832e77084eddd696c80cb926d070a5db9d45dce34156a02522b3140e8f5e8b
* | Add new files for an extension to recover data from corrupted databases.dan2022-08-31
|/ | | FossilOrigin-Name: f8298eeba01cb5b02ac4d642c06f3801331ca90edea533ea898a3283981a9e49
* Enhance the b-tree page sorting code to ensure that sqlite3PagerRekey() neverdrh2022-08-31
| | | | | | overloads a page number and uses only the PENDING_BYTE page for temporary storage. FossilOrigin-Name: 5007742886bd20de20be3973737cf46b010359911615eb3da69cd262bd9a2435
* Improved comments in pcache1.c. No changes to code.drh2022-08-30
| | | FossilOrigin-Name: dd017bb1b3e31c7692d29dc4865d6bda871e429978c8738a39160d0114e5bf9b
* Any function call can abort. Take this into account when deciding if a DMLdrh2022-08-30
| | | | | | | statement needs a statement journal. See [forum:/forumpost/9b9e4716c0d7bbd1|forum thread 9b9e4716c0d7bbd1] for more information. FossilOrigin-Name: 5c95ae6c9b93b9bcf698bb1cad93b2da2e28121b35e7c539b1ddc0ef2de33cfe
* More assert() statements in the page cache.drh2022-08-27
| | | FossilOrigin-Name: 7c96a56c0d1de966844da6c5a84c0cd6066130a10724797ce6f228a9182d9b85
* Ensure that every pcache page always has either the PGHDR_DIRTY or thedrh2022-08-27
| | | | | | PGHDR_CLEAN bit set, even during transient page reshuffling during btree balancing. FossilOrigin-Name: e67f03c166277951725c194674c84da61c152a5820aa6df55a726f7dda838e92
* Remove a NEVER() macro for a condition that is actually reachable following ↵dan2022-08-25
| | | | | an OOM. dbsqlfuzz crash-6ef3cd3b18ccc5de86120950a0498641acd90a33.txt. FossilOrigin-Name: b573e2cffa5fedc893ed30e76e47022b3617ac5583e1eb486afa810b2514c419
* Add a mutex to the sqlite3_db_config() interface so that it is threadsafedrh2022-08-24
| | | | | | when two or more threads call it on the same database connection at the same time. FossilOrigin-Name: 459ad8846ee1ee2d3b277a291c47121692bdf477e779b06e77be8338f62237a6
* Fix an inefficiency in the ".dump" command when outputing large blob literals.dan2022-08-24
| | | FossilOrigin-Name: c055d05dbdfd4643d5052c6e6a736c78651fdfcd78f15f791af903df3814832d
* Change the names of the Vdbe.pVNext and Vdbe.ppVPrev fields to make themdrh2022-08-23
| | | | | unique. Change to ppVPrev to save a few bytes and a few CPU cycles. FossilOrigin-Name: 34b8ea31877ae8b40729d37b3f51ae7e15f38be841881ea4a37c9c8f0a52896d
* Enhance assert() statements to enforce tighter bounds on the P5 operand ofdrh2022-08-23
| | | | | the OP_Next and OP_Prev opcodes. FossilOrigin-Name: 4e0a07fc6f96e6e7726506b7a5ee942461c1381501f253893fa94d76023b634f
* Performance enhancement for sqlite3DbFree().drh2022-08-22
| | | FossilOrigin-Name: c296a9d958ec360fc8d217363348b4918d665bccb3c4f27503a2dcef7db49052
* Add the new internal interface sqlite3DbNNFreeNN(db,ptr) where both thedrh2022-08-22
| | | | | | | db and ptr parameters are guaranteed to be non-NULL. Use this where appropriate to save more than 2 million CPU cycles on the standard performance test. FossilOrigin-Name: e5eaa80e81fdf86f2875a912b880272b8d099b82b08e945a7988c5dd0fe9d6b5
* Enhance the enforcement of SQLITE_VTAB_DIRECTONLY so that it applies todrh2022-08-20
| | | | | | | DML statements within triggers. Do not allow DML stratements against virtual tables within triggers unless either the virtual table is SQLITE_VTAB_INNOCUOUS or PRAGMA trusted_schema is ON. FossilOrigin-Name: 9433ea4070f52135be64569057f439e7bdb4b3f425d87167c9ebda50011210c1
* In the ".dump" command of the CLI, if a schema statement ends with andrh2022-08-17
| | | | | | unterminated comment, try to terminate that comment prior to appending the ";" at the end. [forum:/forumpost/d7be961c5c|Forum post d7be961c5c]. FossilOrigin-Name: 96e112da1ac56767cf49f26132833745b6020d2c60f5c36f86ca84f87ad30c81
* Enhance the "PRAGMA integrity_check" statement so that it verifies the rows ofdrh2022-08-17
| | | | | a WITHOUT ROWID table are in the correct order. FossilOrigin-Name: 62f934bff495850d0763e07ffa44a557f066ecba9d039363f32287213cba819f
* Minor code simplification in the code generator for PRAGMA integrity check.drh2022-08-17
| | | FossilOrigin-Name: a3b9c7a6c9be5c78a93e5125f16237d2d84b977eca81f527af0198e96435a995
* Change the legacy RC4-based PRNG to use the RFC-7539 chacha20 algorithm.drh2022-08-16
|\ | | | | FossilOrigin-Name: a0f801151925e882e120f6ab685dcacb9d3268d25b52bc665c5b927bcc7dda1e
| * Fix obsolete comments. Add new comments. Fix non-standard spacing.drh2022-08-16
| | | | | | FossilOrigin-Name: a0d224c6a69941dad1f2b35edcc7ddee343b99eae2aeed74043461f3e97ef5b4
| * Fix an off-by-one error in the ChaCha20 initialization code.drh2022-08-16
| | | | | | FossilOrigin-Name: 72e220eed446ea9a02a6ef03e09a01bcb8bbca1f3b32d2e0bf52a17d9722e2f0
| * Replace the RC4-based PRNG with one based on ChaCha20. 3x faster.drh2022-08-16
| | | | | | FossilOrigin-Name: 084d8776fa95c75440530028171c56547a341c9a952ba2f29bb533b538603c78
* | Add assert() statements to verify that the SQLITE_OPEN_EXCLUSIVE flag is ↵dan2022-08-16
|/ | | | | always passed to the VFS when opening a temporary file. FossilOrigin-Name: e123da49ccae61d591abded52f4721aa10f20d75935c9a3e3fe826a9b8df2317
* In the documentation emphasize that the use of shared cache is discouraged.drh2022-08-15
| | | | | Fix test cases so that they all work with shared cache disabled. FossilOrigin-Name: 52c3ae063e133c5f88cad2c3084cf46218f865ac817ab937e3529d2c6a7af300
* Add the (undocumented) SQLITE_DEFAULT_UNIX_VFS compile-time option.drh2022-08-12
| | | FossilOrigin-Name: 49828bdec5f926cd18a069d39a5db0b1e1f3528a2affcfbaa1cf7b98aca51b3b
* Fix another harmless comment typo that causes a typo in the documentation.drh2022-08-10
| | | FossilOrigin-Name: bb084adb53386d8e52ca1e818a8322d2ec641b73fd8568cee01cc74c0ee9f265
* Remove (harmless) duplicate words in comments used to generate parts of thedrh2022-08-10
| | | | | documentation. [forum:/forumpost/54abbe9ccd|forum post 54abbe9ccd] FossilOrigin-Name: b5e4f0db09ff7790862357df3c6fd38a2dcdfc82ff51b9f0d9470517648c844d
* Allow the name of an index to collide with a table in a different schema.drh2022-08-09
| | | FossilOrigin-Name: f963c2523872b59b8a7a14971f703f2eb0d021501b288597a958f6596885d0de