[MDEV-31554] Cursor protocol cuts off the end of json body for some json functions Created: 2023-06-27  Updated: 2023-11-28

Status: Open
Project: MariaDB Server
Component/s: JSON
Affects Version/s: 10.4, 10.5, 10.6, 10.9, 10.10, 11.0, 11.1, 11.2
Fix Version/s: 10.4, 10.5, 10.6, 11.0, 11.1, 11.2

Type: Bug Priority: Major
Reporter: Lena Startseva Assignee: Oleksandr Byelkin
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-31005 Make working cursor-protocol Stalled

 Description   

Testcase (run MTR test with --cursor-protocol):

select json_array_append('["a", "b"]', '$', FALSE);

Expected result:

json_array_append('["a", "b"]', '$', FALSE)
["a", "b", false]

Actual result:

json_array_append('["a", "b"]', '$', FALSE)
["a", "b", fals

The same behavior repeats for json_insert, json_set, json_type, json_unquote, json_object, json_loose, json_detailed


Generated at Thu Feb 08 10:24:45 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.