From: drh <> Date: Tue, 12 Dec 2023 17:31:17 +0000 (+0000) Subject: The json_valid(*,8) function does a much better check of the validity of X-Git-Tag: version-3.45.0~94 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=df25a8fd4b7cc8699b13480f5372d0bb04f43474;p=thirdparty%2Fsqlite.git The json_valid(*,8) function does a much better check of the validity of the JSONB input. The json_error_position() function returns an approximate byte offset to the point of the first detected error in the JSONB. FossilOrigin-Name: 840efb33a3934a9bdccad65ea15c70d5c335a517502c9844aaad8405d16d1604 --- df25a8fd4b7cc8699b13480f5372d0bb04f43474 diff --cc manifest index f1e356acec,2ef2ef6944..011acb7799 --- a/manifest +++ b/manifest @@@ -1,5 -1,5 +1,5 @@@ - C Fix\sa\spotential\suse\sof\suninitialized\svalue\sin\sjson_valid()\swith\s2nd\nargument\sof\s8. - D 2023-12-11T02:39:11.053 -C Add\sNEVER\sto\stwo\sunreachable\sbranches\sin\sJSON. -D 2023-12-12T17:13:10.122 ++C The\sjson_valid(*,8)\sfunction\sdoes\sa\smuch\sbetter\scheck\sof\sthe\svalidity\sof\nthe\sJSONB\sinput.\s\sThe\sjson_error_position()\sfunction\sreturns\san\sapproximate\nbyte\soffset\sto\sthe\spoint\sof\sthe\sfirst\sdetected\serror\sin\sthe\sJSONB. ++D 2023-12-12T17:31:17.429 F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1 F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea F LICENSE.md df5091916dbb40e6e9686186587125e1b2ff51f022cc334e886c19a0e9982724 @@@ -2153,8 -2153,8 +2153,9 @@@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a9 F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0 - P 1503cba6d17e9bade7a5c103ddd23241ff4741f9a2e3032ffe2987af243dae65 - R 10c5202c73d5a29cc977b618b1930c91 -P be1864eac4eb75cc30bf98f73092c8608467f4bd956240df6a0cbea9f1e09e85 ++P fa102036fe46eeb71b7df3e265be1935ae5c78e0b939b08841bcfb8abadbc77a c96ebb086feb89341565cc52b970ae7799ce1327fe1ad4fc790f1b0dcaa6e229 + R 6e221a94cd5525fe9f8a7e94ea467b60 ++T +closed c96ebb086feb89341565cc52b970ae7799ce1327fe1ad4fc790f1b0dcaa6e229 U drh - Z 03628577bea44fb563932e72818a5e19 -Z 2ea9e875faf360824d045f495f8867aa ++Z 749a6c45182c15aa056f901d03cf2368 # Remove this line to create a well-formed Fossil manifest. diff --cc manifest.uuid index c4f83fcd22,838b8ad2ba..5e0946fbbd --- a/manifest.uuid +++ b/manifest.uuid @@@ -1,1 -1,1 +1,1 @@@ - fa102036fe46eeb71b7df3e265be1935ae5c78e0b939b08841bcfb8abadbc77a -c96ebb086feb89341565cc52b970ae7799ce1327fe1ad4fc790f1b0dcaa6e229 ++840efb33a3934a9bdccad65ea15c70d5c335a517502c9844aaad8405d16d1604