From: drh <> Date: Wed, 30 Aug 2023 18:34:01 +0000 (+0000) Subject: Fix the json_array_length() routine so that it reports the correct answer X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d07eef8914676ffe951328e046cf7bda33ef2569;p=thirdparty%2Fsqlite.git Fix the json_array_length() routine so that it reports the correct answer even if its JSON input comes from the output of json_remove(). FossilOrigin-Name: 8b390d7ee03eef541e3c49fb65e2f0f41a8af1020a47cc79567c6fe7fdd4fae2 --- d07eef8914676ffe951328e046cf7bda33ef2569 diff --cc manifest index 5bd3cb5345,2c71e4874a..6733530581 --- a/manifest +++ b/manifest @@@ -1,5 -1,5 +1,5 @@@ - C Fix\sthe\sAVG()\sand\sTOTAL()\sfunctions\nso\sthat\sthey\swork\swith\sinfinitites. - D 2023-08-30T16:24:05.797 -C Fix\sa\sbug\sin\sjson_array_length()\sintroduced\sin\sversion\s3.43.0\nIf\sthe\sJSON\sinput\scomes\sfrom\sjson_remove(),\nthe\sremoved\sarray\sentries\sare\sstill\scounted\sas\spart\sof\sthe\sarray\slength. -D 2023-08-30T18:27:46.945 ++C Fix\sthe\sjson_array_length()\sroutine\sso\sthat\sit\sreports\sthe\scorrect\sanswer\neven\sif\sits\sJSON\sinput\scomes\sfrom\sthe\soutput\sof\sjson_remove(). ++D 2023-08-30T18:34:01.184 F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1 F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea F LICENSE.md df5091916dbb40e6e9686186587125e1b2ff51f022cc334e886c19a0e9982724 @@@ -2106,8 -2092,9 +2106,8 @@@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a9 F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0 - P 903e997457a70fe8a105d5805d3b14710f60c8196558706a003a50090b87437e 97e20716c7c5c9c96a693835f99692d4cea088edebb9e422057bcb59829b798f - R 8b7ad07d6b322281a66a49cb49eb927c -P 97e20716c7c5c9c96a693835f99692d4cea088edebb9e422057bcb59829b798f -Q +69a635958a4a14187e88dd297df8978a4805b1b0c7bff3ec29d5632c0f68d889 -R 8418b86ba3026abdf6cefa97401d3d7d ++P 988e5308b6a03ff1f4122564a775fc3f8360b742548c4fb3f4b265496e77ca74 db7cb6cb73e606667f0ac52a2e84be6e755ae2792fc64e494ed08d0d3fab2863 ++R c179ad77db83544234e56cbe5b4079c8 U drh - Z fb11585ce6c7c28d88a49876691d5a4b -Z 979ae0a0217d20fc319c83942229e1ed ++Z b12e3d62d786ae1a9bd890ac7c9bec1c # Remove this line to create a well-formed Fossil manifest. diff --cc manifest.uuid index 75c7a5fd9f,42f6601df2..08f1984a11 --- a/manifest.uuid +++ b/manifest.uuid @@@ -1,1 -1,1 +1,1 @@@ - 988e5308b6a03ff1f4122564a775fc3f8360b742548c4fb3f4b265496e77ca74 -db7cb6cb73e606667f0ac52a2e84be6e755ae2792fc64e494ed08d0d3fab2863 ++8b390d7ee03eef541e3c49fb65e2f0f41a8af1020a47cc79567c6fe7fdd4fae2