aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* | | Add the xIntegrity method to the sqlite3_module object. Implement thisdrh2023-09-06
| | | | | | | | | | | | | | | | | | | | | method in RTREE, FTS3/4, and FTS5 so that "PRAGMA integrity_check" also verifies the correctness of shadow tables associated with those virtual tables. FossilOrigin-Name: 17bede8cdefd968210dd8a5a2617acbe12ba2c99fdd5e88c5def8665e7bec2d7
* | | Fix a few SQLITE_MISUSE returns so that they call sqlite3MisuseError().drh2023-09-05
| | | | | | | | | FossilOrigin-Name: 93f74490faf8cc07e107afdab6737c6e5141ae1f01a05142bfcede2dd1b2ba4e
* | | Do not make assumptions about the byteorder of PowerPC processors.drh2023-09-04
| | | | | | | | | FossilOrigin-Name: 4a2498fed4c5436fbcd4179db85e2741fdab37d42b0eebf12f41ec4573ce2c61
* | | Performance optimization to the OP_MakeRecord opcode.drh2023-09-02
| | | | | | | | | FossilOrigin-Name: 2aef9af3dd493a82ba090ccb8ab1b8974349392ec3f1c35db7a3dbbec41b5c51
* | | Do not disable unused columns in a UNION ALL sub-query if any component of ↵dan2023-08-31
| | | | | | | | | | | | | | | the sub-query is DISTINCT. FossilOrigin-Name: c84d5602ac9bfb4f12c3cf62033af616e51913c26877d1a0761363a625295f53
* | | Fix a bug in json_array_length() introduced in version 3.43.0 bydrh2023-08-30
| | | | | | | | | | | | | | | | | | check-in [df099ad713011b67]. If the JSON input comes from json_remove(), the removed array entries are still counted as part of the array length. FossilOrigin-Name: 69a635958a4a14187e88dd297df8978a4805b1b0c7bff3ec29d5632c0f68d889
* | | Fix the AVG() and TOTAL() functions (after the SUM() fix of [77d3dcd283595c52])drh2023-08-30
|/ / | | | | | | | | | | | | so that they work with infinitites. Fixes a bug introduced by check-in. [c63e26e705f5e967]. Bug reported by [forum:/forumpost/8960fb40cc|forum post 8960fb40cc]. FossilOrigin-Name: 6df6f17ccb404c648076ccff4200d0eb5437f0e3e82424bf3da5ea682b107bb4
* | New conversion letters added to strftime(): %e, %k, %I, %l, %R, %P, %p, %T, %u.drh2023-08-29
| | | | | | FossilOrigin-Name: 058722b2d0b995195a8ce3effe9722ae1c18cb1e7a520b481030da0bd579fe41
* | Add support for the CONCAT() and CONCAT_WS() SQL functions, modeled afterdrh2023-08-29
| | | | | | | | | | the PostgreSQL behavior. FossilOrigin-Name: 0b434ca7aa19eff4ad134a8c6f88f6a7ccab88864faa55e93579a2462d8ac3bc
* | Add support for the -DSQLITE_EXTRA_AUTOEXT=name compile-time option.drh2023-08-28
|\ \ | | | | | | | | | | | | [forum:/forumpost/00829394c74a670f|forum thread 00829394c74a670f]. FossilOrigin-Name: fe7365254d343ed03e11a4e9cad7f0e5d5182b9220c6fde6d30e434ebdaba2af
| * | Add SQLITE_EXTRA_AUTOEXT, similar to SQLITE_EXTRA_INIT but adds a builtin ↵stephan2023-08-17
| | | | | | | | | | | | | | | auto-extension provided by the client. Suggestion from [forum:00829394c74a670f| forum post 00829394c74a670f]. FossilOrigin-Name: 423e77277a61d7febf4c3fc737981fa22a82b5c774a8ada5375a01a0611535b2
* | | Fix an issue with infinity handling by the SUM() function that goes backdrh2023-08-28
| | | | | | | | | | | | | | | | | | | | | to the extended-precision SUM() enhancement of [check-in c63e26e705f5e967]. Problem reported by [forum:/forumpost/1c06ddcacc86032a|forum post 1c06ddcacc86032a]. FossilOrigin-Name: 77d3dcd283595c52f24c07fc59ba60c9133b71c440cf3f799cf48c907c6fae3e
* | | Resolve a condition which could cause an is-interrupted db to call its ↵stephan2023-08-28
| | | | | | | | | | | | | | | progress callback. FossilOrigin-Name: a0d0f1aafc6086726131dff5e6628f2771c20db3122a53bdbb82945ab5d326d1
* | | The pageOnDirtyList() assertion is too slow even for debugging builds, fordrh2023-08-23
| | | | | | | | | | | | | | | | | | some corner cases. It makes the query appear to hang. So make it an EXPENSIVE_ASSERT instead. FossilOrigin-Name: bb9dcdaf3244c4fc6872850a82b80c469203911e2f6e3a3211e508be39b59fa3
* | | ifdef adjustments so that SQLITE_OMIT_WAL works with SQLITE_USE_SEH.drh2023-08-21
| | | | | | | | | FossilOrigin-Name: 0462a2612d1fc1d077acf60ef415f358aa2c44174c4ef28f4bbfdbcbf03d3b7c
* | | shell.c.in help text typo fix. No functional changes.stephan2023-08-19
| | | | | | | | | FossilOrigin-Name: c319033276c3565d0f1f2cae1c91791940d322fe79696bc26d74fddeb2664373
* | | Rename the decimal_sci() function to decimal_exp().drh2023-08-18
| | | | | | | | | | | | | | | [forum:/forumpost/fa027bb0ab|Forum post fa027bb0ab]. FossilOrigin-Name: c48f1be8cc505a7e2902c79e26c1d9a121ff5c55785ac812d2e09232b2414695
* | | Enhance the CLI and the fuzzcheck utility programs to report whether theydrh2023-08-18
| | | | | | | | | | | | | | | are compiled as 32-bit or 64-bit for things like the --version option. FossilOrigin-Name: ec7eeb055bfb0e5a4467d8a45fa53d84bb8ae80ca0474b687e2783e971648008
* | | Do not allow bound parameters in the ON CONFLICT clause of an UPSERT.drh2023-08-17
| | | | | | | | | | | | | | | dbsqlfuzz 9983e2c77634a8ccf33b5c91fa9982599de5f9e9 FossilOrigin-Name: 3c06709335eb4b98e3a684e3ebbae69eeb6a21b452bce29159c82bb632d6a042
* | | Fix a possible UAF in SEH if an exception occurs at an inopportune momentdrh2023-08-17
|/ / | | | | | | | | during WAL processing. FossilOrigin-Name: 91b91037e348fa10cf6a9d8a0ffbfdebb4a40e0e336b65b112ed1c828e75cda7
* | Make sqlite3_stmt_explain() accessible to loadable extensions.drh2023-08-16
| | | | | | FossilOrigin-Name: a237a31ff4a7cd3dc744af1e1ebb9466e42eebafa31c1b5c0027cbaee9babc9b
* | Mix the current process ID into the randomness used for generatingdrh2023-08-16
| | | | | | | | | | temporary filenames on Windows. FossilOrigin-Name: 775a36ee093df4b5f7529a43eeaee9d5a9a943ad5ed8ae03bc74e459e87ba438
* | Use a dodgy substitute if the INFINITY macro is not available. Seedrh2023-08-15
| | | | | | | | | | [forum:/forumpost/8e66e19bb9|forumpost 8e66e19bb9]. FossilOrigin-Name: 4ae72c896761df5cd37c98ca3eeee7d4c6af3e4ccf74edd88ff902ef38f0765b
* | Fix the PRAGMA case_sensitive_like command so that the LIKE function continuesdrh2023-08-15
| | | | | | | | | | | | to be innocuous after the PRAGMA. [forum:/forumpost/925dc9f67804c540|Forum post 925dc9f67804c540]. FossilOrigin-Name: 84c268c34cba7207a90dad2a8e972ce90c85304e91f4933c76963822ad1ae48b
* | Fix an off-by-one error causing a buffer overread in test2.c.dan2023-08-15
| | | | | | FossilOrigin-Name: e1edf95ecc8f6840fd62abe83121fddeab7413c316b2e20b60fd3b2c8fdd4dca
* | Fix a problem in sqlite3_snapshot_recover() introduced by the ↵dan2023-08-14
| | | | | | | | | | [8a6b0c24937e855b] merge. FossilOrigin-Name: c2577eb0a4a627c65d675f1446514843486092be9cb271b682793a0107e496cd
* | Change the name of the ".binary" command in the CLI to ".crnl". The sense ofdrh2023-08-14
| | | | | | | | | | | | | | | | the setting is inverted. The original ".binary" still works for backwards compatibility but is now undocumented. ".crnl" is also undocumented on machines where it is a no-op (all machines other than Windows). [forum:/forumpost/8bd0b0fbdbc12477|forum thread 8bd0b0fbdbc12477] FossilOrigin-Name: 544de2da09cd7b9bbb6cb4c52bb22325ace3391fca00c6a43847bfc158032b66
* | Fix harmless compiler warnings reported by MSVC.drh2023-08-14
| | | | | | FossilOrigin-Name: 391e21bb6e0b2f4632972b6617a3a18192f88deb29eee5bc060846468e624b21
* | If SQLITE_USE_SEH is defined, handle structured-exceptions thrown by MSVC ↵dan2023-08-11
|\ \ | | | | | | | | | | | | builds if the *-shm file mapping is accessed after it becomes invalid for some reason. FossilOrigin-Name: 8a6b0c24937e855b710f97b4aea973eff53e6d43e1182842731547aa4b37db2a
| * \ Merge latest trunk changes into this branch.dan2023-08-10
| |\ \ | | | | | | | | FossilOrigin-Name: 3ed89c344fcb3b7ee8b764d95144643e42e053e1116150d6eda8355fbd6669df
| * \ \ Merge the latest trunk enhancements into the wal-shm-exceptions branch.drh2023-07-28
| |\ \ \ | | | | | | | | | | FossilOrigin-Name: c44fb4d06591ef4872f015aa9e81ce8b93a38bd9143cf20db38cbe5c77a0d71f
| * | | | Add a comment describing the contents of the ExceptionInformation[] array ↵dan2023-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | for win32 EXCEPTION_IN_PAGE_ERROR exceptions. No changes to code. FossilOrigin-Name: 8e20354242d5f34a90b6c00d9034535ef6f6086ee4971230c7fd69985e2777d2
| * | | | Update the latest trunk enhancements into the wal-shm-exceptions branch.drh2023-07-24
| |\ \ \ \ | | | | | | | | | | | | FossilOrigin-Name: 3187ee3f69fc28a259ba0e951ac10a65c07ef2c3866acbefaf9544333a930cc6
| * | | | | Get fault injection for testing working correctly. Other code clean-up.drh2023-07-11
| | | | | | | | | | | | | | | | | | FossilOrigin-Name: ff492277ed00c1f637a5b4ccd6d8193ea22f6781f90073861588a2b7d5c045b7
| * | | | | Fix a warning. Unclear yet if the code is correct this way or not.drh2023-07-10
| | | | | | | | | | | | | | | | | | FossilOrigin-Name: 2df4fd76ef48bb63389df8d783059af6b8f2cbb2c11d07953b408e71f50b625b
| * | | | | Merge the latest trunk enhancements into the wal-shm-exceptions branch.drh2023-07-10
| |\ \ \ \ \ | | | | | | | | | | | | | | FossilOrigin-Name: f655d08d019bab0c578886e91ca24fd956d1b3dea9b9c9104812b3cf62e5e556
| * \ \ \ \ \ Merge all recent trunk enhancements into the wal-shm-exceptions branch.drh2023-07-06
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | FossilOrigin-Name: e59cea2d851be68559e7d01a01cb05684c44d151d022ea9790ce99671016ab00
| * | | | | | | Fix a case where the system error was not being set correctly.dan2021-09-11
| | | | | | | | | | | | | | | | | | | | | | | | FossilOrigin-Name: 13a524b351a0812214b223aa4e0a9d778ae7a75cf9875da1147a09c5cb76b9fe
| * | | | | | | If an EXCEPTION_IN_PAGE_ERROR exception is caught, make the underlying OS ↵dan2021-09-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | error code available via sqlite3_system_errno(). FossilOrigin-Name: fdb20e9ee48465b94aa6ac3c5e263ecaa7c3b10f4a193e79f965b7c35944b08b
| * | | | | | | Change the structuree exception handler in wal.c to catch ↵dan2021-08-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | EXCEPTION_IN_PAGE_ERROR instead of EXCEPTION_ACCESS_VIOLATION. FossilOrigin-Name: 0c6ab539cfbc908550fa993a587e85d644b6335853ff9781caae860c461c045d
| * | | | | | | Use VVA_ONLY() instead of TESTONLY() in SEH macros so that the builddrh2021-08-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | works for coverage testing. FossilOrigin-Name: 9e9d5b566da72adf780685ea27da7d76a7274e904a533438255af92875c94503
| * | | | | | | Add missing SEH_INJECT_FAULT macros.dan2021-08-20
| | | | | | | | | | | | | | | | | | | | | | | | FossilOrigin-Name: 27e9bdb3a90a5826f45d32e0378e9afa90a16ac762a75236f38218f41bc45ded
| * | | | | | | Add some assert() statements and fix small issues with code on this branch.dan2021-08-20
| | | | | | | | | | | | | | | | | | | | | | | | FossilOrigin-Name: bd9b373b177a71f5eaeb7ce8dd1dc755b34951ee1376c24652418bb329bfcb45
| * | | | | | | Fix a problem on this branch causing checkpoints that do not proceed because ↵dan2021-08-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | they can't get the CHECKPOINT lock to return incorrect output values. FossilOrigin-Name: 5a98820c3d20766813bb4b0da23247ac90f380c07827ff13b61d5b606d8311aa
| * | | | | | | Enable this branch to run both with and without the -DSQLITE_USE_SEH option.drh2021-08-19
| | | | | | | | | | | | | | | | | | | | | | | | FossilOrigin-Name: 840e0a14ebc4a85d4ede0223287d4c1e4465e9f20c3c43bfc74775dddec1fa8f
| * | | | | | | If SQLITE_USE_SEH is defined, handle structured-exceptions thrown by MSVC ↵dan2021-08-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | builds if the *-shm file mapping is accessed after it becomes invalid for some reason. FossilOrigin-Name: 5c5fa47076c5da25ca92248df3a4c11b90a0225a07f05d7220fa95d9bbb36f43
* | | | | | | | Up until version 3.42.0, there was a bug in json_valid() such that it woulddrh2023-08-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | return False (0) for a NULL input. That bug is fixed in 3.42.0. This check-in adds a compile-time option -DSQLITE_LEGACY_JSON_VALID that restores the old buggy behavior for applications that depend on it. FossilOrigin-Name: 15c2eadbff8e732cca45d6c3771d1fcea5aab2127e87f2a611b41ccfef4d1a0d
* | | | | | | | New testcase() macro in the tokenizer, to better document its behavior.drh2023-08-10
| |_|_|_|_|/ / |/| | | | | | | | | | | | | FossilOrigin-Name: b2fdac0b151864eb2aa79f0b0ee60f9c6d9f3eb8c7626605eac17a02a8cf59bc
* | | | | | | Minor cleanups in sqlite3Int.h. By reordering some fields in the Parsedrh2023-08-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | object, it packs more tightly and uses less memory and less CPU to initialize. FossilOrigin-Name: aa6de539c09faa320b68c63659e602107145c4263fa680d5b40fe4d7d7ac4534
* | | | | | | Changes so that sqlite3_vtab_nochange() works with "UPDATE ... FROM...". Use ↵dan2023-08-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this to allow UPDATE on a contentless fts5 table if new values are supplied for all indexed columns. FossilOrigin-Name: 16cd2161e312cf97129011fc829079db8f762b822b2f4fabf7ff6742c071302f