[MDEV-17906] Class Binary_string Created: 2018-12-05  Updated: 2018-12-05  Resolved: 2018-12-05

Status: Closed
Project: MariaDB Server
Component/s: Data types
Fix Version/s: 10.4.1

Type: Task Priority: Major
Reporter: Alexander Barkov Assignee: Alexander Barkov
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Blocks
blocks MDEV-13995 MAX(timestamp) returns a wrong result... Closed
is blocked by MDEV-17907 Class Static_binary_string Closed
Relates
relates to MDEV-7063 Split String into logical components Stalled

 Description   

During a review for MDEV-13995 Sanja suggested to have a separate class as an output parameter for val_raw_xxx(), e.g.:

bool val_raw_native(THD *thd, Raw *to);

instead of:

bool val_raw_native(THD *thd, String *to);

Passing a String looks redundant, as val_raw_xxx() does not need a character set.

Under terms of this task we'll:

  • Extract the character-set-unaware part of String into a new class Binary_string
  • Derive String from Binary_string and Charset

Then, while cleaning up the patch for MDEV-13995, we'll introduce a new class Raw and also derive it from Binary_string.


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