aboutsummaryrefslogtreecommitdiff
path: root/ext
Commit message (Collapse)AuthorAge
* wasm: introduce the sqlite3.oo1.DB.wrapHandle() and Stmt.wrapHandle() APIs, ↵stephan3 days
|\ | | | | | | | | which enable clients to wrap (sqlite3*) resp. (sqlite3_stmt*) pointers in their oo1 API counterparts, optionally with or without taking over ownership of the pointer. FossilOrigin-Name: e5d079549594ca44852773b8919894866394e47ad725dadc7f65242413a219d3
| * Clearer docs for the unowned db/stmt handle mechanism.stephan3 days
| | | | | | FossilOrigin-Name: 53401b5435e30c4b47b6e203976b714d616246d734b5876a34f53f6388f872f8
| * Correct a one-too-many-exclamation-points bug which caused the opposite of ↵stephan3 days
| | | | | | | | | | intended semantics in oo1.Stmt.pointer ownership. FossilOrigin-Name: 91e709f36d36174534b4cf4ff548a558e66cca5e23a6c8c106bc43375fc3ce72
| * Minor JS doc tweaks.stephan4 days
| | | | | | FossilOrigin-Name: 34d893b4837be8bb679e9809befd98201dd79c8d2054f41429b18793b77e840f
| * wasm: DB.wrapHandle() no longer accepts a DB object as its first argument, ↵stephan5 days
| | | | | | | | | | as there's no apparent use case for proxying one DB object with another. Doc improvements for the new code. FossilOrigin-Name: 0ee19db02a9b9320681d4393d9ba52889d149eac8ee114fc7b7f52a57271c139
| * wasm: add a few tests demonstrating that oo1.Stmt.paramaterCount's new impl ↵stephan5 days
| | | | | | | | | | does not change visible behaviors. Add the c-pp-filtered files to 'make clean'. FossilOrigin-Name: 3fe61545967f82190011edb90b1be6a448b590555c7ba5f8e96494aeea8f88ce
| * Remove some dead JS code and some extraneous debug output from test code.stephan8 days
| | | | | | FossilOrigin-Name: 6e73770a7f3845055e0130012d844c32c4a1bfdb87e8379c161e1a266a808143
| * JS doc additions.stephan8 days
| | | | | | FossilOrigin-Name: 7933505f0c1d25c6ee81ead8edc5ea649a84ec0582321bcf5ed4a17232750f90
| * Experimentally add sqlite3.oo1.DB/Stmt.wrapHandle(), which allow DB/Stmt ↵stephan8 days
| | | | | | | | | | instances to wrap a (sqlite3*)/(sqlite3_stmt*) optionally with or without taking ownership of it. The intent is to enable mix-and-match use of the C API, the oo1 API, and any other hypothetical API which exposes those pointers. oo1.Stmt.parameterCount is now a property access interceptor like Stmt.columnCount is, but that doesn't change how it's used. FossilOrigin-Name: 1227543b87c3320d6b80e0f61b88ea53b68779966a0295c4d6a1db6369c48207
* | Additional header comment documentation in the ext/misc/vtablog.c test ↵drh3 days
| | | | | | | | | | extension. FossilOrigin-Name: 3656acfaa3011321a6e17fb81e5bdedcfffeab6035f133ab89ae9589bf5bef72
* | Do not export the numerous Emscripten HEAPxy symbols and remove the last ↵stephan3 days
| | | | | | | | | | remaining JS code which references them. They have long-since been replaced by internal equivalents and a specific feature check on one of them (which is also no longer needed) is triggering an exception from Emscripten. More details are in [https://github.com/emscripten-core/emscripten/issues/24656 | Emscripten ticket #24656], noting that this is not an Emscripten bug but an Emscripten behavior change brought it to light. FossilOrigin-Name: b9462dc1461c830466f4e1de4a4d3bf249e3f81aea363f13462ea915769878d9
* | Fix a problem with the fix in [5cb8e342e1].dan6 days
| | | | | | FossilOrigin-Name: 043ff54fb746c54bc6cfa6aa8c8a32c876c09d36163125916ad01024b98d447b
* | Fix another problem with running fts5 integrity-check in SQLITE_DEBUG ↵dan6 days
| | | | | | | | | | builds, this one causing an assert() failure. FossilOrigin-Name: 5cb8e342e1d33a0fd04fd022900eeada46a2ee23f15c6abca1b37633e77429d6
* | If SQLITE_DEBUG is defined, fts5 does extra checks as part of ↵dan6 days
| | | | | | | | | | integrity-check. Ensure that errors from these extra checks are only reported if the other, normal, tests all pass. This fixes a test case in fts5corrupt3.test that was failing if SQLITE_DEBUG was defined. FossilOrigin-Name: 98a53fb276fa1fa733da2dd3255c35ce9f6af9b9feef6e76fb577b6d142167a2
* | Fix test case results in FTS5 that were changed error message improvementsdrh6 days
| | | | | | | | | | in [48044a6b57c0a16c] but which were omitted from that check-in. FossilOrigin-Name: e1f8e0240b14f1338e947634e840af785e5042a09cd365975e922a13a562f4cd
* | Work around the Emscripten 4.10 regression described in ↵stephan7 days
|/ | | | | [https://github.com/emscripten-core/emscripten/issues/24656 | Emscripten ticket #24656]. Problem reported off-list by BrickViking. FossilOrigin-Name: c385475b250f3364507a95c5832137098a9bb7c7fc12ab3bb116e1fad7bb7645
* Fix harmless compiler warnings.drh10 days
| | | FossilOrigin-Name: 13af4acebe09b047756c22b800136cffaba532e7fcaa448a4edf4fedb94e9bbc
* Improvements to sqlite3_vtab_rhs_value() logging in thedrh11 days
| | | | | ext/misc/vtablog.c extension. FossilOrigin-Name: 25131ee84f53dab1191e02c19cefd256aed2828c7edea325fcc0ba3b0a668583
* Enhancements to the xBestIndex output from the ext/misc/vtablog.cdrh11 days
| | | | | extension. FossilOrigin-Name: 8b31acc0b18f38eb4af6efebd1ea25cd65a146651101579aee20afd9ec6dc2de
* Avoid an assert() failure in fts5 that may occur when processing corrupt ↵dan13 days
| | | | | records. FossilOrigin-Name: 8afd6ca85724a69970181042d6aac53742ea2b76ded5966b2541c3afe1121fb9
* Improve some of the error messages emitted by fts5 when it encounters ↵dan2025-06-23
| | | | | corruption. FossilOrigin-Name: 48044a6b57c0a16cb75139c103ad88ca4ab64d74f70a3dee0d8b817fbfbec3c6
* Minor JS test cleanups prompted by a linter.stephan2025-06-21
| | | FossilOrigin-Name: 764235a3d15fda55af85ebe3b5885fa27336cc0e979f1be2f6770b66a84bbe87
* Remove some duplicated JS tests.stephan2025-06-21
| | | FossilOrigin-Name: d1cb9ed79d806f667c22f5ba9861451d4d0765aa3072e085831045cf3a39f8b4
* Reduce the maximum --size flag for JS kvvfs speedtest1 from 4 to 2, as ↵stephan2025-06-21
| | | | | --size 3 and 4 are overflowing the kvvfs storage limits. FossilOrigin-Name: b77b3adc828ce543e880e230701edd5e0ccb681e4c3c724ea8ad5ecbd69c73a6
* Give oo1.Stmt.get() similar treatment to [8c187140a60b]. This is an internal ↵stephan2025-06-21
| | | | | change only - the API is unaffected. FossilOrigin-Name: f5a7abc0a447273de40dacc463d267d26d4b62be56ee15baf05825791c2a7a6e
* Extend the SEE-via-kvvfs tests to include all three key types.stephan2025-06-21
| | | FossilOrigin-Name: fc001aa5ee978795c2ff670bea64db0b69b6bde98653769d9cede8825a28e698
* Rework how JS's oo1.DB.exec() flags its Stmt objects to make certain Stmt ↵stephan2025-06-21
| | | | | APIs illegal (i.e. throwing) if called while that Stmt is being step()ped by DB.exec() (which can happen via client-provided per-result-row callbacks). This is an internal change only - the API is unaffected. Remove some unrelated dead code. FossilOrigin-Name: 8c187140a60b62dc3b6066b8615766d52b7a29a5de992cbb6d312dbb225a980b
* Fix an out-of-order local variable declaration in ext/misc/fileio.c.drh2025-06-19
| | | FossilOrigin-Name: a88bb75288a06492a04ab1278e8a2101a74f4ba712d328b4c73e86ac01cb946d
* Export the column-metadata APIs to WASM. Doing so requires a non-default ↵stephan2025-06-18
| | | | | build of sqlite3.c, so this is a proof-of-concept branch saved just in case SQLITE_ENABLE_COLUMN_METADATA ever becomes the default for sqlite3.c. FossilOrigin-Name: 59db3f639d1073678805dea26a4686eddfb238f055aa90bd429fc7fd33241502
* Fix a problem with UPDATEs on fts5 tables that contain blob values.dan2025-06-11
| | | FossilOrigin-Name: badf3014bd1620fd3d4b8013f641fd820b249649fb93cc75b7b8df9dfd6f32a6
* Adjustments to ext/misc/fileio.c in an attempt to get it to build using mingw.drh2025-06-09
| | | FossilOrigin-Name: 96b14a3f1193de8f30e9fa704f87558dab8027a218868d32e47688cd5df497b7
* Remove the clunky test_windirent.h and test_windirent.c files from src/drh2025-06-05
| | | | | and replace them with a much cleaner and more compact ext/misc/windirent.h. FossilOrigin-Name: acc978df52ec41ffdb5c27764f30d53efa1f25a314b7d98983dc0d211a36b570
* Enhance the FSDIR virtual table with a new "level" column. The query plannerdrh2025-06-05
| | | | | knows how to optimize to avoid search deeper than the maximum requested level. FossilOrigin-Name: 1ddc0f9e79c33957961bc1443ccb74d756a02cbd20850052079782e76aef2706
* Apply the duplicate 'export default' workaround to the (untested and ↵stephan2025-06-03
| | | | | unsupported) node-specific build rules in mkwasmbuilds.c to resolve a problem reported off-list by Thomas Steiner. FossilOrigin-Name: 2f8a1b79533879e4975b405c46fea496ba8bffbef065e7dd0ad29fd4aa8f8f92
* Move a mis-located makefile comment block.stephan2025-05-31
| | | FossilOrigin-Name: 7d884386bec11f47c2c18002dd8c573c9b5cb6f7cdf2307a96cccead05b6abf2
* Random typo fixes in JNI docs.stephan2025-05-30
| | | FossilOrigin-Name: f63608a3847469b130e029cc569fe6f03a9053352ec43c10d69849cbab4f61c5
* Use a more robust backup definition for offsetof().drh2025-05-30
| | | FossilOrigin-Name: 22441955e03df07903b98832a60c05c53721cd67c667f6c83d5e97fcc62735ee
* Add "include <stddef.h>" to fts5 and rtree to ensure that they use the ↵dan2025-05-30
| | | | | system version of the offsetof() macro when it is available, as the built-in version triggers ubsan errors with clang. FossilOrigin-Name: 838deb7f3423df84061a043928ed34e1d74e2e7d57ef1a9519bb32fea82e4352
* Squelch an interesting but harmless struct initialization warning emitted ↵stephan2025-05-30
| | | | | after an emsdk update. Fix JS breakage introduced by changes in Emscripten 4.0.7: manually export the HEAPxyz symbols which used to be exposed by default. FossilOrigin-Name: 10d0897cc9a5998fe1344cfbb242a78b59012e29aa3b1993895dfac26721b053
* vtablog.c doc fixes reported in [forum:416d1e37b2|forum post 416d1e37b2].stephan2025-05-24
| | | FossilOrigin-Name: 5d25f62bcd2d754134f608162778b49b0e71c29bd5a6f2461a07caca3d76c7de
* Fix a problem with using streaming iterators with ↵dan2025-05-22
| | | | | sqlite3changegroup_add_change(). FossilOrigin-Name: 3dbde727146d28c316df47c7b5116be7f2476a0a0c893207c2a4ca3ab285cb5e
* Remove stray tab characters from source files.drh2025-05-19
| | | FossilOrigin-Name: 298ff5a1dc5dbccaf6acd91731044f478a5ce522745332801708ceee996b01e6
* Add the --enablefk option to the "changeset apply" command of thedrh2025-05-15
| | | | | changeset program. FossilOrigin-Name: e98d46d436f8d251ae0da5ee85fd856aca3b57cd48d1be31fa6ca88fe72cad00
* Enhance the "changeset" utility program with new command-line options fordrh2025-05-15
| | | | | the "changeset apply" command. FossilOrigin-Name: 428daca4f1b3e1a33b7e2f5acf114fa6136d46555e9947e2e88ea107bfec5e4f
* First cut at enhancing the fsdir virtual table so that it works withdrh2025-05-13
| | | | | unicode characters on Windows. FossilOrigin-Name: c9e04dadfdf6c860631ce5603693add565ff2033aa25af5736302af7045fc91e
* Session extension doc typo fix reported in [forum:75e9408acb|forum post ↵stephan2025-05-12
| | | | | 75e9408acb]. FossilOrigin-Name: b96cfff52b4f364388f168198e999ae2407c4afbc7b020f8bb350ab103ffb55c
* Fix a coding mistake in vfstrace.drh2025-05-12
| | | FossilOrigin-Name: f0054cc0bce4ed735796da1ea68b7773a582042bdd60fdae4e1af4c592104d15
* Fix a problem in the fts5matchinfo.test file that prevented it fromdrh2025-04-22
| | | | | working on Mac. FossilOrigin-Name: 5a411c609ba0ee17b1ce5bd0b40b9ded92d76f35933f92b2e02a58a3f169c715
* Update to comments in sqlite3session.h.dan2025-04-19
| | | FossilOrigin-Name: ea9acb5573f4d71a314e4467d30477a1d01c8db648985750a42b3c047f404c9c
* Add an appropriate _declspec to the declaration of the sqlite3_dbdata_init()drh2025-04-18
| | | | | function in the recovery extension. FossilOrigin-Name: 00313d15270b36fce44f7784c97ddc42517e23c209c1ccc4d814ef06b11528c0