You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix JSON key ordering tests for MySQL 8.0.40 compatibility
MySQL 8.0.40 changed JSON key ordering behavior - it now sorts keys alphabetically when storing/retrieving JSON data. Additionally, MySQL requires CAST(@param AS json) for JSON comparisons, while MariaDB does not.
Updated three tests to use conditional SQL assertions based on server type:
- JsonMicrosoftDomQueryTest.Parameter_document
- JsonMicrosoftDomQueryTest.Parameter_element
- JsonNewtonsoftDomQueryTest.Parameter_element
Tests now pass on both MySQL 8.0.40 and MariaDB 11.3.2+
Co-authored-by: renemadsen <76994+renemadsen@users.noreply.github.com>
0 commit comments