Fix bug in the test case for the previous check-in.

FossilOrigin-Name: c5daae88612607aa7a8b13b021cf586fc66e8bcd1fa9d948a860c881b7247761
This commit is contained in:
drh 2023-08-11 11:24:44 +00:00
parent 91c0092917
commit b8a0fc52a2
3 changed files with 8 additions and 8 deletions

View File

@ -1,5 +1,5 @@
C Up\suntil\sversion\s3.42.0,\sthere\swas\sa\sbug\sin\sjson_valid()\ssuch\sthat\sit\swould\nreturn\sFalse\s(0)\sfor\sa\sNULL\sinput.\s\sThat\sbug\sis\sfixed\sin\s3.42.0.\s\sThis\ncheck-in\sadds\sa\scompile-time\soption\s-DSQLITE_LEGACY_JSON_VALID\sthat\srestores\nthe\sold\sbuggy\sbehavior\sfor\sapplications\sthat\sdepend\son\sit.
D 2023-08-11T11:12:46.745
C Fix\sbug\sin\sthe\stest\scase\sfor\sthe\sprevious\scheck-in.
D 2023-08-11T11:24:44.728
F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1
F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea
F LICENSE.md df5091916dbb40e6e9686186587125e1b2ff51f022cc334e886c19a0e9982724
@ -1232,7 +1232,7 @@ F test/json/README.md 63e3e589e1df8fd3cc1588ba1faaff659214003f8b77a15af5c6452b35
F test/json/json-generator.tcl dc0dd0f393800c98658fc4c47eaa6af29d4e17527380cd28656fb261bddc8a3f
F test/json/json-q1.txt 65f9d1cdcc4cffa9823fb73ed936aae5658700cd001fde448f68bfb91c807307
F test/json/json-speed-check.sh 8b7babf530faa58bd59d6d362cec8e9036a68c5457ff46f3b1f1511d21af6737 x
F test/json101.test c98eca791dc29990e560264d6a46aad7966eb16a5f1b818d85a7c00bc2a4e9cd
F test/json101.test 243b0a2650218ac5eafde6ce2a92a0e9d02bf24f62aec68693b69d9a693f120a
F test/json102.test 24f6f204f9cde45b971016691d0b92a9b4c58040d699e36d6b12cb165f9083ff
F test/json103.test 53df87f83a4e5fa0c0a56eb29ff6c94055c6eb919f33316d62161a8880112dbe
F test/json104.test 1b844a70cddcfa2e4cd81a5db0657b2e61e7f00868310f24f56a9ba0114348c1
@ -2050,8 +2050,8 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93
F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
P b2fdac0b151864eb2aa79f0b0ee60f9c6d9f3eb8c7626605eac17a02a8cf59bc
R e87775d4810d0d66e5c1c0ab0600235d
P 15c2eadbff8e732cca45d6c3771d1fcea5aab2127e87f2a611b41ccfef4d1a0d
R 1fd792e259ede50066032d9f52ebbec8
U drh
Z 4c6d3fbedad1c472acffb2c80d4f6273
Z 90d7041782e85db6a33263bb95988886
# Remove this line to create a well-formed Fossil manifest.

View File

@ -1 +1 @@
15c2eadbff8e732cca45d6c3771d1fcea5aab2127e87f2a611b41ccfef4d1a0d
c5daae88612607aa7a8b13b021cf586fc66e8bcd1fa9d948a860c881b7247761

View File

@ -923,7 +923,7 @@ do_execsql_test json-20.3 {
# a NULL value as the JSON input.
#
db null NULL
if {[db exists {SELECT * FROM pragma_compile_options WHERE compile_options LIKE '%legacy_json_valid%'}] {
if {[db exists {SELECT * FROM pragma_compile_options WHERE compile_options LIKE '%legacy_json_valid%'}]} {
do_execsql_test json-21.1-legacy {
SELECT json_valid(NULL);
} 0