aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Inserts invalid JSONB should return "malformed JSON", not a json path error.drh2023-11-21
| | | FossilOrigin-Name: 306ee66fbd0231a9f5b229e5630d5cc66c9cf08b466d2d9204e79e1f44a16374
* Direct editing of JSONB using json_insert() and json_set().drh2023-11-21
| | | FossilOrigin-Name: fffb7a9538838e26991e6f16ea3138346a30c33ea6c3d3834680ee6d1f6eece2
* Correct blob-to-text rendering in some corner cases.drh2023-11-21
| | | FossilOrigin-Name: 7822e0e59f9b611fe6289cc762b0aff61f9b87c3a82c60de110f447589a2c125
* Fix the translation of JSON5 numeric values from BLOB into text.drh2023-11-21
| | | FossilOrigin-Name: 40c4fb441f220982e4d61fd42597cf18546791a302fbcc8eec2eed29ee15ef35
* Merge all recent trunk fixes and enhancements into the jsonb branch.drh2023-11-21
|\ | | | | FossilOrigin-Name: 6d78d50ed2357e6c943c1ef97b1d2ea0902cbadef90c2c35dccdbdc2bdf8702f
| * Fix the trace3-4.4 test to be more rebust against timing quirks.drh2023-11-21
| | | | | | FossilOrigin-Name: 8936daa08243729d8538bb7288bbefb43f3bd842a0d4b2e8019092f5701c2926
| * Back out an incorrect change to the sqlite3ExprCompareSkip() function thatdrh2023-11-20
| | | | | | | | | | | | | | was added way back on 2019-08-22 for [44578865fa7baf97|check-in 44578865fa7ba] and which was only today discovered to be incorrect by [forum:/forumpost/45ec3d9788|forum post 45ec3d9788]. FossilOrigin-Name: f5b3eb0fc8936ba274a7654ff6dfa7d4654bd8dbca7f3a5ec1134b0b5260d59d
| * Convert an assert in OP_VCheck into a branch that aborts the opcode, as thisdrh2023-11-20
| | | | | | | | | | | | can happen on some very obscure conditions, as discovered by dbsqlfuzz. Test case in TH3. FossilOrigin-Name: 7946c79567b0ccd3a00d12390e99896d7dc11407d0b52bc39338a16a493f56f6
| * Fix an assert() in fts5 that could be true following an OOM or IO error in ↵dan2023-11-20
| | | | | | | | | | contentless-delete mode. FossilOrigin-Name: 3fe89238c31ca163d021ef1fecde594328815aaba7053fef9e9c789562a62f45
| * Cherrypick shell1.test fix.larrybr2023-11-20
| | | | | | FossilOrigin-Name: 91c888eddbcb1b461f7d562c2f0eee57f1a2be7f9959b9d69e80fc7c1da20e9e
| * Correct conditional compilation issue seen with MSVC in the Win32 mutex ↵mistachkin2023-11-18
| | | | | | | | | | subsystem. FossilOrigin-Name: 6f8f4bfe607f1405d313bb88a33490621002f63e8c02c980f4c083630ad3a6d2
| * When ENABLE_SETLK is defined, avoid ever blocking on the lock mutex in ↵dan2023-11-18
| | | | | | | | | | os_unix.c when requesting an exclusive lock. FossilOrigin-Name: eb36d475e91bfdbf4a18b6fd9751fbcecf15d960dcd1c00d2d18b5bf1d7503fe
| * Adjust an assert() in fts5WritePoslistData() so that it only applies if theredrh2023-11-18
| | | | | | | | | | | | have been no prior errors. dbsqlfuzz 25dca9b2568f67dc78a0e32ff280133fe71994bd. FossilOrigin-Name: 257cdbab90c6db8ccc9a8fd5df556b69c3a35a329d39cd4642c792d7359a54a5
| * Another assertion fault fix, similar to [a9443dbfbe25e588]. dbsqlfuzzdrh2023-11-18
| | | | | | | | | | 2d9af4e94aca188e0092900eec711401c5d51687. FossilOrigin-Name: 3afaeac56dff58db596360bf6f8dca97cb31405f73be8e189e8c0e6a1e5b239d
| * When SQLITE_ENABLE_SETLK_TIMEOUT is defined, use a separate mutex in ↵dan2023-11-17
| |\ | | | | | | | | | | | | os_unix.c for each shm locking slot. FossilOrigin-Name: 64691df980cdf73ddc00aabe15baa6c018e1d76b0e87f55ab33a9348fd5680bd
| | * When SQLITE_ENABLE_SETLK_TIMEOUT is defined, use a separate mutex in ↵dan2023-11-17
| | | | | | | | | | | | | | | os_unix.c for each shm locking slot. FossilOrigin-Name: 4098df9652d90f2d22d5591d915d672c5413471f7916223510ba6fd932bfdd36
| * | Add the new "run-fuzzcheck" target on the autoconf unix makefile. Requiresdrh2023-11-17
| | | | | | | | | | | | | | | that FUZZDB be set to the name of the fuzz-data database file. FossilOrigin-Name: 8fa3915dbfdd9a5b0fcf4d695590b3de7e7d19d2917924186ca889cd60bf0eb9
| * | Add an assert() to prove the sqlite3_prepare() always either returnsdrh2023-11-17
| |/ | | | | | | | | | | SQLITE_OK or else leaves *ppStmt set to NULL. See [forum:/forumpost/70bb8576c6c084c2|forum post 70bb8576c6c084c2]. FossilOrigin-Name: feadd4024228e578811447c4b2d2b60780ff3d3681f80ca903585aa7b289d758
* | Make edits directly to the JSONB BLOB when the input to json_replace()drh2023-11-21
| | | | | | | | | | is a JSONB. FossilOrigin-Name: d69c6acef54a81f46a97a05d443fe648635b4b70772069d6705ef829b718e985
* | Merge the latest trunk enhancements and fixes into the jsonb branch.drh2023-11-17
|\| | | | | FossilOrigin-Name: 162f0509ef27bcd3ec87629640281a71c773e7c3bbd2cd0df76faf481531e7f1
| * Fix harmless compiler warnings in debugging code.drh2023-11-17
| | | | | | FossilOrigin-Name: ce6a75622ea5bca517bc6613e738aa670c9e1dd863596220eded5c2379c616c7
| * Fix an incorrect assert() associated with ALTER TABLE where an unknowndrh2023-11-17
| | | | | | | | | | | | aggregate function contains an ORDER BY clause. dbsqlfuzz e0900262dadd5c78c2226ad6a435c7f0255be2cd. FossilOrigin-Name: a9443dbfbe25e588b4adddde664ddf482f19f71c704fbf356d49cf3a6135e7fb
| * Changes so that if SQLITE_ENABLE_SETLK_TIMEOUT is defined as 2 instead of 1, ↵dan2023-11-15
| |\ | | | | | | | | | | | | all blocking locks are taken for a single millisecond and the default busy-handler invoked as normal. FossilOrigin-Name: 79e24ec3dd40373bbb93792829b18d9ef40daf19d4606174e36c8e19e61a7529
| | * Passive checkpoints do not use the busy-handler. So, in order to minimize ↵dan2020-06-29
| | | | | | | | | | | | | | | visible changes for legacy applications, do not enable blocking locks for passive checkpoints. FossilOrigin-Name: 9c2b4bdd03716bf492ba85198717f3084ebf187bdb068893bd1ff8662362df89
| | * Change things so that if SQLITE_ENABLE_SETLK_TIMEOUT is defined as 2 instead ↵dan2020-06-29
| | | | | | | | | | | | | | | of 1, all blocking locks are taken for a single millisecond and the default busy-handler invoked as normal. FossilOrigin-Name: ac381e6eb3c9284e65f7aad66d21bee1bca9ef4123684ccaf069b8a6d157a56d
| * | Improvements to the description of sqlite3_errmsg() and sqlite3_errstr().drh2023-11-15
| | | | | | | | | FossilOrigin-Name: fe5cc4169c5348324e863d3e339de94ed01749a3b9c86aa9adc5e3244bd9d033
* | | Both json_remove() jsonb_remove() work on pure JSONB as long as the inputdrh2023-11-15
| | | | | | | | | | | | | | | is JSONB. FossilOrigin-Name: 68d551730be0a3ea9579646ed4836c73554c83ca7f2303b69a18843f1750f1a7
* | | Some simple test cases for JSONB direct remove.drh2023-11-15
| | | | | | | | | FossilOrigin-Name: 8cb4d2cbfc1b5f3c612d85138e66da8735d6589c7538fdf494a761c9b8104f18
* | | jsonb_remove() now works without having to use a JsonNode parse, assumingdrh2023-11-15
|\ \ \ | | | | | | | | | | | | | | | | that the input is JSONB. FossilOrigin-Name: 5207679e929786e577a0553d0d84dda5125456dcde80c0f3156f14f4d8c804cb
| * | | The jsonb_remove() routine now appears to be working.drh2023-11-15
| | | | | | | | | | | | FossilOrigin-Name: e76d48137ea823b7810dc8c3b70eb21adabdd6cfbac36050c85d1375e94be1de
| * | | Work toward getting jsonb_remove() to work directly on JSONB blobs.drh2023-11-15
|/ / / | | | | | | FossilOrigin-Name: a79ff8e58fcaf718a6fb78e145117f1d6d40d133f31e9752bb9c6d484850a27b
* | | Merge all the latest enhancements and fixes from trunk into the jsonb branch.drh2023-11-15
|\| | | | | | | | FossilOrigin-Name: ba91408f4c044feda003ef93784ccefb619f99ab64379ced481ee8e9e890fd41
| * | Fix an exception misuse in test-opfs-vfs.js.stephan2023-11-15
| | | | | | | | | FossilOrigin-Name: 9264955e6e47aa8fc3a6f8bed192a6c12f43de49f7fba2e0cc080e47abedde14
| * | JNI: add more wrapper1 Sqlite.Blob tests.stephan2023-11-15
| | | | | | | | | FossilOrigin-Name: d63f6e1ffda9a88a37acc7862cb7ee8b9cd669b0fdba64c1ec9dd221cf807714
| * | JNI: clear out the sqlite3_context native pointer after calling UDF ↵stephan2023-11-15
| | | | | | | | | | | | | | | callbacks which do not have an argv (as was already done for those which have an argv). Add related tests and code commentary. FossilOrigin-Name: 138f40543b26b2e02e27d830d92e30b12cfef5a8dc3f0b58b39c68e1b3c91cc6
| * | JNI doc updates.stephan2023-11-15
| | | | | | | | | FossilOrigin-Name: 1b1f36a206319e99ccaed969893ff95dcf3b8e97ed301544cf3cd3fee2780335
| * | JNI: add the @Experimental annotation and mark all ↵stephan2023-11-15
| | | | | | | | | | | | | | | java.nio.ByteBuffer-related methods with it. FossilOrigin-Name: 0f4b223102e5dc9142c9d2cb8892b8d3cc476e579420028b93d4e12f4cf94d3e
| * | JNI test code cleanups.stephan2023-11-15
| | | | | | | | | FossilOrigin-Name: 09142ac14347e6f41bbe50bc835920e271713452733a478ede547816cc291ace
| * | JNI: add CONFIG_LOG and CONFIG_SQLLOG support to wrapper1. Code-adjacent ↵stephan2023-11-15
| | | | | | | | | | | | | | | cleanups. FossilOrigin-Name: 83c49b9e71e5ae8852bab60a6fa630e22164c8efbf074c85450136781d0fffd3
| * | JNI: apply an internal level of API indirection to avoid having to work with ↵stephan2023-11-15
| | | | | | | | | | | | | | | massively-mangled names for the various sqlite3_config() overloads. FossilOrigin-Name: 24f20663b1c4e13ff7d9a89e1df6af2e6f5730e5042ae6479e0a8c1bb846f313
| * | Add NEVER() to a branch made unreachable by [6f9eed826f5b3d1c].drh2023-11-14
| | | | | | | | | FossilOrigin-Name: 26dcaa34e3521783bde687749d590eca54cecb4bb95ef332a4a6473c4141d052
| * | JNI: reimplement Tester2.execSql() using the high-level API.stephan2023-11-14
| | | | | | | | | FossilOrigin-Name: 3a69679e41d23a760df349b2471a1ed306c087f9a7a7a2e2cba3723071dee6b2
| * | Fix another obscure problem with nested aggregates. dbsqlfuzz 04408efc51.dan2023-11-14
| | | | | | | | | FossilOrigin-Name: 6f9eed826f5b3d1cb08402925b406a7fe9b54259af1ba5eba92d4d37fbad628a
| * | JNI: add Sqlite.Stmt.step(boolean) overload which returns the result code of ↵stephan2023-11-14
| | | | | | | | | | | | | | | sqlite3_step() unless passed true, in which case it throws for any result other than ROW or DONE. The intent is to simplify handling of LOCKED and BUSY errors. FossilOrigin-Name: f4f1cc201a7dc618a66617778ecf58ba60461ae700cb41f5c4abfa26dd0c0ed4
| * | Extra PRAGMA vdbe_addoptrace output showing when OP_Column gets translateddrh2023-11-14
| | | | | | | | | | | | | | | into OP_Copy due to using a coroutine instead of a cursor. FossilOrigin-Name: eba180e77977acd6f3d4a0e3c99a2ebd4ce2839e9ce30c588929e36d69aa762a
| * | JNI: use ByteBuffer.limit() instead of ByteBuffer.capacity() when figuring ↵stephan2023-11-14
| | | | | | | | | | | | | | | out where the logical end of a ByteBuffer is, for reasons explained at length in new code comments. This is unfortunately slower but is the correct way to do it. FossilOrigin-Name: 51539419edc08ee6c70d8719d0f4d5ad47dd545a7fd9bf01d03a434aabd41d68
| * | JNI: add sqlite3_blob_read_nio_buffer() and iron out the blob/ByteBuffer ↵stephan2023-11-14
| | | | | | | | | | | | | | | interface somewhat. FossilOrigin-Name: 7df317b448a09ae77e2c68cc901fdb6d56a2246c1313f06bebd1f3e53f02c19b
| * | JNI: change sqlite3_prepare_multi()'s exception-handling semantics to be ↵stephan2023-11-14
| | | | | | | | | | | | | | | more C-like and, to support that, add the package-private sqlite3_jni_db_error() method to set the db error state from package-level Java code. FossilOrigin-Name: 46656b354311ec0a36832af1c4ccb3b6a244aa55cfb3681e25c3f42b13b387dd
| * | JNI: add sqlite3_blob_write() overload which accepts a java.nio.ByteBuffer. ↵stephan2023-11-14
| | | | | | | | | | | | | | | Cleanups in adjacent code. FossilOrigin-Name: ca32af8542aa2725cc87f54541b19897556f610e4674edf9f22a84e3d4097a82
| * | JNI: add sqlite3_column_nio_buffer() and sqlite3_value_nio_buffer() using an ↵stephan2023-11-13
| | | | | | | | | | | | | | | only-slightly roundabout approach to creating properly-sized ByteBuffer objects. FossilOrigin-Name: efbc82b218d26b7ca9b881da69d5fd14d22b5211fbd85a835da50e5bfde3d160