Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.4(EOL), 10.5(EOL), 10.6, 10.9(EOL), 10.10(EOL), 11.0(EOL), 11.1(EOL), 11.2(EOL)
-
None
-
Unexpected results
-
When fetching a false value from a JSON function using a SQL cursor, the "false" was truncated to "fals" due to an incorrect width in the protocol
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
Attachments
Issue Links
- relates to
-
MDEV-36570 select with json function
-
- Confirmed
-
-
MDEV-39498 mroonga_command() incorrect result length metadata
-
- Open
-
-
MDEV-31005
Make working ./mtr --cursor-protocol
-
- Stalled
-