[MCOL-3621] Fix memory leaks and other allocation issues Created: 2019-11-21  Updated: 2020-03-10  Resolved: 2019-11-29

Status: Closed
Project: MariaDB ColumnStore
Component/s: None
Affects Version/s: None
Fix Version/s: 1.4.1

Type: Bug Priority: Major
Reporter: Andrew Hutchings (Inactive) Assignee: Daniel Lee (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Issue split
split to MCOL-3816 CLONE - Fix memory leaks and other al... Closed
Sprint: 2019-06

 Description   

This is to track the changes after the cppcheck run which found several issues with memory handling in ColumnStore.



 Comments   
Comment by Andrew Hutchings (Inactive) [ 2019-11-21 ]

For QA: not really much to test here. I suspect things like using a function such as lpad() with LONGTEXT with UTF8 would cause a crash before this patch.

Comment by Daniel Lee (Inactive) [ 2019-11-29 ]

Build verified: 1.4.1-1
engine commit:
57724e5

Unable to reproduce a crash in 1.2.5-1 using the lpad(). Verified by regression with Autopilot test suite funcForText instead.

Generated at Thu Feb 08 02:44:11 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.