[MDEV-28939] bigint does not work in where clause Created: 2022-06-24 Updated: 2022-08-02 Resolved: 2022-08-02 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.6.8 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Eunbi Jang | Assignee: | Unassigned |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Linux |
||
| Attachments: |
|
| Description |
|
In my view(not a table, I use view using csv file and innodb ), there are two BIGINT column, one with index and the other one doesn't have it. The Column with index has no problem, but when I select value from column which doesn't have index, I got problem. 1. Using < or = but if i use "2147483648" which is bigger than max value of INTEGER type > select count ( * ) from my_data where col = 2147483648; 2. Using > but if i use "2147483648" which is bigger than max value of INTEGER type However, if i compare value using "case when" or "like" clause they have no problem... I think it is kind of bugs but I'm not sure.... Thanks |
| Comments |
| Comment by Sergei Golubchik [ 2022-07-04 ] |
|
Can you show the definition of your view and tables, please? |