[MDEV-28585] Wrong result for view defined as SELECT ROW(1,2,3) = (SELECT 1,2,NULL) Created: 2022-05-17 Updated: 2023-11-28 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.3, 10.4, 10.5, 10.6, 10.7, 10.8, 10.9 |
| Fix Version/s: | 10.11 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Lena Startseva | Assignee: | Oleksandr Byelkin |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | view-protocol | ||
| Issue Links: |
|
||||||||||||||||||||
| Description |
|
Query
return as result
But the view with such definition returns 0: Test:
Actual result:
Query plans are also very different:
view
|
| Comments |
| Comment by Lena Startseva [ 2022-05-24 ] | |||||||||||||||||
|
The same problem with function BENCHMARK(count,expr)
Actual result:
Expected result:
Query plans:
view
| |||||||||||||||||
| Comment by Oleksandr Byelkin [ 2022-12-01 ] | |||||||||||||||||
|
It looks like the same problem with types, but now it just loose NULL |