Bug #87383 | Make cached Json_path objects immutable | ||
---|---|---|---|
Submitted: | 10 Aug 2017 20:03 | Modified: | 15 Sep 2017 5:29 |
Reporter: | Knut Anders Hatlen | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: JSON | Severity: | S3 (Non-critical) |
Version: | 8.0.3 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[10 Aug 2017 20:03]
Knut Anders Hatlen
[15 Sep 2017 5:29]
Jon Stephens
Fixed in trunk. Documented in the changelog as follows: JSON_SEARCH() no longer performs any modification of cached Json_path objects, now making any needed updates to a String object that represents the path instead. This saves on the number of round trips required between the path's Json_path and String representation, which speeds up execution. In addition, the one-or-all and escape arguments to JSON_SEARCH() were unnecessarily cached; these arguments are no longer cached, which should also improve this function's execution time. Closed.