Bug #97251 | use order by Cause data exception | ||
---|---|---|---|
Submitted: | 16 Oct 2019 9:56 | Modified: | 17 Oct 2019 12:17 |
Reporter: | NULL ! NULL ! | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 5.7.27 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | order by data exception |
[16 Oct 2019 9:56]
NULL ! NULL !
[16 Oct 2019 9:57]
NULL ! NULL !
the organizationtype value is losted
[16 Oct 2019 9:59]
NULL ! NULL !
but i cast '3' as signed ,it's normal again.
[16 Oct 2019 12:47]
MySQL Verification Team
Hello Mr. NULL, Thank you for your bug report. However, I fail to see what is it that you are reporting. The language that you are using and the description of the problem is totally undecipherable to me. Can you, please, try to describe more precisely what is it that you find wrong with your query. Next, in order to process further the bug, we would need a complete test case, which should include all tables that are used in the query. Thanks in advance.
[16 Oct 2019 12:49]
MySQL Verification Team
Next, you have a serious error in your query. You use 'organizationtype' as character, while you are comparing it with an integer. Fixed that, for the starters !!!!!!!!!!
[17 Oct 2019 1:30]
NULL ! NULL !
Hi ,Mr.Milivojevic Thank you for your answer I have uploaded the data related to the problem to the system in the form of an attachment, and can run the test sql on MySQL 5.7.27. I am not sure whether it is the problem caused by MySQL's bug or its SQL logic.
[17 Oct 2019 1:32]
NULL ! NULL !
test data info
Attachment: test20191016.zip (application/zip, text), 1.96 MiB.
[17 Oct 2019 12:17]
MySQL Verification Team
Hi, I have ran your test case and I found out that the error is in your SQL.