[MDEV-16534] PPC64: Unexpected error with a negative value into auto-increment columns in HEAP, MyISAM, ARIA Created: 2018-06-20 Updated: 2018-07-03 Resolved: 2018-06-20 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Platform Power, Storage Engine - Aria, Storage Engine - Memory, Storage Engine - MyISAM |
| Affects Version/s: | 5.5, 10.0, 10.1, 10.2, 10.3, 10.4 |
| Fix Version/s: | 5.5.61, 10.0.36, 10.1.35, 10.2.16, 10.3.8, 10.4.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Description |
|
If I now change ENGINE to HEAP, MyISAM or ARIA:
the script fails in the last INSERT with this error:
Looks wrong. All engines should insert two rows without errors, like InnoDB does. Note, if I run the same scripts on other platforms (e.g. x86-64), all engines work as expected, like InnoDB. The problem resides in these code fragments in HEAP, MyISAM and ARIA implementations respectively:
"char" is unsigned by default on PPC64.
|