[MDEV-33135] Refactor Field::reset() Created: 2023-12-28  Updated: 2024-01-08

Status: Open
Project: MariaDB Server
Component/s: None
Fix Version/s: None

Type: Task Priority: Major
Reporter: Nikita Malyavin Assignee: Nikita Malyavin
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-33049 Assertion `marked_for_write_or_comput... Closed
relates to MDEV-33141 Straight out the write-marking requir... Open

 Description   

Field architecture has accumulated a lot of maintainance debt.

This task is dedicated to refactoring Field::reset:

  • Make it lighter, its purpose is very simple
  • Add sanitizer hints
  • It should be as simple as the return value should be void


 Comments   
Comment by Libing Song [ 2024-01-08 ]

MDEV-33049 added some debug code to suppress an assertion in unpack_field(). They should be removed with this issue together.
https://github.com/MariaDB/server/pull/2953

Generated at Thu Feb 08 10:36:39 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.