[MDEV-9410] VIEW over a ROLLUP query reports too large columns Created: 2016-01-13 Updated: 2017-05-27 Resolved: 2017-05-27 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| Affects Version/s: | 10.1, 10.2 |
| Fix Version/s: | 10.3.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
returns
int(10) and int(20) looks OK as the data type. Now if I add GROUP BY into the VIEW definition:
it still returns the same data types:
Looks OK so far. Now if I add ROLLUP into the VIEW definition as follows:
it returns different data types:
bigint looks too large. int should be enough, as in the GROUP BY query with no ROLLUP. |
| Comments |
| Comment by Alexander Barkov [ 2017-05-27 ] |
|
The fix for Pushed into bb-10.2-ext |