aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* | | | The --echo flag on the CLI also echos dot-commands provided on the command-line.drh2025-03-12
| | | | | | | | | | | | FossilOrigin-Name: 6ec0c03b954cf705da076d035a1cc2e784233ae28857385379e44a59af6c5ec4
* | | | Ensure that the TEMP database has been initialized at the beginning ofdrh2025-03-10
| |_|/ |/| | | | | | | | | | | | | | a call to sqlite3_open_blob() for the TEMP database. Fix for the issue reported by [forum:/forumpost/0a556d619b|forum post 0a556d619b]. FossilOrigin-Name: 2cfccdbe08b7b14a6b255f7157ac20d0807327adefcb33fcffeeed14c7603fe1
* | | Disable the [d1ba200234f40b84|count-of-view optimization] if any subquerydrh2025-03-10
| |/ |/| | | | | | | | | is DISTINCT, as the optimization does not work in that case. Bug reported by [forum/forumpost/a860f5fb2e|forum post a860f5fb2e]. FossilOrigin-Name: d7013b63932b2f5750572ae6bdd259a2b6e6548c20fb9a5559edd22d2f2fc6cb
* | Various typo fixes reported by Daniel Dumitriu. No functional changes.stephan2025-03-06
|/ | | FossilOrigin-Name: 37e6ec777445d8ef81acecbb66f86ae78f2ae67ef0bfd3fbd089da51fff35cc9
* Additional 'array index is signed char' warning cleanups for the shell and ↵stephan2025-03-06
| | | | | its embedded extensions, analog to [44bd44532d]. FossilOrigin-Name: f31042595b8f8a378db9778c9a8223b07ec02cf2f528581ba43bf72b5b03c964
* Have the recover module add "PRAGMA foreign_keys = off" to SQL output. Have ↵dan2025-03-05
| | | | | the shell tool add ".dbconfig defensive off". FossilOrigin-Name: dcfe3d3292851aa48a085a2c68623b049e2786c8dc7154ccc78508443973b5a1
* Always ignore comments in the schema of a database, even ifdrh2025-03-05
| | | | | SQLITE_DBCONFIG_ENABLE_COMMENTS is turned off. FossilOrigin-Name: 373ae3f4de526c636c35db03d6b5c84526d6f144c1c3bebcbb257e52f563a203
* Use AtomicRead() and AtomicWrite() to access the pcache1_g.bUnderPressuredrh2025-03-05
| | | | | global, to forestall unnecessary angst from thread analyzers. FossilOrigin-Name: 41ec85637a7fac710a3986ee78ed25a96d331a03653069bae4d9f826cc6f944a
* Improvement output for ".schema --indent" in the CLI when the schema containsdrh2025-03-05
| | | | | partial indexes with long and complicated WHERE clauses. FossilOrigin-Name: defd7187ff8c4388f8b5467ed168462ec48215a1f4263bc4128b8e4d89a0bb2a
* tclsqlite3 patch from Christian Werner: replace FILE handles with TCL ↵stephan2025-03-04
| | | | | channels for the db copy command. FossilOrigin-Name: ea1f7f8de4abb80fe41a115c9f601ff27cd728493640c6d47d868913feec28dc
* Minor doc typo fixes via [forum:65bd941da8|forum post 65bd941da8].stephan2025-03-04
| | | FossilOrigin-Name: 6f6a03e93cf58eaee79603de0b28ad34c872fb4b4b7d9c4e7fe35c698b27618a
* Internal configure script cleanups. Resolve an as-yet-hypothetical corner ↵stephan2025-03-03
| | | | | case involving the --dev flag mixed with custom CFLAGS containing SQLITE_ENABLE... or SQLITE_OMIT... flags. Fix an unrelated API doc typo reported in [forum:606ea661df|forum post 606ea661df]. FossilOrigin-Name: 0554c00f32b7cc81d35340080df10ea6d66c9ff07fe749ea76cc523a4149b5c8
* Ensure that detection of control characters by comparison against 0x1fdrh2025-03-02
| | | | | uses unsigned characters. [forum:/forumpost/4c344ca61f|Forum post 4c344ca61f]. FossilOrigin-Name: b7c5ce84216cc7f5a3ba07404572edb94fd628b3a7421111cd5f5333f3e56ea8
* Add an assert() in vdbesort.c to help both humans and static analyzer AIsdrh2025-03-01
| | | | | understand why a particular array cannot overflow. FossilOrigin-Name: a14d4afd5020af327629e5c72b0699ddab0ef4e3f23938a1b72669aa29fc2e87
* In the CLI, ensure that all calls to ctype.h macros are cast to unsigned char.drh2025-02-28
| | | | | Apparently cygwin needs this. FossilOrigin-Name: 44bd44532d4a63b2f600427dc425bde618bcc21e4abffaa2ec19f27350e54732
* Approximately 100 typo corrections spanning the whole tree, submitted via ↵stephan2025-02-27
| | | | | [forum:0db9827f0464bc33|forum post 0db9827f0464bc33] and individually audited and verified. Affects only code comments, innocuous test strings, error message text in tool (not library) code, and configure-level help text. FossilOrigin-Name: f50c21484d3cac73589da0376c423de39ae8b842218105786c5aa3726e4dcaed
* Add support for SQLITE_EXTRA_INIT_MUTEXED - like SQLITE_EXTRA_INIT, but is ↵dan2025-02-27
| | | | | called from within sqlite3_initialize() when the SQLITE_MUTEX_STATIC_MAIN mutex is still held. FossilOrigin-Name: 3cf88d429f6e7c10b8f19c283151541924c4bb84bbd0d2e05cabdd4f9f0e88c9
* Internal doc typo fixes reported in [forum:01d15f21b6|forum post 01d15f21b6].stephan2025-02-27
| | | FossilOrigin-Name: d6514c20ff583ccc4fb3a526fb8f86a563224f513ee10bb39a978046bd952726
* Approximately 50 typo fixes, spanning the whole tree, contributed via ↵stephan2025-02-25
| | | | | [forum:006c8fa165083ac3|forum post 006c8fa165083ac3] and individually checked for correctness. Affects only code comments, docs, and a single line of debug output in a test app. FossilOrigin-Name: af928818a030924060ee0762431dae0f16d53a62f4e1132754d052eb9c621ac2
* Change the default control-character escape algorithm from "symbol" todrh2025-02-25
| | | | | | "ascii", since the "ascii" algorithm works even on terminals that do not support unicode. FossilOrigin-Name: d35320495eb282601ab4f3b9efc53c7c1d58e890f025317e34c7046a43c8cb53
* Fix harmless "unused parameter" compiler warnings.drh2025-02-25
| | | FossilOrigin-Name: 7a68a3ead8e6c75203641542256bcfa05067bed4bf9035452fbd134534801a08
* Improved help messages for the --escape option in the CLI.drh2025-02-25
| | | FossilOrigin-Name: e6784af6d50f715338ae3218fc8ba1b894883c27d797f0b7fd2625cac17d9cd7
* Enhancements to help avoid problems in the CLI when trying display contentdrh2025-02-25
|\ | | | | | | | | | | | | | | that contains ANSI escape codes: (1) Add the --escape MODE option to the CLI where MODE is one of "symbol", "ascii", "off" where the default is "symbol". (2) Add the unistr() SQL function. (3) Add the unistr_quote() SQL function. (4) Add the %#Q and %#q conversions in the built-in printf. FossilOrigin-Name: e3e509ae145ee2623ac68ededa59991a97fcd28313e03f67a3890b560c5381b0
| * Small performance improvement for the new %#Q conversion in printf.drh2025-02-25
| | | | | | FossilOrigin-Name: 17e440781e68d7d3ea68c5144e1e08e183f0caef595a6c7ac4ce56489c60f476
| * Consolidate two different UTF8 encoders into a single subroutine.drh2025-02-25
| | | | | | FossilOrigin-Name: 6208e494858b9d362efc7db4e8aac6f8e93fe51d2e038c94dfa97c55a74688a0
| * Use an assert() to fix a harmless (false-positive) scan-build warningdrh2025-02-24
| | | | | | | | | | in the CLI. FossilOrigin-Name: 4c56cd7392f114e27b43d8fcc79444c3078cd65285ba7dd3338a414e2a9f5392
| * Only use unistr() in columnar formats when strictly needed.drh2025-02-24
| | | | | | | | | | | | Do not use unistr() in insert mode when --escape is off. More test cases. FossilOrigin-Name: e029828de91b10b4c7f4a19bc70c35e4f36fae4ebf32b40553a6ba9f2b3af295
| * Add the unistr_quote() function that works like quote(), but also escapedrh2025-02-24
| | | | | | | | | | control characters using unistr() if necessary. FossilOrigin-Name: e99e37b54baf7283588ead4983e613a1e14c58a0b92be5f7b25b4d9d287b5324
| * Bug fix and initial test-case infrastructure for control-character escapingdrh2025-02-24
| | | | | | | | | | in the CLI. FossilOrigin-Name: c809997792602a7299b8ab84d018a03d291695e308ce750fc8b9d7a824edfd6e
| * Ongoing work to get all the quoting and escaping variations in the CLIdrh2025-02-24
| | | | | | | | | | working correctly. FossilOrigin-Name: b77aea93e7eff0af408f598727caedcfc4428361b8440fbc1cc54c18f93abb69
| * Make column output modes in the CLI responsive to the --escape setting.drh2025-02-24
| | | | | | FossilOrigin-Name: 14ff5557d450475ad959f8c753c0cecb85dfca7346fcacd91da16e4d36e30508
| * Three different --escape modes: symbol, ascii, off.drh2025-02-24
| | | | | | FossilOrigin-Name: b5adb52fc0dc1838cb9c66cff422f2b8ec147e546cf909dd3c48731fa1edfe50
| * Further improvements to control-character escapes in the CLI.drh2025-02-23
| | | | | | FossilOrigin-Name: 9c2f974c17e3dfac78f3808fdfe916f7617cfdaa64430af38eae21bd6592e6f5
| * Work toward VT100-safe output from the CLI by default.drh2025-02-23
| | | | | | FossilOrigin-Name: 44c44620e8648a4265053f194e32b3a5c65d25b4f1fff61ef9b944e7cb0ed624
| * 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