[MDEV-17578] JSON_ARRAY returns list of String when given a list of integer by passing in variables in stored procedure Created: 2018-10-31 Updated: 2023-04-27 |
|
| Status: | Confirmed |
| Project: | MariaDB Server |
| Component/s: | JSON |
| Affects Version/s: | 10.3.8, 10.2, 10.3 |
| Fix Version/s: | 10.4 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Stevan0102 | Assignee: | Rucha Deodhar |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Environment: |
MacBook Pro (13-inch, 2017, Two Thunderbolt 3 ports) |
||
| Description |
|
When I try to use JSON_ARRAY in a stored procedure, it outputs an array of String even though a list of Integer was given.
output is : ["1", "2"] If I change the last line into:
output is correct as : [ 1, 2 ] |
| Comments |
| Comment by Alice Sherepa [ 2018-11-02 ] | |||||||||||||||||||||||||||||||||||
|
Thanks for the report! Reproducible with "utf8", not with "latin1".
|