[MDEV-29627] Boolean logic is failing using JSON_EXTRACT function with multiple RECURSIVE CTE's Created: 2022-09-24 Updated: 2024-02-02 |
|
| Status: | Confirmed |
| Project: | MariaDB Server |
| Component/s: | Stored routines |
| Affects Version/s: | 10.3, 10.4, 10.6.10, 10.5, 10.6, 10.7, 10.8, 10.9 |
| Fix Version/s: | 10.4, 10.5, 10.6, 10.11, 11.0, 11.1, 11.2, 11.3 |
| Type: | Bug | Priority: | Major |
| Reporter: | Rich Theobald | Assignee: | Sergei Petrunia |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | regression, wrong_result | ||
| Description |
|
Was looking to upgrade to 10.6 but ran into a very specific bug that is blocking us:
The first returned value (1) is correct but then returns an incorrect value (0) on any further calls. Re-creating the function repeats the pattern. Works correctly in 10.4 |
| Comments |
| Comment by Rich Theobald [ 2022-09-26 ] | ||||||||
|
I neglected to check later versions that the 10.4.24 version that I am using. This is also failing in 10.4.25 or higher | ||||||||
| Comment by Alice Sherepa [ 2022-09-26 ] | ||||||||
|
Thank you for the report!
| ||||||||
| Comment by Rich Theobald [ 2024-02-01 ] | ||||||||
|
As it has been well over a year since this was reported and fix versions have been steadily removed, can I assume this is an especially problematic issue and will not be address any time soon? |