aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| * The %#Q conversion now adds unistr('...') around the converted string ifdrh2025-02-23
| | | | | | | | | | | | escape characters were inserted. %#w now works just like %w as escape sequences inside of identifiers are not recognized. FossilOrigin-Name: 997391d42079783e294836f714ccd9526ecc442c8dbf8212d72cd17c67e7158a
| * Enhance the %Q, %q, and %w printf conversions so that if the alternate-formdrh2025-02-23
| | | | | | | | | | | | flag # is present, they transform backslash and control characters into unistr()-style backslash escape codes. FossilOrigin-Name: ffbfcc2bbb57f02aa5ee813e7a25a2a014e3353a10f6bccb609075a5b63545d7
| * Prototype implementation of the unistr() SQL function.drh2025-02-22
| | | | | | FossilOrigin-Name: 7cc302de05ed2a973372c05f55b048bf99af3d2590dd29f6fd0f379fb451aa0e
* | Reinstate the assert() removed by [0f6223b8]. Avoid holding a wal-mode write ↵dan2025-02-25
| | | | | | | | | | lock after the transaction has been rolled back if an IO error occurs while restarting the wal file. FossilOrigin-Name: 277e150d6ab75de2407f6761aa2359df80a4e1dbce30788df06621dee05b2ef1
* | Remove an assert() added by [e88212b1] that is sometimes false.dan2025-02-25
| | | | | | FossilOrigin-Name: 0f6223b8f6c044db687f78e19f6373d0dda9155445c511a297efa05bac3b16e5
* | Support SQLITE_ENABLE_SETLK_TIMEOUT on windows.dan2025-02-24
|\ \ | |/ |/| FossilOrigin-Name: e88212b10a7829ff42ef51a02863d788c929e54161faf492f9ef2ad90fd7074e
| * Merge latest changes from trunk into this branch.dan2025-02-24
| |\ | |/ |/| FossilOrigin-Name: 55324d1c862c42b95251a398c40930d9fa94debb1aec7d3d0ae734d6b17b4a59
* | Tamp down various harmless compiler warnings. Use "int" in places insteaddrh2025-02-22
| | | | | | | | | | | | of "u16" or "i16" since the compiler complains less and generates faster code. FossilOrigin-Name: 742827f049768c4f69ccdfaadfad339aaad3bc126d3a68b90cfea01d825bf7ce
* | Fix an incorrect assert added by [d7729dbbf231d57c].drh2025-02-22
| | | | | | FossilOrigin-Name: eeea11278bdebe336f0c30fbad79e30e3456ab67dae46abdd5f9951ea1b61bed
* | The number of declared columns in an index is limited to SQLITE_LIMIT_COLUMN.drh2025-02-21
| | | | | | | | | | | | | | | | But the actual number of columns in the implementation might need to be twice as much to account for the primary key at the end. Ensure that the code is able to deal with this. This is a correction to check-in [d7729dbbf231d57c]. FossilOrigin-Name: 5822feec43be9352fd87bf9968c39c0218e01ab5fe3ba50431ae21cba79e6c89
* | Detect when a UNIQUE or PRIMARY KEY on a WITHOUT ROWID table would needdrh2025-02-21
| | | | | | | | | | | | to use more than SQLITE_LIMIT_COLUMN columns and raise an error. Also include some unrelated compiler warning fixes. FossilOrigin-Name: d7729dbbf231d57cbcaaa5004d0a9c4957f112dd6520052995b232aa521c0ca3
* | Increase default CLI shell .prompt buffer length to 128 bytes, based on ↵stephan2025-02-19
| | | | | | | | | | discussion in [forum:362f185a6aa|forum post 362f185a6aa]. FossilOrigin-Name: 628407f03d4bfb7499f0e6e2197089edf859380a3c4e6fecc517390327718141
* | Slight tweak to the CLI shell help output to help convey that it can accept ↵stephan2025-02-19
| | | | | | | | | | multiple SQL arguments, as suggested in [forum:20e617feee|forum post 20e617feee]. FossilOrigin-Name: 82fc67070f9aff0065c07cbeed40f4321e03617bdc3e517adc58a2d96e6e3e49
* | Additional changes making it easier to prove that integer overflow does notdrh2025-02-17
| | | | | | | | | | occur. No problems found. FossilOrigin-Name: e846743a875430a5c51d41f00ac9532214f97d9925e6261113b63580f92369fc
* | Code changes that make it easier to prove that no 32-bit integer overflowsdrh2025-02-17
| | | | | | | | | | | | happen during memory allocation. No problems fixed; this change is just to make future maintenance easier. FossilOrigin-Name: 215650a5a1d55bdbca9c92524804a1a54456a17f42a17e53747b21a6507506f5
* | Harden the SQLITE_DBCONFIG_LOOKASIDE interface against misuse, such asdrh2025-02-17
| | | | | | | | | | | | described in [forum:/forumpost/48f365daec|forum post 48f365daec]. Enhancements to the SQLITE_DBCONFIG_LOOKASIDE documentation. Test cases in TH3. FossilOrigin-Name: 1ec4c308c76c69fba031184254fc3340f07607cfbf8342b13713ab445563d377
* | Fix a typo (a missing ")") in a comment that is used to generatedrh2025-02-17
| | | | | | | | | | documentation. No changes to code. FossilOrigin-Name: ea21685658df8246551650666ff59945ac27271b10a675104cbadaf57d48595f
* | Add a typecast to avoid 32-bit integer overflow in the concat_ws()drh2025-02-16
| | | | | | | | | | function with an enormous separator values and many arguments. FossilOrigin-Name: 498e3f1cf57f164fbd8380e92bf91b9f26d6aa05d092fcd135d754abf1e5b1b5
* | Ensure the counts of "deferred FK violations" and "deferred immediate FK ↵dan2025-02-13
| | | | | | | | | | violations" are kept separate when "PRAGMA defer_foreign_keys" is used. FossilOrigin-Name: c5190b0fd9bd76653fb7bb08e931699e42c88cef8a00352360d091948cda93a2
* | Omit the src/pragma.h file. It is generated by the tool/mkpragmatab.tcl script.drh2025-02-11
| | | | | | | | | | The makefiles now know how to build this file for themselves. FossilOrigin-Name: 9709ed1cdfa17f690ffd4ec8cfc54efefec8352143c1d8b701f09299bd7eef6e
* | Omit the src/ctime.c source file, since it is automatically generated by a TCLdrh2025-02-11
| | | | | | | | | | | | script. Instead, add rules to the various makefiles to generate ctime.c on demand. FossilOrigin-Name: 958bb5de7c484cc503c38d38d51a30f679244fd364df5cbfc1992e36995b2ff9
| * Have the win32 VFS take a temporary shared lock (instead of the current ↵dan2025-02-12
| | | | | | | | | | exclusive) on the pending-byte when taking a SHARED lock on a db. Do not lock the pending-byte at all when taking an EXCLUSIVE lock if RESERVED is not already held. FossilOrigin-Name: 5127509abb10cb1da35b9874ea63e0c2f882b10567606e2bdd636a50811a693c
| * Fix test script errors in walsetlk3.test. Tests still don't all pass.dan2025-02-12
| | | | | | FossilOrigin-Name: 56eb4114f8bf9971960998ae0b79352767657ee19b5bdfec5149906e72ba170f
| * Update tool/mkctimec.tcl so that sqlite3_compileoption_xxx() APIs report on ↵dan2025-02-11
| | | | | | | | | | the SQLITE_ENABLE_SETLK_TIMEOUT option. FossilOrigin-Name: 303e8009ab59aad32030407baf3eff9443f7f9bed7947218b78293b06bba1737
| * Fix "unused variable" warnings in os_unix.c and os_win.c.dan2025-02-11
| | | | | | FossilOrigin-Name: 8e809632ba3bb20b7ec23ce9e6ca659c57cf1338b1fe8c33502c5f3161061dd2
| * Merge latest changes from trunk into this branch.dan2025-02-11
| |\ | |/ |/| FossilOrigin-Name: e5ec5bb9f4dc3e02db7ab0e49686f47617af75d3f7d4ab23288a1aea4a693e59
* | Remove a pointless line of code.drh2025-02-10
| | | | | | FossilOrigin-Name: 57b2b812c8c5524f315e20cee0e6a12a3b1635aeb42925bf891532a7029d0eb0
* | Convert some expensive NEVER() and ASSERT() macros into assert()s.drh2025-02-10
| | | | | | FossilOrigin-Name: 4aad891802d9d87f1ff3cbbf4bc70fa242c6782088189a2bd5d6f8863f552d29
* | Small performance increase in jsonTranslateBlobToText().drh2025-02-10
| | | | | | FossilOrigin-Name: 3b1dcac2eeaf5f97450919f2a6eed74a4d54fb2b812bdb4a580f79d075e99dfe
* | Performance optimization to the substr() SQL function.drh2025-02-09
| | | | | | FossilOrigin-Name: ce228ce3d0132ad758b5b7464fcf22ae5976df3c02ec948280cc76290c79ed0b
* | Performance and size optimization for the sqlite3ColumnIndex() routine.drh2025-02-09
| | | | | | FossilOrigin-Name: a93e3fe0ee8f98a7ec0dfb2e1abf432cc9d5f9d3ad345b5db261475215d43df9
* | Put a 16-byte hash table for column names on each Table object, to speeddrh2025-02-08
| | | | | | | | | | up column name lookups. FossilOrigin-Name: 11eb8f99e5c4974cb6ba39e5bbc99f6b88b9e01006b70d5fea85c2a6d4f7044f
* | Use the sqlite3ColumnIndex() routine to look up a column in a table, ratherdrh2025-02-08
| | | | | | | | | | | | than using a custom loop. Performance improvement, size reduction, and complexity decrease. FossilOrigin-Name: 351dbbc2bf0b23efdc625ddaa5dc2239cf2990addf071a04bd41612b341de8c8
* | Fix GCC-isms and compiler warnings introduced by recent check-insdrh2025-02-08
| | | | | | | | | | [c56092507c967230] and [6e57848fe1e0e2b5]. FossilOrigin-Name: 91102c04375f83cffcd0f3204870e476636f651710e9e6fb773cf74085ef7636
* | Improvements to the hash table used to store symbols in the schema, so thatdrh2025-02-08
| | | | | | | | | | | | it works better (requires fewer calls to sqlite3StrICmp()) for large schemas, and uses less code space. FossilOrigin-Name: 0318b68c845c84eded757c67f820e1783551574ac9e5670be640c4bfe22a934b
* | Fix comments on the Parse.nMaxArgs field so that they are correct. Adddrh2025-02-07
| | | | | | | | | | | | assert()s to ensure they are correct. Other Parse changes to reduce the amount of memset() needed to initialize it. FossilOrigin-Name: c56092507c96723030589ddd9121bc993d615a7acd453305fc3b1dbb9e30554c
* | Further reduction in the amount of memset() needed to initialize the Parsedrh2025-02-07
| | | | | | | | | | object. FossilOrigin-Name: 45e462c0060e51c3375a226d636148e3415ee6020e544ecc84861c7aef4ecf7b
* | Reduce the amount of memset() needed to initialize the Parse object.drh2025-02-07
| | | | | | FossilOrigin-Name: 284538d8486ef3e9bee1ab980043b53c144743c31b984be13a5cc137e7cbec31
* | Fix a harmless typo in a comment.drh2025-02-06
| | | | | | FossilOrigin-Name: ed82272904deb37640286448e03153316f828c629547a615a504af1d7ec5a278
* | Attempted improvements to the SQLITE_DBCONFIG_... documentation.drh2025-02-05
| | | | | | FossilOrigin-Name: baac853871ad307b67b4d624b9ee47fc1313f1aa62c9f8072fb49e97aa33db94
* | Detect and report signed integer overflow in the sumInverse() routine,drh2025-02-04
| | | | | | | | | | used by window functions. FossilOrigin-Name: 317e9a470fba2a4b717b9cb66488b8fccb44810a80f3a7deaf1ea81906e2b8d2
* | The Parse.addrExplain field is never even if SQLITE_OMIT_EXPLAIN is defined.drh2025-02-03
| | | | | | FossilOrigin-Name: 5d81a984c6aabb9fa9180efde8ca942b40f1ec18ff5a89f2fbb1252734f051d3
* | Fix a comment typo - in a comment used to generate documentation.drh2025-02-01
| | | | | | FossilOrigin-Name: b8de75eeded79a8312218d7a543e7c7d11181c9f4004e875495608d11a81ff38
* | Remove an ALWAYS() added by [2567298f4b0fdfeb] because dbsqlfuzz found a waydrh2025-02-01
| | | | | | | | | | to reach it. The test case was added to TH3. FossilOrigin-Name: d08a7aa8987458a91fcb861d58289e622ba8722936c7874a284f9f2fd782e269
* | Fix an issue with sqlite3_normalized_sql() caused by changes needed todrh2025-02-01
| | | | | | | | | | support SQLITE_DBCONFIG_ENABLE_COMMENT. FossilOrigin-Name: 79d287a39443f2d098fcc24199627555a656b34aa5bf5d484f91cb513d83e143
* | Tweaks to [4b4f33d791fe4318] to make it easier to test.drh2025-01-31
| | | | | | FossilOrigin-Name: 2567298f4b0fdfeb42aa6bba7e0bec3bc8d0b89bf644a79b41893dd6a6c5774c
* | Remove an assert() that is not true if a trace-callback is deregistered ↵dan2025-01-31
| | | | | | | | | | while there are active statements. FossilOrigin-Name: 0ecfc4d0ebdb272a69f8f98ddb069c7e0735fb899804027eb16f241d83b3d046
* | Fix a problem with LIKE and GLOB processing in utf-16be databases in cases ↵dan2025-01-31
| | | | | | | | | | where the utf-8 encoding of a character ends with the byte 0xBF. FossilOrigin-Name: 4b4f33d791fe4318c4597bee7d2f9e486ed223e731982af470f5cc0dbdc600fc
* | If any errors occur while processing sqlite_dbpage changes, canceldrh2025-01-31
| | | | | | | | | | pending truncate operations. FossilOrigin-Name: 6138e0dc4e0e4e19cb048fe0cd969156151fdc427eee21188d2a822642aad043
* | Improvements to the SQLITE_DBCONFIG option documentation.drh2025-01-31
| | | | | | FossilOrigin-Name: 59f0ba10062a6ccfd56061a16af3436b9e1b9d23378bff3302bcf33bb3137cb9