[MDEV-28651] quote(NULL) returns incorrect result in view ('NU' instead of 'NULL') Created: 2022-05-24 Updated: 2024-01-23 Resolved: 2024-01-23 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| Affects Version/s: | 10.3, 10.4, 10.5, 10.6, 10.7, 10.8, 10.9 |
| Fix Version/s: | 10.5.24, 10.6.17, 10.11.7, 11.0.5, 11.1.4, 11.2.3, 11.4.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Lena Startseva | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | view-protocol | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
Test:
Actual result:
Expected result:
|
| Comments |
| Comment by Oleksandr Byelkin [ 2022-12-01 ] | |||||||||||||||||||||||||||||
|
It looks like some type processing mismatch:
| |||||||||||||||||||||||||||||
| Comment by Oleksandr Byelkin [ 2022-12-01 ] | |||||||||||||||||||||||||||||
|
I looks like metainformation is wrong, so save in field saves only NU from NULL | |||||||||||||||||||||||||||||
| Comment by Oleksandr Byelkin [ 2022-12-01 ] | |||||||||||||||||||||||||||||
|
Probably duplicate of MDEV-29552 (but versions mismatch) |