diff options
author | drh <> | 2025-05-24 20:20:20 +0000 |
---|---|---|
committer | drh <> | 2025-05-24 20:20:20 +0000 |
commit | a01b7adb1345b57063c5937fb98ffe6fb89657d9 (patch) | |
tree | f7f2b53c2da84364915f26cf243732d2d5b5a347 /test | |
parent | c5031b578b027a680524496617f638d4f8a3f54e (diff) | |
download | sqlite-a01b7adb1345b57063c5937fb98ffe6fb89657d9.tar.gz sqlite-a01b7adb1345b57063c5937fb98ffe6fb89657d9.zip |
Change json_group_object() so that it ignores entries where the label
is NULL. [forum:/forumpost/e5bd251fb5|Forum post e5bd251fb5].
FossilOrigin-Name: 28215d131cd970a2756338579fb6b6091ab155be8f419505cae8ac918956165c
Diffstat (limited to 'test')
-rw-r--r-- | test/json101.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/json101.test b/test/json101.test index aec959acb..e22902f86 100644 --- a/test/json101.test +++ b/test/json101.test @@ -1113,7 +1113,7 @@ do_execsql_test json101-21.26 { do_execsql_test json101-21.27 { WITH c(x,y) AS (VALUES('a',1),('b',2.0),('c',NULL),(NULL,'three'),('e','four')) SELECT json_group_object(x,y) FROM c; -} {{{"a":1,"b":2.0,"c":null,:"three","e":"four"}}} +} {{{"a":1,"b":2.0,"c":null,"e":"four"}}} # 2023-10-09 https://sqlite.org/forum/forumpost/b25edc1d46 # UAF due to JSON cache overflow |