-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
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
STRCMP()
result error
#28384
Comments
1. Minimal reproduce step
2. What did you expect to see? (Required)
3. What did you see instead (Required)
|
Interesting... I think this is a bug of MySQL, as you can see from the manual:
However, if you run the following in MySQL, the result is confusing:
|
I just found bug #57104 has been reported to MySQL, however, it is marked as 'not a bug'(I don't agree with it). So I think TiDB is the one that followed the manual and it is not a bug of TiDB. |
a return value of 0 from |
|
master git commit: 74b3294 |
@xiongjiwei I see, thanks for correcting me. |
@jebter it only affects master, I will remove the lables |
I'd like to change the severity to major since it only affects the master bransh |
Please check whether the issue should be labeled with 'affects-x.y' or 'fixes-x.y.z', and then remove 'needs-more-info' label. |
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: