aboutsummaryrefslogtreecommitdiff
path: root/ext/misc
Commit message (Collapse)AuthorAge
...
* Enhance the ext/misc/regexp.c code so that when it is compiled withdrh2022-07-18
| | | | | | SQLITE_DEBUG, a new function named regexp_bytecode() is available that prints out the compiled NFA as human-readable text, for debugging purposes. FossilOrigin-Name: cb5c08978fe8f074e6ae16953575213709e98b8bbae4359e0d2e6de67a7ea9e5
* Use 64-bit memory allocation APIs in the sqlite_stmt virtual table, to avoiddrh2022-07-11
| | | | | harmless compiler warnings. FossilOrigin-Name: afb9e60ee3b194f33664a6722356e5d3c69ce1d4da1a0affd92b8e6aaf4dd2da
* In the sqlite_stmt extension, store the result of strlen() in a 64-bitdrh2022-07-11
| | | | | | integer to avoid a compiler warning, even though we know that the length will always fit comfortably in 32 bits. FossilOrigin-Name: 3fe19452499afc8e6b38905e1ce7e9153adbfebf10dccf39da4b7f1b0cd24f05
* Avoid ignoring the last line of a csv file if the final field is empty anddan2022-07-06
| | | | | | there is no trailing CFLS. Also have the csv extension treat the last line of a file in the same way as any other line if it is short fields. FossilOrigin-Name: 587795d47fcaf5142526fabbcc4d5a632f561f258414c2846e8932a49b5b2e6b
* Fix a problem in the csv extension that was triggered when the very first ↵dan2022-07-05
| | | | | field in the csv file is zero bytes in size. FossilOrigin-Name: b12ddabf07b5e06bcee8dda3f990af3a131ab52b8fa969ba061b26d38458f31d
* Enhance the REGEXP extension so that the end-of-input indicate ("$") isdrh2022-07-03
| | | | | | | allowed to occur on one branch of an OR ("|"). [forum:/forumpost/0107d5d40dd273e2|Forum post 0107d5d40dd273e2], second issue. FossilOrigin-Name: 3c04d21e6c632feb3bea8d1fa76bedcbfe254b0dc59865633d158a3f1bddefba
* Fix the initial-prefix optimization for the REGEXP extension such that itdrh2022-07-03
| | | | | | | works even if the prefix contains characters that require a 3-byte UTF8 encoding. This should fix the problem reported by [forum:/forumpost/96692f8ba5|forum post 96692f8ba5]. FossilOrigin-Name: c94595a6e15490b432f099fefbe2429fa19287f7bdc86332cba0fd1e08f65bd6
* Have the sqlite_stmt table buffer all data for the current scan within the ↵dan2022-06-29
| | | | | xFilter method. FossilOrigin-Name: 84a91c255e3d77728820561f16bdd9a87b7ff42b5430a9e13f404dfc3365c716
* Fix the zipfile extension so that it knows that a zero-length BLOB returnsdrh2022-03-19
| | | | | | a NULL pointer. [forum:/forumpost/ae86934905|Forum post ae86934905]. FossilOrigin-Name: 5f6d56737caefa78e542a7af2f95646e3a818e0ecdd8e838f3c2978500ce960c
* Fix compiler warnings.drh2022-03-08
| | | FossilOrigin-Name: 5e30c6ea707f9d381127e8b2bb59e0b39bc00997da2c14d32a0e302d0121203b
* Fix unimportant typos in comment text.drh2022-02-25
| | | FossilOrigin-Name: 393460132994d6ca133e52af57374e43a2795a9e7fc7781bd9dea752a2b52c6a
* Remove stray tab characters from auxiliary source code files.drh2022-02-21
| | | FossilOrigin-Name: e25e33582b69289a2c3a6bc403e3911de22a3b529db1a565efb9f1af01b9e382
* Query planner always honors the aConstraintUsage[].omit flag for thedrh2022-01-27
| | | | | SQLITE_INDEX_CONSTRAINT_OFFSET constraint. FossilOrigin-Name: 38c5151eb8cc789ad082a1b40d16b2ddb55454219bd685b6e420995af6a15f55
* Give the virtual table xBestIndex method access to (some) OFFSET and LIMITdrh2022-01-27
| | | | | clauses. FossilOrigin-Name: 74fa5757ee0a8499bcd6546dac1a3ecc6048ba9cff9e3e574e28e6e82e894a3d
* An initial attempt to implement sqlite3_vtab_distinct().drh2022-01-22
| | | FossilOrigin-Name: d571262d2345bb11e71bef395cf078e5d7303b974b38b4e319adda6194ccc1c5
* Add requirements marks and tuning.drh2022-01-21
| | | FossilOrigin-Name: ac951490fd7d5864fe422a80ee8557478e823e79461bec2ee538f57b6733eb5a
* Test cases for sqlite3_vtab_rhs_value() based on the qpvtab extension.drh2022-01-20
| | | FossilOrigin-Name: 577d3d66558368c34acab8a9e552957cf3fa054c348f1383a9121de6e8b281b7
* Enhancements to the qpvtab virtual table to make it more useful for testingdrh2022-01-20
| | | | | and verification of virtual table interfaces. FossilOrigin-Name: 850efc4cf3d136fba9173c380e9417b43bb93c050f7eeb85d07fd39a4b1cc6aa
* Initial implementation of the sqlite3_vtab_rhs_value() interface and thedrh2022-01-20
| | | | | qpvtab extension used for testing the virtual table interface. FossilOrigin-Name: 0873c76b9b96b66fa9d13ddc8bca126d575ea3352349c7fd648f0c2f75d770f5
* An attempt to integrate the JSON functions directly into the SQLite core,drh2022-01-06
| | | | | rather than holding them as an extension. FossilOrigin-Name: 583b47d865fb8d2c9ae4d3a4e70356a8a758978efb0a282f6b19775bf41fb748
* Mark the REGEXP operator in the built-in extension as deterministic.drh2021-12-31
| | | FossilOrigin-Name: e654b57a9fc32021453eed48d1c1bba65c833fb1aac3946567968c877e4cbd10
* In the json1 extension, which compiling it separately, ensure that eitherdrh2021-12-20
| | | | | | | | SQLITE_DEBUG macro or the NDEBUG macro is set prior to including assert.h. If neither macro is defined, then assert() statement do generate code but VVA() statements do not, and that is a deadly combination. [forum:/forumpost/858dee399e|forum post 858dee399e] FossilOrigin-Name: d9f814a6402ca7fd999bbb847dc354b52ab9b97cae0c932344584d26c9430f24
* New defenses against OOM and corrupt database problems in the CLI.drh2021-12-16
| | | FossilOrigin-Name: 5c9fd7fde16d8e335488b8bf5c691961d2636201b034d1f29d25de8708de291d
* Minor fix to the ORDER BY elimination logic in generate_series().drh2021-12-14
| | | FossilOrigin-Name: a2e50712fca9dff1b8d19631f792270c82da3c8696a5d9890cf0d1e13e950d60
* Add the "static" qualifier to some internal functions in code for various ↵dan2021-12-01
| | | | | SQLite extensions. FossilOrigin-Name: 8c986782547211098eb0e4e722eda0097421223af279381373d0055211b5e9d2
* Fix a faulty JSON assert() added 30 days ago by check-in [7b8ea2298927fd34].drh2021-11-15
| | | | | dbsqlfuzz f30366e7b02562398a387ddcc681422fd4251190. FossilOrigin-Name: 0e0c23fcc493a5d6beb6ab9554981bbc36ba1554fea0f8ba78dc41738f4bd1c2
* The VVA() macro in json1.c must be active during SQLITE_COVERAGE_TEST becausedrh2021-11-01
| | | | | it affects the outcome of testcase() macros. FossilOrigin-Name: 92c3d253797f9bde4670984d60bbd50b7b28540d2b5f503f318843580bab8765
* Fix an incorrect JSON assert() that was added 5 days ago by check-in ↵drh2021-10-20
| | | | | [7b8ea2298927fd34]. FossilOrigin-Name: e162da3ab4c183b67872be004035c48fc8f20084bc5757aec27410ce23a36631
* Fix a problem with the CARRAY extension when the SQLITE_TRANSIENT destructordrh2021-10-20
| | | | | | is used for non-text arrays. [forum:/forumpost/48e525b266|Forum thread 48e525b266]. FossilOrigin-Name: cac910c15f409c5358843643b2f90252eb90328b9e5ff84cedbccb604d9891af
* Protect the JsonNode.u union using nearby assert()s and branches.drh2021-10-15
| | | FossilOrigin-Name: 7b8ea2298927fd34f27b3345add3ce751ed728387fe3d9207b601ba6449d5af9
* Fix harmless compiler warnings, mostly caused by prior efforts to get staticdrh2021-10-05
| | | | | analyzers to run without warnings. FossilOrigin-Name: cddd3b382a118bb16be3a602ae711fe2c2a7d1c673dd30dd3977b67ee555e666
* Fix separate compilation of json1.c, which was apparently broken bydrh2021-10-05
| | | | | check-in [32f33f356931242b]. FossilOrigin-Name: 0c7ece6792d30bdb314e2a6e61d0c051c3619a2d749f8b1df7dc2b1f521388bf
* Fix harmless static-analyzer warnings.drh2021-10-04
| | | FossilOrigin-Name: 32f33f356931242b59c01b5df7e180941231e3d9c91577ad33aa4a01e9d59092
* Fix harmless static analyzer warnings in sessions, rtree, fts3 and fts5.drh2021-10-04
| | | | | | Add the -DSQLITE_OMIT_AUXILIARY_SAFETY_CHECKS compile-time option to cause ALWAYS() and NEVER() macros to be omitted from the build. FossilOrigin-Name: 1c67f957fc77e37ce8f0d447c41ca975e8e79a35d332739c24a633649b5b0387
* Fix harmless static analyzer warnings.drh2021-10-04
| | | FossilOrigin-Name: 6604a085964121113e7b7f57537a0ba64ba058d0eb12bf0a3aeb6d1b7a29d516
* Fix harmless compiler warningsdrh2021-10-02
| | | FossilOrigin-Name: bdb9dc8a025b509960d08cdf0ff784dd075c156860548d7908de7d97e030701c
* Fix harmless compiler warnings.drh2021-10-01
| | | FossilOrigin-Name: 94b59691ee50a4666b25e36d1529fc52f714bbe94c3e8ccb35bf0a4ea11050db
* Accomplish fileio standalone for Win32 with less intervention.larrybr2021-09-20
| | | FossilOrigin-Name: af5dcc9c2a3a45d10b985f6b7ea18d39c75502ed10fa6496aad787dbe8c8c3fb
* Allow fileio extension to be a stand-alone DLL for Win32larrybr2021-09-20
| | | FossilOrigin-Name: d1cc3105b2baceb9f426fd6bc8d8317de3af09a0f02517715bd292c68e282fa1
* Modify the generate_series() table-valued functions so that its firstdrh2021-07-16
| | | | | | | | | argument (the START value) is required. Throw an error if that argument is not supplied. In this was the series.c loadable extension can be used as a demonstration of how to code an xBestIndex function to require certain parameters. Compile with -DZERO_ARGUMENT_GENERATE_SERIES to obtain the legacy behavior. FossilOrigin-Name: 459d85a2898d6a53f43b4ad48d2f39edd1bbe37a4f97426a5d666c39c52576a4
* Add the usual "#ifdef __cplusplus" magic to header file ext/misc/carray.h. ↵dan2021-07-09
| | | | | Also update carray.h/carray.c to use SQLITE_API in the usual way. FossilOrigin-Name: 0f97c2a459bfadc2fe19e710e8845039b4434010656d311074b9594b02d0826a
* Add NULL checks on all sqlite3_vfs_find(0) calls. This is not strictlydrh2021-06-15
| | | | | | | necessary. There are no vulnerabilities here. However, adding these checks avoids unnecessary static analyzer complaints. [forum:/forumpost/ce1193be15|Forum post ce1193be15]. FossilOrigin-Name: 272a15b9f418fb0b31a9808f7c42c20cf52318035ff98935d8e8519634357e8d
* Remove unnecessary end-of-line whitespace from the regexp.c extension.drh2021-06-07
| | | FossilOrigin-Name: 17e26a1f5e3cc4e96b9265dcdbf54f376304b0908f3ff0a0d3df33653e77e5b6
* Fix harmless compiler warnings.drh2021-06-04
| | | FossilOrigin-Name: 83aca2d8704e51eeed5652b1506c6fc883c0397728cda456f229369788b8608a
* Fix more cases in the regexp extension where the 0x00 terminator at the enddrh2021-06-04
| | | | | | of the input string is being pattern matched. [forum/forumpost/9104f0d9e7|Forum post 9104f0d9e7]. FossilOrigin-Name: 569e00d4acd426667990d675ca5da48a1859ac84af2412464ecd29c7c5da828c
* Fix a bug in the regexp extension in which the "." wildcard would matchdrh2021-06-03
| | | | | the 0x00 terminator at the end of the comparison string. FossilOrigin-Name: fa23108b299fc70e80540c449500e50ac6344a152f4f6b9c1b1f568bbda8f6e1
* Fix the case-insensitive version of the regexp() function so that it does notdrh2021-06-03
| | | | | | use the prefix optimization incorrectly. [forum:/forumpost/983b43ef8e|Forum post 983b43ef8e]. FossilOrigin-Name: 1a8e43cc1b7969c40140dd7fd481d5ffd9de80e214eb494567c286d93a2b06e5
* Fix a potential memory leak in json_group_object() following an error.drh2021-05-28
| | | | | dbsqlfuzz cd32630de3ff039d97089592b63cb3616f8ec9dd FossilOrigin-Name: 21676731cedae27d1ab9fe62b269001ae6e3eeb3caa87b4f5536f777631a8bbc
* Fixes for cksmvfs and rbu so that they work together.dan2021-05-06
| | | FossilOrigin-Name: f35f6972cdcf16915cc37908b65a3780742a1f75f65e974714b16e86f0c9e3f0
* Fix a potential memory leak following OOM in the decimal extension.drh2021-05-03
| | | FossilOrigin-Name: 5127f7376776e6220eb8f83a30aa6b823c23ae0ac76e7ae41b33ca4e03ce236a