aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| * | Suppress harmless UBSAN warnings about memory overflow in OP_AddImm. Thedrh2023-11-08
| | | | | | | | | | | | | | | exact same machine code is generated by GCC. FossilOrigin-Name: b0594383b9fa021a8713d640a4606b9053f8e21d64b4ec8ea60a0b6cddfca306
| * | Changes a no-op call to freeP4() into an assert().drh2023-11-08
| | | | | | | | | FossilOrigin-Name: 32a7b1bd4d88a6839c2c5061a38b4a28f31b22aa8fa08c743633ff96fc4bf88d
| * | Fix an assert() that could fail within calls to sqlite3_snapshot_open() in ↵dan2023-11-07
| | | | | | | | | | | | | | | SQLITE_ENABLE_SETLK_TIMEOUT builds. FossilOrigin-Name: 84634bc268e5c80146f3f3b2e13118f239c9a7e4e4e9dfcaccef2b17252ce53b
| * | Update the documentation to the sqlite3_set_auxdata() and sqlite3_get_auxdata()drh2023-11-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | routines to make it clear that they do not work as one might expect when they are called during query planning, instead of during query execution. The JSON routines misuse those interfaces, so add a special flag to JSON routines that prevents them from being invoked during query planning. Fix for the problem in [forum:/forumpost/a655ee159eca1ea5|forum post a655ee159eca1ea5]. FossilOrigin-Name: 796a23f9ee33da0803844a2f40c1733db894cc4ef7fbaa1fa94af6af2d3b873b
| * | Ensure that the YYYY-MM-DD input to date and time functions has been normalizeddrh2023-11-04
| | | | | | | | | | | | | | | | | | prior to returning a result. [forum:/forumpost/6bb476897e|Forum post 6bb476897e]. FossilOrigin-Name: b692eb8ccb2d0645599ad73a8bdacf5df499114244aadeb38aabc580fc4dc7c5
| * | Back out the ALWAYS inserted late yesterday. The fuzzer discovered adrh2023-11-03
| | | | | | | | | | | | | | | counter-example. FossilOrigin-Name: 570635575cc5fbffe910ed992b58393e214117ef3b5370a66f115cd0ee202913
* | | Enhance the JSONB lookup routine with logic to apply edits. The new logic isdrh2023-11-03
| | | | | | | | | | | | | | | currently unused and hence untested but does not create any regressions. FossilOrigin-Name: b12110276fc15d1b6b0cc455f89747ace7a09650d5ba433d8bb431bb4e5bc951
* | | Merge all the latest trunk fixes and enhancements into the jsonb branch.drh2023-11-03
|\| | | | | | | | FossilOrigin-Name: b089bf46374b374d02d7654c65eb3e75d1777638b398061e47644af0dab48c9b
| * | Mark a branch made always-true by the penultimate check-in with ALWAYS().drh2023-11-02
| | | | | | | | | FossilOrigin-Name: 268b5984a4263bee245a9bb47ac927bde56cdf4af8795b851dada5622224076f
| * | In the previous check-in, use a u32 instead of an int, to make it easier todrh2023-11-02
| | | | | | | | | | | | | | | prove that the integer will never overflow. FossilOrigin-Name: 51002079e0b499e116415189a913a238e95ed9766a8af9d042928f4263861a87
| * | Fix a spurious "misuse of aggregate function" error that could occur when an ↵dan2023-11-02
| | | | | | | | | | | | | | | aggregate function was used within the FROM clause of a sub-select of the select that owns the aggregate. e.g. "SELECT (SELECT x FROM (SELECT sum(t1.a) AS x)) FROM t1". [forum:/forumpost/c9970a37ed | Forum post c9970a37ed]. FossilOrigin-Name: 4470f657d2069972d02a00983252dec1f814d90c0d8d0906e320e955111e8c11
| * | Merge latest JNI pieces into trunk.stephan2023-11-02
| |\ \ | | | | | | | | FossilOrigin-Name: e8c97faec339430fa2d1a7e915050d9b363bdba606a4419397cb099141da254d
| | * \ Merge trunk into jni-post-3.44 branch.stephan2023-10-28
| | |\ \ | | | | | | | | | | FossilOrigin-Name: 9670eb2496b4005cf718d9fd12dbd11733f7cf6704a967ebb316504ea6a51e82
| | * | | Add API_ARMOR to sqlite3_clear_bindings().stephan2023-10-22
| | | | | | | | | | | | | | | FossilOrigin-Name: f3fb4d345bbf5ae4a35d8076043df601b1bf7dfd68760a416440139eb3e5eb9a
| * | | | CLI to compile with older MSVC compiler.larrybr2023-11-02
| | | | | | | | | | | | | | | FossilOrigin-Name: c89f75f8eef449f6869bda423593f7e14080e805f8ed192aff9463460f11b1a9
* | | | | Bring the jsonb branch up-to-date with version 3.44.0 changes.drh2023-11-01
|\| | | | | | | | | | | | | | FossilOrigin-Name: a420a4f7ff76b0e9cf5f6d515ccfa31e526d58f4001a4015a367e2aa3c82091f
| * | | | Fix harmless compiler warnings in test code.drh2023-10-31
| | | | | | | | | | | | | | | FossilOrigin-Name: d1895dd8f5757a339f619f22b29c8a739398ded673bb9c93f1b8eb8a4b38f510
| * | | | Remedy CLI non-UTF8 handling detection flaw ↵larrybr2023-10-30
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | [forum:/forumpost/fa0e00d36db5fe0a|noted in a forum post]. FossilOrigin-Name: 2666b80d2cf64a14d0482ee1ce0e8b2ff9e0c5bb21cd626470241a73a6555a3a
| | * | | | Dodge a nuisance warning from MSVC in CLI use of Prepared Statement Scan ↵larrybr2023-10-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Status. (Yes, C rules are fine.) FossilOrigin-Name: 166c96d91dcc8c500a084d5703db103176ed5ec7d5f1334050cd66b3f1cd0e4f
| | * | | | Add a cast to i64 for an integer in an sqlite3OsWrite() offsetdrh2023-10-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | calculation. The cast is not strictly necessary, but it helps human readers see that the code is correct. FossilOrigin-Name: 7564ff1ba2c2fba89106d1aa06cc5379e752f119f22370f2f155f24cc698dec6
| | * | | | Fix another comment typo. No code changes.drh2023-10-30
| | | | | | | | | | | | | | | | | | FossilOrigin-Name: 3203256c0285ef2fea810d59978603bfd7e38151cbc42e1baddf84b57c56f638
| | * | | | Make the new sqlite3_get_clientdata() and sqlite3_set_clientdata() interfacesdrh2023-10-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | available to run-time loaded extensions. FossilOrigin-Name: 8fc9aa0f896a2676b73c41cefbff74c822a7106b56324558862dd0a2a1877eaf
| | * | | | Fix typo in a comment. No code changes.drh2023-10-30
| | | | | | | | | | | | | | | | | | FossilOrigin-Name: 424ef9550abaab32f745dc955e8996d51836eaed737e24c4b4db811aa118ce5d
| | * | | | Predicate Windows CLI UTF-8 console I/O on a runtime capability check rather ↵larrybr2023-10-30
| | |\ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | than an OS version check. FossilOrigin-Name: 0058ea6a69103c1442bf5090553ce9bf77e06011a4960df754eb96144ced497d
| * | | | | Predicate Windows CLI UTF-8 console I/O on a runtime capability check rather ↵larrybr2023-10-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | than an OS version check. FossilOrigin-Name: f89d062f8890fffc957a354e966784031d561d0f8f5c174c1ccdcf77e66c32bd
| | * | | | With SQLITE_ENABLE_BLOCK_ATOMIC_WRITE enabled, if a transaction is committingdrh2023-10-30
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and there is a new freelist page at the end of the database file which would cause the database file size to grow, ensure that page is written and the file size grows before the block-atomic-write commits. Fix for the problem identified by [forum:/forumpost/3bd8d497b2|forum post 3bd8d497b2] FossilOrigin-Name: c9fdd6805df04f05ef347e5a43506fd37a729c5924abb6e1103e871c4ac2d6dc
| * | | | Simplify code slightly. Improve comments on added code and its use.larrybr2023-10-29
| | | | | | | | | | | | | | | FossilOrigin-Name: 046c84296627382ee416f64b02b77a937b368e30b32e6b800de5a854810766f6
| * | | | Properly close a handle. Use a putatively effective runtime test for UTF-8 ↵larrybr2023-10-29
| | | | | | | | | | | | | | | | | | | | | | | | | console I/O capability. (This makes the version test useful mainly for avoiding a warning that UTF-8 console I/O could not be setup.) FossilOrigin-Name: dc91eb91725f3db65c73725f1fbcf18a711cafb65b4fea3277aa0905a24df353
| * | | | Condition default UTF-8 console I/O for Windows builds on OS version 10 or ↵larrybr2023-10-29
| | | | | | | | | | | | | | | | | | | | | | | | | more. This is to accomodate an IsValidCodePage() API which may happily report CP_UTF8 as a valid code page when the stock console cannot, in fact, do UTF-8 I/O. FossilOrigin-Name: 6b9b2a886fd4d239c2e87c3f3809c011f77c0f60e0c279bbe4e1d1b53c609e2d
| * | | | Update documentation for sqlite3_errmsg() to try to make it clear that ifdrh2023-10-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the schema of a database contains table names or similar with invalid UTF, then the error message generated by SQLite might also contain invalid UTF. No changes to code. FossilOrigin-Name: 33ba13c7c4b6f9c5e64ea30c819718f2caea214afca945c9ed7075864f4aaa40
| * | | | Since SQLite considers NaN to be like NULL and NULL sorts before any integer,drh2023-10-28
| | |/ / | |/| | | | | | | | | | | | | | | | | | make sure the sqlite3IntFloatCompare() routine reports that the integer argument is larger if the floating-point argument is NaN. FossilOrigin-Name: de1cf31a34b0f21288e7e30434a06baf25ee579929107c22e65c57236577fc4a
| * | | Fix cosmetic flaw in SQLITE_TXN_* doc. (no code change)larrybr2023-10-27
| | | | | | | | | | | | FossilOrigin-Name: 72d7c18f80f41529811f74855ac198681a0cfe7634225233ec4b8df219c2e73b
| * | | Cleanup shell.c comments. Hide -utf8 option, as it is undocumented and ↵larrybr2023-10-27
| | | | | | | | | | | | | | | | | | | | accepted only for backward compatibility. No functional changes except for -help content. FossilOrigin-Name: 3a87995560b5acbebeb5af407aa9eddf4c37c6a27ec9429ece0ea931918f9d9c
| * | | Back out [2904fcbeebba9189], mostly. The page bitmap is needed even for adrh2023-10-27
| | | | | | | | | | | | | | | | | | | | | | | | partial integrity_check in order to avoid an infinite loops while walking the database. FossilOrigin-Name: dd6e03b37356e2961abd97f636402c09744c98c3033f3435503958c6219f9121
| | | |
| | \ \
| *-. \ \ Handle utf8 mode restore better for redirected input or output. Move utf8 ↵larrybr2023-10-26
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | mode setup to before any invocation command processing. Sync w/trunk. FossilOrigin-Name: 59452e7c72de02c2b6d40974c91173d87fd5f6f2e28c0b1f6f53eb1a09693fb6
| | | * | | Further enhancements to make sure the correct returnning trigger is run whendrh2023-10-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | there are nested INSERT RETURNING statements. FossilOrigin-Name: d83405e870b071540b56e76291bdce1388db80b860afd68a34e4233f6ff2a3ab
| | | * | | Handle the case where a virtual table xBestIndex method called while coding ↵dan2023-10-26
| | |/ / / | | | | | | | | | | | | | | | | | | | | a trigger fired by a top-level statement with a RETURNING clause prepares a statement that also contains a RETURNING clause. FossilOrigin-Name: ec6bffa3b0fbf7cdee852cb0208de1f5869dafd88e2ee64c23cec89634219adc
| | * | | Deal with the case of a reentrant INSERT on a virtual table where thedrh2023-10-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | outer INSERT has a RETURNING clause but the inner does not. dbsqlfuzz 3ac9a1e33f676254e02c0f297263b0a7aeb0c1a5. FossilOrigin-Name: 8aba78e4dbf5c196aa50a28579f4bcd7c96103661c5968d62b2fded075bc73e4
| | * | | Fix harmless compiler warnings.drh2023-10-25
| | | | | | | | | | | | | | | FossilOrigin-Name: cc8efe0494b8fe0df18aa67b1675779bf704d1ac53647fe1f7f55d8048041680
| | * | | Provide dummy parameter names in the prototype for the new xIntegrity methoddrh2023-10-25
| | | | | | | | | | | | | | | | | | | | | | | | | of the sqlite3_module object. FossilOrigin-Name: 131374d720a365cbbe3031a2bc0a34ba1c74e751e39c66e484dbce07ab49fb62
| * | | | Ready for merge, but could use testing on some dusty old Windows machines.larrybr2023-10-26
| | | | | | | | | | | | | | | FossilOrigin-Name: 20220615621e01ff83fd26133840e2553a6087bcb56bbb8e9bf1408dd881cd9b
| * | | | In CLI for Windows builds, do MBCS/UTF-8 translation independently for input ↵larrybr2023-10-25
| |/ / / | | | | | | | | | | | | | | | | and output. (WIP) FossilOrigin-Name: 47b13e66e07be3a26cf7fa0b7b65ad8576c3b4be50fc422be8fe93be93d681ac
| * | | Add an ALWAYS on branch that was made always-true by the DISTINCT ORDER BYdrh2023-10-25
| | | | | | | | | | | | | | | | | | | | fix. FossilOrigin-Name: c29ebcb0be8e969c359c077bd4ce752a9c952d2659062868f12efdd2cc77186d
| * | | When doing a DISTINCT aggregate that contains an ORDER BY, only thedrh2023-10-25
| | | | | | | | | | | | | | | | | | | | arguments to the aggregate need to be distinct, not the ORDER BY terms. FossilOrigin-Name: d2dbbdf7194bab4e5e3b74d3dbffb012a335829824c775c72dd7347c013d2125
| * | | Enhance the new xIntegrity method of the sqlite3_module object with newdrh2023-10-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | parameters that provide the name of the table being checked and a flag to indicate a "quick_check". Based on feedback in [forum:/forumpost/965c0d02ea|forum post 965c0d02ea]. FossilOrigin-Name: bc8afa3f15954bb35f65dbf940bf069de5e14d333036676c24430cf17b658d05
| * | | Implement check-in [477577120b897bf1] differently, so as not to disruptdrh2023-10-24
| | | | | | | | | | | | | | | | | | | | | | | | non-standard build configuration. See [forum:/forumpost/c11523ca2df50293|forum post c11523ca2df50293]. FossilOrigin-Name: 50448fe4fdc8fd93303fe26bdcd885ecc606080c8e66e69d5be8dac28a77492b
| * | | New #ifdefs to fix certain compile-time options.drh2023-10-24
| | | | | | | | | | | | FossilOrigin-Name: 688c6279ef1d4ff8d58e83a1c73ca0221ab8570a7cd89459946a86afdad6ec1c
| * | | Spelling improvements, in comments onlylarrybr2023-10-24
| | | | | | | | | | | | FossilOrigin-Name: 9ee25eeaf17124dbe34b961384e74c1ae239ee1798bb01907938600ed6b4066f
| * | | Spelling improvements, in comments onlylarrybr2023-10-24
| | | | | | | | | | | | FossilOrigin-Name: 65bcc583784476f8cc52dfe72ecc52df93d0ec5817c313ad7a83905c0047dd8c
| * | | Fix various harmless scan-build warnings.drh2023-10-24
| | | | | | | | | | | | FossilOrigin-Name: 54be9af4469d7e31ee852f67e5aa32996557c10de654a60103fd165d2fedf311