[MDEV-23781] Wrong value returned by JsonValue() function, Connect engine Created: 2020-09-21 Updated: 2023-04-27 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| Affects Version/s: | 10.0, 10.1, 10.2, 10.3, 10.4, 10.5 |
| Fix Version/s: | 10.4, 10.5 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Alice Sherepa | Assignee: | Sergei Golubchik |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
|
| Comments |
| Comment by Olivier Bertrand [ 2020-09-22 ] | ||||||||||||||||||||||||||||
|
Hmmm... strange. Looking in debug mode, the function is returning the good value but it is sort of truncated by MariaDB out of Connect. For instance:
See? The union process (and also the view?) seem to change the length of an UDF function result. BTW this also happens with some other functions. For instance:
Stripping the last '}' character. |