The value returned by the json_each.json field needs to survive longer than
commit1752984b570acf93e63bf85b5c1066f52faf46c6
authorD. Richard Hipp <drh@hwaci.com>
Tue, 5 Mar 2024 16:47:48 +0000 (5 16:47 +0000)
committerD. Richard Hipp <drh@hwaci.com>
Tue, 5 Mar 2024 16:47:48 +0000 (5 16:47 +0000)
treece038d429350bc8e3ec0db5e1f3ef76f0f9f72f5
parente3afcfa6a77fad23da625f2af5d0dc3933c3bab3
The value returned by the json_each.json field needs to survive longer than
the json_each virtual table itself, in the event that the value is used in
an aggregate expression.  dbsqlfuzz 5120bd0b3bb0b73eebbcb79ac37c6b0663fccad6
src/json.c