Bug #107488 | JSON_LENGTH returns 1 from NULL JSON Object | ||
---|---|---|---|
Submitted: | 4 Jun 2022 18:50 | Modified: | 4 Jun 2022 18:54 |
Reporter: | David Allen | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: JSON | Severity: | S3 (Non-critical) |
Version: | 8.0.29 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[4 Jun 2022 18:50]
David Allen
[4 Jun 2022 18:54]
David Allen
*sigh* This is the JSON "null" vs. MySQL NULL issue. The IDE was showing null vs (null) for the value because I wasn't using my JSON_EXTRACT_RN (which returns a true null) on it, so it was returning a JSON null value... MySQL has truly handled the JSON NULL issue abhorrently. It's wasted so much time...