[MDEV-10413] The SQL results are different according to the index. Created: 2016-07-21 Updated: 2016-07-21 Resolved: 2016-07-21 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.0.20 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | sungwon.han | Assignee: | Unassigned |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
centos 6.7, mariadb-jdbc 1.4.6 |
||
| Attachments: |
|
| Description |
|
I found that the SQL results are different according to the index. This data of MDL_SFFX_CD(column) in table maybe affect this result. I provide my.cnf and dump file(purified). Please, Tell me why the SQL result is different.
|
| Comments |
| Comment by Elena Stepanova [ 2016-07-21 ] |
|
If you remove the HAVING clause, you'll see the reason of the problem right away. Please consider using DECIMAL type instead. |
| Comment by sungwon.han [ 2016-07-21 ] |
|
Thanks for response. |