[MDEV-23481] BIGINT UNSIGNED value is out of range in '`test`.`edge`.`x1` - 1' Created: 2020-08-14 Updated: 2021-06-09 Resolved: 2021-06-09 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data types |
| Affects Version/s: | 10.5.4 |
| Fix Version/s: | 10.5.11 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Georg Richter | Assignee: | Oleksandr Byelkin |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
When executing the following example server sends metadata + error packet instead of sending metadata and data:
Output:
Running the same statement in text protocol returns correct result:
|
| Comments |
| Comment by Georg Richter [ 2020-08-14 ] | ||||||||||||||||||||||||||||||||||||||
|
Note: When setting bind[i].is_unsigned=0 everything works as expected. | ||||||||||||||||||||||||||||||||||||||
| Comment by Oleksandr Byelkin [ 2021-06-09 ] | ||||||||||||||||||||||||||||||||||||||
|
As we figured it out, it is normal when after metadata goes error packet | ||||||||||||||||||||||||||||||||||||||
| Comment by Oleksandr Byelkin [ 2021-06-09 ] | ||||||||||||||||||||||||||||||||||||||
|
ah, problem is error at all | ||||||||||||||||||||||||||||||||||||||
| Comment by Oleksandr Byelkin [ 2021-06-09 ] | ||||||||||||||||||||||||||||||||||||||
|
[MySQL-10.5.11-MariaDB-debug-log][1690] BIGINT UNSIGNED value is out of range i is the error. | ||||||||||||||||||||||||||||||||||||||
| Comment by Oleksandr Byelkin [ 2021-06-09 ] | ||||||||||||||||||||||||||||||||||||||
|
test suite for client test, without unneeded thing, with cleanup:
| ||||||||||||||||||||||||||||||||||||||
| Comment by Oleksandr Byelkin [ 2021-06-09 ] | ||||||||||||||||||||||||||||||||||||||
|
It has nothing to do with PS, here is text protocol example of the same bahaviour:
result:
|