aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Round one of an audit for SQLITE_ENABLE_API_ARMOR for functions exposed by ↵stephan2023-10-13
| | | | | JNI and those functions missing armor, as [forum:5e3fc453a69b49ca|reported in several forum posts]. FossilOrigin-Name: 8c25c4b18ad07861bf0e47f99f3db04b569b9b859ad0690602f748ddf3576939
* Avoid potential overflow in hex(). [forum:/forumpost/7ac0c9c5ea|See forum ↵larrybr2023-10-13
| | | | | post 7ac0c9c5ea.] FossilOrigin-Name: 2e968114fd0e60eebcc088dec02684e10b06ac1ec42d6bedb5287362f5cbf032
* Make sure virtual tables have been connected before trying to invokedrh2023-10-12
| | | | | the xIntegrity method during PRAGMA integrity_check. FossilOrigin-Name: 4a4eccb681741917c6771101d4e329f91eae9b035f4d345218e522bb55fff6da
* Fix a problem with an fts5 secure-delete on a rowid/term pair that follows a ↵dan2023-10-12
| | | | | legacy delete of the same pair. FossilOrigin-Name: 579aea0c28e01a79620ac758edc02db3a01baaa073e7773b8f0b6f610479520b
* Enable SQLITE_VTAB_INNOCUOUS for FTS3, FTS5, and RTREE.drh2023-10-12
| | | FossilOrigin-Name: f34c533b6c1f8ef3f69c75c1039406c12751cdde1fbdcb4d9776b24455facf8a
* Add test case for [29937081].dan2023-10-12
| | | FossilOrigin-Name: d3b983edf7164d30ddb8b4b745a3feff9737149d85b1c428d6ad488ac6a1960a
* Make sure the journal file is closed when transitioning into MEMORY journaldrh2023-10-12
| | | | | | mode, to avoid an assertion fault in the new sqlite3_randomness() avoidance code added by [c84e4483cb44f827]. FossilOrigin-Name: 29937081a986d88f495ad48748c35ff5829f0ac31dd4ad3e48d180ae2fcb9a0c
* CLI to check for rare prepare failures. [forum:/forumpost/5be6395182|See ↵larrybr2023-10-12
| | | | | forum post 5be6395182.] FossilOrigin-Name: 286d1e8012a5f5d9e1fe6dce1a732f725b8a1837f66daf6aefb792e19e96f2d4
* Unconditionally force use of SQLITE_ENABLE_API_ARMOR in the WASM and JNI ↵stephan2023-10-11
| | | | | builds. Their corresponding test suites still work. FossilOrigin-Name: c11394b50d0687b6d6abad9c80d5cd3cdce77e9b9c278f40601c460f463744a1
* Fix the use of an uninitialized value that occurs when doing a json_insert()drh2023-10-11
| | | | | of a string value that contains embedded U+0000 characters. FossilOrigin-Name: d3c0cbb90966316be9cd25e3edb501da42731e8a83c13227b90ce17d3975a2c3
* Add (prepare, step, reset, finalize) parts of the JNI level-2 stmt wrapper ↵stephan2023-10-11
| | | | | and associated tests. FossilOrigin-Name: a7082f186f2b9b6666bbc65f2eadeb74d91fa0a681e3b2468b261ffd322bd249
* Simplification to sqlite3ApiExit(). Generates identical machine code, butdrh2023-10-11
| | | | | easier for humans to read. FossilOrigin-Name: 793bbfa5af9721bc3a61e8e5eda46dfce2f5ff3f223a7564c9e1b09f11e53cb3
* Fix a bug in the mkautoconfamal.sh script, introduced by check-in ↵drh2023-10-10
| | | | | | | | [3308fdda4b81c110] so that the "snapshot-tarball" and "amalgamation-tarball" makefile targets work again when run from outside of the source tree. FossilOrigin-Name: 65ccf5fef812d43aed9e00af36c90e1a499d197e30148753790445e25ee1324c
* Start adding tests for the second JNI layer.stephan2023-10-10
| | | FossilOrigin-Name: 0177f4dfe8a5c03c1d5dd279c6babe5a87b596c2351373f845b89fc6abf7947b
* Use snprintf() in place of sprintf() in a debugging function in the CLI.drh2023-10-09
| | | FossilOrigin-Name: 5e5e4d2b4958c329578d1e5af4ed25c1b774f0ed2d15fa6747d7d7fbbba4fa46
* Avoid calling sqlite3_randomness and taking the PRNG mutex when writing a ↵dan2023-10-09
| | | | | journal header in "journal_mode=memory" mode. FossilOrigin-Name: c84e4483cb44f827416d8caafa22f076b2f31b2024fe8c5b5bcb0c9955149d11
* Add a TCL script that does various verification checks on the source treedrh2023-10-09
| | | | | to make sure that generated code has been updated correctly. FossilOrigin-Name: 1f1a358af77f4386f98010eeae8487e6d39548a6dfe58c2664552490e7661122
* Fix a compiler warning caused by the previous check-in.drh2023-10-09
| | | FossilOrigin-Name: 7e8768bf8b4002b1c287f2bc95262548e2ae81b437936154f2bb1ea1f739a904
* Turn on SEH by default when building using MSVC.drh2023-10-09
| | | FossilOrigin-Name: f57e8275cf1ab3ad8027044cda0893282d1c403a5aa9fabbb1c7de280597b5cd
* Fix a potential UAF caused by JSON parser cache spill.drh2023-10-09
| | | | | [forum:/forumpost/b25edc1d46|Forum post b25edc1d46]. FossilOrigin-Name: a163fecca90cab9d1b7bf8ebac78d498775eed7b6d81e7920e3401633c3a4b60
* Flesh out the error state captured by SqliteException.java. Doc additions.stephan2023-10-09
| | | FossilOrigin-Name: 5c5397ff15543f4b3620244d9e57e15708eafcab1d42c9f87b4a60f0c01e8858
* Fix harmless compiler warning in the test module for sessions.drh2023-10-09
| | | FossilOrigin-Name: 3d5ec99397c183cfb8c5d31e1967e0df8a4d6edbea92bbdf728571e3a6a36d68
* Add JNI Sqlite and SqliteException classes. Add Tester2.java as the main ↵stephan2023-10-09
| | | | | test app for the high-level API. FossilOrigin-Name: 6acf52be7abce8dcf434c5ebf0d5e88859b033e6418077846247ecf00ccf9381
* Minor JNI doc and public/private cleanups.stephan2023-10-09
| | | FossilOrigin-Name: c49d36ece283274963ce2e5a4db1e8f586dffa22e47f4adb93c625f918c3fd5d
* Rename SQLite3Jni to CApi to (A) reduce name prefix collisions with incoming ↵stephan2023-10-09
| | | | | classes and (B) align with its counterpart in the JS build. Remove the Canonical annotation because (A) the new code separation will inherently make that distinction and (B) the line between truly canonical and semi-canonical (e.g. differing in signature overloads) is blurry enough that consistent use of that annocation is becoming an unnecessary burden. FossilOrigin-Name: ca216b4486aff7d206ebfc3a5e84d48919c282425d4313396bc19313ffca8a0e
* Fix a problem with sqlite3changegroup_schema() and patchsets.dan2023-10-07
| | | FossilOrigin-Name: c4ab4200dc2538e1132d87d70fd309b26b0da8a918fede1cb09b567ea40ec889
* Add the sqlite3changegroup_schema() API. To allow changegroup objects to ↵dan2023-10-07
|\ | | | | | | | | upgrade the schema of a changeset/patchset under some circumstances. FossilOrigin-Name: 03f9e50b15c9c2fb4636dee24c1491c45322578b9fed08c6f4360be07c5c3830
| * Fix a problem with the changes on this branch and tables that use an ↵dan2023-10-07
| | | | | | | | | | implicit primary key. FossilOrigin-Name: 1f9d10235ff32e72074be695049567135b02e681068ce117b66adc14a6214449
| * Add missing source code comments and fix other issues with the new code on ↵dan2023-10-06
| | | | | | | | | | this branch. FossilOrigin-Name: df39fbe9ab87937beb77af353cd55602290b185e222e0a92a3ebf9a9a0b9e2e7
| * Update this branch with latest changes from the trunk.dan2023-10-06
| |\ | | | | | | FossilOrigin-Name: 897e926a5eaa0eab7e09e5003e4c15c974897be298a18ae85345962dc3f410a1
| * | Add tests for the sqlite3changegroup_schema() API.dan2023-10-06
| | | | | | | | | FossilOrigin-Name: 5dab481c101b1523b1cfde92678cbc654ea26d946bf29da372d71c1f89cbaf46
| * | Add the sqlite3changegroup_schema() API. To allow changegroups to handle ↵dan2023-10-05
| | | | | | | | | | | | | | | differences in schema created by ALTER TABLE ADD COLUMN. FossilOrigin-Name: 309deee2dd8dd07623fce79f6bb62d5279d140dd0be3b34bc42af20b0507726b
| * | Allow a session object to generate a changeset, even if columns were added ↵dan2023-10-04
| | | | | | | | | | | | | | | to one of the tables using ALTER TABLE ADD COLUMN while the changeset was being collected. FossilOrigin-Name: a3f435eccf3a2aa11cb7420e94af5efcdfa04e9c169c5aaf61fa5cdcb165ceef
* | | Add a test case to prevent a regression of the leak fixed in the previousdrh2023-10-07
| | | | | | | | | | | | | | | trunk check-in. FossilOrigin-Name: f99ff655d09763c4a22d065041644ece793d84c82c644931e89ccf50c4f4564a
* | | Fix a resource leak: sqlite3_blob_reopen() was failing to invoke thedrh2023-10-07
| |/ |/| | | | | | | | | | | | | xDel() distructor on a register when it sets that register to the new rowid. This was never a problem prior to the large-column cache of [771fe35074b50b8d] as that destructor was always a no-op. dbsqlfuzz cd96368deaece480fb94d42427dde053737a650e. FossilOrigin-Name: 545edd5ecf20a7feb99dc5ce6f338fa1f172c2e17b240cbede497f0729dbd3d7
* | Remove an unused parameter from the recomputeColumnsNotIndexed() routine indrh2023-10-06
| | | | | | | | | | order to squash a harmless compiler warning. FossilOrigin-Name: 9bf4bfd68080367b58594e0d44b110b3ee9766420f648537fd7bc638dacefb72
* | Ensure that all fields of static sqlite3_module objects are explicitlydrh2023-10-06
| | | | | | | | | | initialized, in order to hush-up nuisance compiler warnings. FossilOrigin-Name: f3b3d712d6e58b1cb8fdebd2b6b3125080b6b3ac8c7c849a8cc1e5e778d62fe7
* | Remove and unused static variable from shell.c.in in order to silence adrh2023-10-06
| | | | | | | | | | harmless compiler warning. FossilOrigin-Name: 477577120b897bf15edc2a85e220d5c64a1d5a245354939269f6753d8140ac95
* | Increase the size of some variables associated with the PMA sorter in orderdrh2023-10-06
| | | | | | | | | | | | to avoid any possibility of a signed integer overflow. [https://bugs.chromium.org/p/chromium/issues/detail?id=1489025|Chromium fuzzer issue 1489025]. FossilOrigin-Name: dc3be3af471d90dd810c1e2cc59e83cf6a57f01971b1258ea0da402e4d577ef2
* | Improved detection of corrupt databases in balance_nonroot().drh2023-10-05
| | | | | | | | | | dbsqlfuzz d1cf013c50a620b68c2a5bd240d29afd65e5f58e. FossilOrigin-Name: a2464bbb825b5976ef974a2e6c17ea150f5e6fcd0dd0f144b9f9c1c22a9c9c82
* | Do not squelch exceptions from SAHPool VFS importDb() - rethrow them. ↵stephan2023-10-05
| | | | | | | | | | Problem reported in [forum:c80fc578809b80a3|forum post c80fc578809b80a3]. FossilOrigin-Name: 325bcdea4a436e514d83095d3893caf07a714b718e1b643507179b101c108e3b
* | Remove a stray blank line from the beginning of btree.c. No functionaldrh2023-10-05
|/ | | | | code changes. FossilOrigin-Name: c89983dcfc208faa86b31717144c069572598e9770228264d69a044a84bde277
* The Makefile distinguishes between tcl8.4 and tcl8.5. Some makefile targetsdrh2023-10-04
| | | | | | require tcl8.5, but others (ex: "sqlite3.c", "shell.c", and "sqlite3") require only tcl8.4. FossilOrigin-Name: 770308db9776b8c0a70b8807463e89a9eddfe5552e25e67324cd303dc974f50e
* Modify the main makefile so that it fails with an error if the tclsh founddrh2023-10-04
| | | | | | by ./configure is not tclsh 8.5 or later. [forum:/forumpost/4380363682708ece|Forum post 4380363682708ece]. FossilOrigin-Name: 1765f3b5a00a8ca20a7b9e18ac7f9d7de0679470b234b83aea83aa5b4d4d34e6
* JNI: when fetching text-or-blob/length pairs, fetch the text-or-blob first, ↵stephan2023-10-02
| | | | | then the length, as the API docs suggest. FossilOrigin-Name: e4f9d3946fa570bccea2de17c5536901bdabd46cfe25678fdd37ba0e2bfd99b1
* Fix the length of the string in the new concat() and concat_ws() functions.drh2023-10-02
| | | FossilOrigin-Name: 325243226520376f4a142864ae3fb98866f25bff4dc50a6b648ef98428a7169f
* Remove an ALWAYS() from a branch that can in fact be false following an OOMdrh2023-10-02
| | | | | fault. FossilOrigin-Name: 3a1feb1c469d3dd50e2558581199b16bfd59b9d5bcb0de5f1a8f0ec30a17b4d1
* Pointer-casting-related fixes for JNI on 32-bit ARM (pi4 armv7l).stephan2023-10-02
| | | FossilOrigin-Name: 54441039ae3ebe39e42f008f77ce1be117cbda6daeed8b01739ad42a3c1f0754
* Add JNI binding for sqlite3_normalized_sql().stephan2023-10-01
| | | FossilOrigin-Name: 2532e5662a2bbb3e6b4c4be3fad035734b684bdf59b178cb64b444ca6d8b956b
* Make JNI binding of sqlite3_value_frombind() return boolean instead of int ↵stephan2023-10-01
| | | | | and add tests for it. FossilOrigin-Name: 906e2ed3e9647f5c2355e9fea2beee141767cae7016da9fa1fe88283726b9369