aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Ensure that SQLITE_PROTOCOL is not returned too early when a ↵dan2024-01-06
| | | | | SQLITE_ENABLE_SETLK_TIMEOUT build fails to open a transaction on a wal mode database in cases where blocking locks are not being used. FossilOrigin-Name: b934a33671d8a0190082ad7e5e68c78fe0c558d102404eafc1de26e4e7d65b92
* Update extension ext/misc/totext.c to avoid both ubsan warnings and dubious ↵dan2024-01-06
|\ | | | | | | | | real->integer conversions. FossilOrigin-Name: 541436004df6458dc2f38bdfa421099f78cab397f5f4795ca5f227531aaa6a3e
| * Update extension ext/misc/totext.c to avoid both ubsan warnings and dubious ↵dan2024-01-05
|/ | | | | real->integer conversions. FossilOrigin-Name: c626aa108a7a30cef54af8d93ac9e45749568ed38e4e06623a6bad6b4bf6e8ec
* Avoid errors with SQLITE_OMIT_VIRTUALTABLE builds in json106.test and ↵drh2024-01-04
|\ | | | | | | | | unionall.test. FossilOrigin-Name: 8940e2a1054fbc19fae3f76e743d744840c3a5aad001be8d3d56ca134226c34b
| * Avoid errors with SQLITE_OMIT_VIRTUALTABLE builds in json106.test and ↵dan2024-01-04
|/ | | | | unionall.test. FossilOrigin-Name: 90e8a233549a2d31e6959ce3fec927693b772ab3c0abce65e81d7350d2ca5cc6
* Restructure some code to fix what appears to be a false-positive UBSAN warning.drh2024-01-04
| | | FossilOrigin-Name: fe952c12903ea2150880c8bb57cda2efc00ce9fa801568a68c619e0745f30567
* Fix a #ifdef in sqlite3_test_control() that was preventing builds withdrh2024-01-03
| | | | | SQLITE_OMIT_WSD. FossilOrigin-Name: d546a9c94caf7408cc6e4530ec190d3a13fae09dc15b71b03d6369e02ee62abd
* Convert the JSON functions to use lookaside memory allocation wheneverdrh2024-01-03
| | | | | feasible, to avoid hitting the global memory allocator mutex. FossilOrigin-Name: a79a244954f728596da3c0e28fa3b887258d1bd831f53881970f418f3fba84c7
* Change a constant from decimal to hex to avoid a compiler warning on Mac.drh2024-01-03
| | | FossilOrigin-Name: e3acb8a43ad544fd5b5341058276bd3b61b6bdb6b719790476a90e0de4320f90
* Enhance sqlite3_analyzer.exe so that it uses the ext/consio extension.drh2024-01-03
| | | FossilOrigin-Name: 769de0b98e136e4a0945b80216d0c9583c1ccd9de69cb0494875c2300e172646
* Update the sqldiff.exe utility program so that it uses the sqlite3_strdrh2024-01-03
| | | | | | string interface, and so that it does console output using the ext/consio extension. FossilOrigin-Name: 4443b7e592da97d1cb1b3b79ed0559452d8057a33aba4d184c2fffbf200e05f5
* Back out [b517a52fa36df0a0] which is no longer reachable due to earlydrh2024-01-02
| | | | | error detection enhancements in [166e82dd20efbfd3]. FossilOrigin-Name: 704943e96f2620b99260667ac9922c2f72bc3e92e2dfe1d9c2a91c7b704564d9
* Adjust the sqlite3PagerDirectReadOk() routine (part of thedrh2024-01-02
| | | | | | SQLITE_DIRECT_OVERFLOW_READ optimization) to use less code and to be more easily testable. FossilOrigin-Name: eed670ea2a9424f7df4eeb01c152fc38f7190a5e39aa891651b28dc91fcdc019
* Fix a problem in fts5 caused by a COMMIT involving fts5 data that ↵dan2024-01-02
| | | | | immediately follows a ROLLBACK TO that does not. FossilOrigin-Name: 55c61f6a8d6a1bc79497b05669beac5c5397b06382bf24b6bec54845962d219b
* Increase the default "max_page_count" to its theoretical maximum ofdrh2024-01-02
| | | | | 4294967294. FossilOrigin-Name: ffb35f1784a4305b979a850485f57f56938104a3a03f4a7aececde92864c4879
* Elaborate on the various build flavors used by ext/wasm/. Doc changes only.stephan2024-01-02
| | | FossilOrigin-Name: d489232aa492618d4c8e5817addb2323d0ca067742d7140216914239a66fb221
* Update and clean up the in-makefile docs for ext/wasm.stephan2024-01-02
| | | FossilOrigin-Name: 7a7b295e6d7e95ee4a46cc42761895d11700ab295870c5a4380072bb4a5b7099
* Back out [99d11e6d0ae6] (enabling of STAT4 in WASM/JNI), per /chat discussion.stephan2024-01-01
| | | FossilOrigin-Name: cd7929ee2e2c305475fa5a4dff2edaccf90067126ef04a1c2714cf464925453f
* New logic to avoid using indexes that ANALYZE has identified as of littledrh2024-01-01
|\ | | | | | | | | practical use. Also a performance optimization in ANALYZE. FossilOrigin-Name: bcac937526d9a6ef914a74b4d6757fa91cd74edab871bcd934fde4a2f9b6debd
| * Remove some unnecessary computations from ANALYZE so that ANALYZE runs withdrh2024-01-01
| | | | | | | | | | | | | | fewer CPU cycles. These changes were spotted while working on the nearby enhanced-stat1 branch. So even if enhanced-stat1 is abandoned, that effort put into it will not have been in vain. FossilOrigin-Name: 5527e8c4abb904b1a438ec1c353d4a960bf82faaf3a2c742af1df7c613850441
| * Extra steps taken to avoid using low-quality indexes in a query plan.drh2024-01-01
|/ | | | | | This branch accomplishes the same end as the nearby enhanced-stat1 branch, but with much less change and hence less risk. FossilOrigin-Name: c030e646262fee43a59b45fdc1630d972f8bf88ac3c142b6bdaf4cbb36695a4f
* JNI: move the ByteBuffer-using APIs from public to package visibility for ↵stephan2024-01-01
| | | | | the time being because they have UB-inducing possibilities which need to be worked out. Update test code to account for a change in custom FTS5 columntext() impls. FossilOrigin-Name: dc501275fcfab3ad9b6ebbadf7588b225a9dd07a0abac5be83d96f15bfba99e9
* WASM: various build cleanups and add initial infrastructure for a build ↵stephan2024-01-01
| | | | | which elides the oo1 API and its dependents (worker1 and promiser). Sidebar: an attempt was made to move generation of the build rules to an external script, but the mixed-mode make/script was even less legible than the $(eval) indirection going on in the makefile. FossilOrigin-Name: 563d313163c02b398ae85b7c2ed231019a14e006726f09a7c1f294a58bf4363f
* Use SQLITE_ENABLE_STAT4 in both the WASM and JNI builds.stephan2023-12-31
| | | FossilOrigin-Name: 99d11e6d0ae687ff6bac5119027f7b04d5e7185214e79cf8c56289cfa809b0f9
* Minor doc touchup in the JS bits.stephan2023-12-29
| | | FossilOrigin-Name: 8d2120c35425081e2158d6a8a6b083c4adf8d694046b2d98f5fd235520920432
* Enable SQLITE_DIRECT_OVERFLOW_READ unless it is specifically disabled usingdrh2023-12-28
| | | | | the -DSQLITE_DIRECT_OVERFLOW_READ=0 compile-time option. FossilOrigin-Name: 630604a4e604bfb36c31602917bfa8d42c10c82966d0819932bf8f827b9158b8
* Update fts5origintext4.test to work with SQLITE_DIRECT_OVERFLOW_READ.dan2023-12-28
| | | FossilOrigin-Name: 15ed002aed12556aeb9bbe537c4ba839f0c95bac65a69d03401b37cc3fd11b92
* Performance improvement by unwinding a loop in jsonAppendString().drh2023-12-28
| | | FossilOrigin-Name: 190ab3c08431a0ba24d76392eab251f5c1792add05e4ec780998b299208eca95
* Fix harmless compiler warnings in FTS5.drh2023-12-28
| | | FossilOrigin-Name: 3cd5ef44e40570c357f913a9483fa1cd72e7f2827a5ed5826bff99febae213b1
* Enhance the (undocumented, debug-only) json_parse() SQL function so that itdrh2023-12-28
| | | | | | returns the text rendering of the JSONB parse of the input, rather than printing the rendering on stdout. FossilOrigin-Name: 056de8d551dcbdf1d162e2db15ed418fa9c786f900cd3972ef8a1dea3f4f3aa1
* Fix a problem in the shell tool (not library) causing an out-of-bounds write ↵dan2023-12-27
| | | | | if an ".open" command failed, then the user pressed ctrl-c to interrupt a query running on the substitute in-memory database. FossilOrigin-Name: 026618b9e321576f616a32e41329066ba629814170c6cfeef35430343f5003f3
* Ensure that the xColumnText(), xQueryPhrase() and xPhraseFirstColumn() APIs ↵dan2023-12-26
| | | | | all return SQLITE_RANGE if they are passed a bad column or phrase number. FossilOrigin-Name: 1a8a9b1c89519d265869251e8b6d3c5db733f0d3a7dea6c7962811a8f1157dff
* Improved handling of malformed unicode within JSON strings.drh2023-12-26
| | | FossilOrigin-Name: e252bdf5f5de26ba8e2bcc6b0ad94121ed6fc4d86c02fe4a2a058ada93747beb
* Remove an ALWAYS() added in [c50e6c2ace49d092] because it is sometimes false.drh2023-12-24
| | | | | dbsqlfuzz c393a4f783d42efd9552772110aff7e5d937f15e. FossilOrigin-Name: b9daf37e57cde12c4de271a2b1995e8e91b6411f8c2e8882e536241929609b3a
* Fix harmless compiler warnings associated with [5db30bcc338aac1c]drh2023-12-24
| | | FossilOrigin-Name: e55d1c2333f35fc20615aa83a7843d08cae7945710a2156d44eee0cc37d90ade
* Avoid signed integer overflow during integrity_check of FTS5.drh2023-12-24
| | | FossilOrigin-Name: 5937df3b25799eceaadfb04d7226c9995d44c8d8edb5ac3ad02af9d7e3570726
* Improvements to the query planner to address the inefficiency describeddrh2023-12-23
| | | | | by [forum/forumpost/2568d1f6e6|forum post 2568d1f6e6]. FossilOrigin-Name: 72fcc12cda910a0e3f7875eb3d117b2a5608705c97703985427a02960f1ab5c5
* Add debugging output routines sqlite3ShowWhereLoop(X) anddrh2023-12-23
| | | | | | | sqlite3ShowWhereLoopList(X) that can be invoked from a debugger to show a summary of the content of a single WhereLoop object or a list of WhereLoop objects. No change in release builds. FossilOrigin-Name: 5db30bcc338aac1cf081de2deec7e60749ae012e2b6f95ccf745623adb4a31dc
* Change parameters on a debugging function to include "const".drh2023-12-22
| | | FossilOrigin-Name: 94c3e1110c6590261bd30ba317fba4dd94023d69b81a94f4b216cce748fe7489
* Add the -fno-sanitize-recover=undefined to the sanitizer builds used for ↵dan2023-12-22
| | | | | sdevtest and release testing. To ensure that any test that provokes undefined behaviour fails. FossilOrigin-Name: 89563311adb0ab7c7a3eadb11c2e27fbca50c56fce8ca616628facbc00d72b88
* Update #ifdef checks in pager.c and util.c to account for [0462a2612d1fc1d0] ↵stephan2023-12-22
| | | | | to resolve the build problem reported in [forum:9819032aac|forum post 9819032aac]. FossilOrigin-Name: 0f22d809a1c6c80e381f6bcd931fe4ec36dca0e28d07ab4f4f7f83c813424f60
* Fix a usan complaint about signed integer overflow.dan2023-12-22
| | | FossilOrigin-Name: e65907e0279f4814ec957f0790777d8b94a86926cd27c52442b311b27efc0185
* Add a new comment to debugging output routine sqlite3WhereLoopPrint() todrh2023-12-22
| | | | | | remind us of what the various fields of the debug output mean. No changes to code. FossilOrigin-Name: da5f34fd4052432b1ae27bb12e56b358cdc5c1282653d60ed0f0fe62f727e4ee
* Add internal core-developer-only documentation of the JSONB format.drh2023-12-21
| | | FossilOrigin-Name: 4d30478863b2a60512010de9ec6e3099bfaf75d4afee20acec536713fe94334d
* Fix SQLITE_ENABLE_SETLK_TIMEOUT assert() statements in os_unix.c to avoid ↵dan2023-12-20
| | | | | reading past the end of the unixShmNode.aMutex[] array. FossilOrigin-Name: 029a05cd2928d43d81e4549cce5388c432e2c9e75e3fa0b2fe6e91021b2fb9ac
* Avoid harmless integer overflow in pager status statistics gathering.drh2023-12-20
| | | | | Response to [forum:/forumpost/7f4cdf23f9|forum post 7f4cdf23f9]. FossilOrigin-Name: 206d8c650d937bc700946c40a82a62ea6bc4a80e5f3fb42d0ae2968de25f0644
* In JSON - minor code cleanup and refactoring with a small size reductiondrh2023-12-19
| | | | | and performance increase. FossilOrigin-Name: 215fabda38daecdbd38b1eca5a6aafbc61b6a36a8303f1d7164d5a1138e63134
* Remove redundant conditional from sqlite3ExprCanBeNull().drh2023-12-19
| | | FossilOrigin-Name: 257f96a2d22c605885fa66220c28cf7dc5941c330bccee3f132b9e7b70d89d30
* On second thought, we don't really need sqlite_dbdata accessible to the CLI.drh2023-12-19
| | | FossilOrigin-Name: 36fe6a61ef8fb393281a5e15119d716521219c7b971fbfd63bdea07d27a78ac9
* Fix harmless compiler warning in the randomjson.c extension.drh2023-12-19
| | | FossilOrigin-Name: debe7060b16669ada7304ffb9bf7616c8fa30bd286d8be871ed17fd6d64a3d4c