[MCOL-1563] Data corruption when inserting out-of-bounds data Created: 2018-07-14 Updated: 2023-10-26 Resolved: 2019-01-21 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | None |
| Affects Version/s: | 1.1.5 |
| Fix Version/s: | 1.1.7 |
| Type: | Bug | Priority: | Major |
| Reporter: | Anders Karlsson | Assignee: | Andrew Hutchings (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Linux CentOS 7.5 |
||
| Attachments: |
|
| Sprint: | 2018-21, 2019-01 |
| Description |
|
The issues seems related to unsigned smallint and inserting through mcsapi
Then load data using this simple c++ program
Back to the MySQL command prompt, the data now looks corrupt:
|
| Comments |
| Comment by Andrew Hutchings (Inactive) [ 2018-12-19 ] | |||||||||||||||||||||||||||||||||
|
For QA: test case added to API regression suite called mcol1563. | |||||||||||||||||||||||||||||||||
| Comment by Zdravelina Sokolovska (Inactive) [ 2019-01-14 ] | |||||||||||||||||||||||||||||||||
|
checked with mariadb-columnstore-api-1.1.7-1.x86_64 , fail to build the given code in #1563
| |||||||||||||||||||||||||||||||||
| Comment by Andrew Hutchings (Inactive) [ 2019-01-21 ] | |||||||||||||||||||||||||||||||||
|
You appear to have include issues and a linking issue in your test. | |||||||||||||||||||||||||||||||||
| Comment by Andrew Hutchings (Inactive) [ 2019-01-21 ] | |||||||||||||||||||||||||||||||||
|
Closing as regression suite nightly runs confirms this is fixed. | |||||||||||||||||||||||||||||||||
| Comment by Zdravelina Sokolovska (Inactive) [ 2019-01-22 ] | |||||||||||||||||||||||||||||||||
|
with the compiled script with source mariadb-columnstore-api dev branch develop-1.1, tag columnstore-1.1.6-47-g7ee34ce
an 22 21:06:16 pm1 ProcessMonitor[11044]: 16.144774 |0|0|0| I 18 CAL0000: MSG RECEIVED: Get Calpont Software Info
note: it's inserted value 65533 in usmallint_t instead of |