aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| * | | | Merge trunk into the cygwin-fixes branch (which was inadvertently branched ↵stephan2025-03-06
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | too early). FossilOrigin-Name: a7863b2e2fbea0ea11c494016b99921f70aae09607868aa65af988cbd173b31a
| * | | | | Cygwin-centric fixes from Jan Nijtmans.stephan2025-03-06
| | | | | | | | | | | | | | | | | | FossilOrigin-Name: 205979813c7300debb5f1ba270583ef2f08e069d6d01865b5910702889a5c1ed
* | | | | | Fix an off-by-one bug in the ".dbtotxt" command from the shell that resultsdrh2025-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in incorrect output. FossilOrigin-Name: 2345094e879c5538bfea005785ce0848e6d565a49bcb48b323c258d00ccbe9b8
* | | | | | On winOpen(), redo the read-only test on every retry attempt. Justdrh2025-03-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | don't retry the winAccess() call. FossilOrigin-Name: ccdd67ad9a508530ccfcec582410768c24bca4eb8b05939577fb99a50dd44b15
* | | | | | Further attempted improvements at fast-fail for an inaccessibledrh2025-03-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | database file. FossilOrigin-Name: cdeb21a312d4f1a9e3009a0baf0af33857c172f7bc22bca047dcd46a03e9c964
* | | | | | Attempt to reduce the amount of retry time when trying to opendrh2025-03-26
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | an inaccessible database file on Windows. See [forum:/forumpost/e7991420f54dca50|forum thread e7991420f5] FossilOrigin-Name: 986e45912cde7cb8e6db8ba7a9364aef7187a23032be64ef6cd573163f56676d
* | | | | Clarify and reduce redundancy in an assert() in walChecksumBytes().drh2025-03-24
| | | | | | | | | | | | | | | FossilOrigin-Name: 3c53abf5e6df446d569040042363265737aa10fc8aaa20b31c587100c557c5e7
* | | | | Teach the CLI that VT100-escape codes that do things like change fontdrh2025-03-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | colors have zero-width for the purpose of laying out the columns of a table. FossilOrigin-Name: 2d0a8a6c38981552748ff5fc2eeba86590e0f116abac260a7fc9318de0a0dbda
* | | | | Fix a problem in the sqlite_dbpage() table-valued function when it isdrh2025-03-20
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | trying to truncate a file in locking-mode=EXCLUSIVE and the file was obtained via sqlite3_deserialize(). Problem found by dbsqlfuzz. FossilOrigin-Name: 346cf9794c6ce82ac32f7ccabc67240309306626709951593720abd198b103e3
* | | | Fix a problem that could occur when the RHS of an IN operator was a compound ↵dan2025-03-18
| | | | | | | | | | | | | | | | | | | | SELECT featuring an ORDER BY on a subquery that was flattened into one of the component SELECTs introduced by [baa83b460c677c21]. Forum post [/forumpost/1e17219c88]. FossilOrigin-Name: 7101ccd5331e36fd1a539f540e79ce0ce159be76ec422e1d9436eec6f3908c6e
* | | | Fix alignment problems on Linux with -m32 and on Mac PPC.drh2025-03-15
| | | | | | | | | | | | FossilOrigin-Name: 8a91aeca60548d5cd19add128cf65b9c3815c9103b1ef8ff6bc02711b6d709de
* | | | Use flexible arrays for RTREE.drh2025-03-14
| | | | | | | | | | | | FossilOrigin-Name: 2b41776179c726586e3ff836edcf235938cf02f7c5e33c1d6954b84d4061b8d5
* | | | KeyInfo is now an indeterminate size, so we cannot declare a variable of thatdrh2025-03-14
| | | | | | | | | | | | | | | | | | | | type, only a pointer to an instance of that type. FossilOrigin-Name: 37b687dc2d3b9dc82ed09a9c5b2c00e576b1eebe358a20d18a3da190347b644e
* | | | Make use of the flexible-array feature of C99, when available, to try todrh2025-03-14
| | | | | | | | | | | | | | | | | | | | | | | | pacify -fsanitize=strict-bounds. This check-in fixes the core. There is more yet to do in FTS3, RTREE, and in FTS5. FossilOrigin-Name: 6fd6b32d06bd6a705e5140cd613af823b8183a6f6a9ceeeedfcf5e8b50821d68
* | | | Fix an internal doc typo reported in [forum:e25e581f917|forum post e25e581f917].stephan2025-03-14
| | | | | | | | | | | | FossilOrigin-Name: fa6f6ccdffc50024624306900efd2538c7415d8bdd0f02835b2e9c05adab3cf1
* | | | Cherrypick the [2b582c0097e33] doc addition, which was initially committed ↵stephan2025-03-14
| | | | | | | | | | | | | | | | | | | | to the wrong branch. FossilOrigin-Name: f786de8d1873cd27b1bf83273a1e100e9d481144674888ccf65974e003a3caad
* | | | 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