We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In MySQL 5.7:
1149 if (type != ROW_RESULT && 1150 (((*a)->result_type() == STRING_RESULT && 1151 (*a)->field_type() == MYSQL_TYPE_JSON) || 1152 ((*b)->result_type() == STRING_RESULT && 1153 (*b)->field_type() == MYSQL_TYPE_JSON))) 1154 { 1155 // Use the JSON comparator if at least one of the arguments is JSON. 1156 is_nulls_eq= is_owner_equal_func(); 1157 func= &Arg_comparator::compare_json; 1158 return 0; 1159 }
If one of the compare args is json value, the other should be casted to json.
The text was updated successfully, but these errors were encountered:
expression: use a relax json comparison cast rule (#37404)
d46da50
close #37403
YangKeao
Successfully merging a pull request may close this issue.
Enhancement
In MySQL 5.7:
If one of the compare args is json value, the other should be casted to json.
The text was updated successfully, but these errors were encountered: