[MCOL-973] ArithmaticColumn parsing can cause crash Created: 2017-10-13 Updated: 2020-08-25 Resolved: 2017-10-25 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | MDB Plugin |
| Affects Version/s: | 1.0.11, 1.1.0 |
| Fix Version/s: | 1.0.12, 1.1.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Andrew Hutchings (Inactive) | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Sprint: | 2017-20, 2017-21 |
| Description |
|
In ha_calpont_execplan.cpp:2658:
It is possible that "lhs" is NULL. |
| Comments |
| Comment by Andrew Hutchings (Inactive) [ 2017-10-19 ] |
|
Problem is caused by funcexp map not containing double_typecast. We need to implement this and Func_cast_double(). In addition we need to modify ha_calpont_execplan.cpp around line 2595 to catch when lhs is unset due to an unsupported function. |
| Comment by Andrew Hutchings (Inactive) [ 2017-10-20 ] |
|
Three pull requests open. |
| Comment by Daniel Lee (Inactive) [ 2017-10-24 ] |
|
Build verified: Github source for 1.1.1-1 /root/columnstore/mariadb-columnstore-server Merge pull request #72 from mariadb-corporation/ /root/columnstore/mariadb-columnstore-server/mariadb-columnstore-engine removed duplicaue entries Reproduced the "lost connection" error in the before case and verified the error no longer occurring after the fix. |
| Comment by Daniel Lee (Inactive) [ 2017-10-25 ] |
|
Build verified: Github source for 1.0.12-1 /root/columnstore/mariadb-columnstore-server Merge pull request #69 from mariadb-corporation/ /root/columnstore/mariadb-columnstore-server/mariadb-columnstore-engine Merge pull request #300 from mariadb-corporation/ Verified with same tests |