Bug #97097 | Stored Procedure, JSON_TABLE and "const" join type | ||
---|---|---|---|
Submitted: | 3 Oct 2019 13:37 | Modified: | 24 Oct 2019 20:16 |
Reporter: | William Chiquito | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: JSON | Severity: | S3 (Non-critical) |
Version: | 8.0.17 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | json_table, SP |
[3 Oct 2019 13:37]
William Chiquito
[3 Oct 2019 18:09]
MySQL Verification Team
Thank you for the bug report.
[24 Oct 2019 20:16]
Jon Stephens
Documented fix as follows in the MySQL 8.0.19 changelog: If the first argument to JSON_TABLE() was const during the execution of a stored procedure, but not during preparation, it was not re-evaluated when a statement was subsequently executed again, causing an empty result to be returned each time following the first execution. Closed.