[MDEV-26669] Add MY_COLLATION_HANDLER functions min_str() and max_str() Created: 2021-09-23  Updated: 2023-04-24  Resolved: 2023-04-24

Status: Closed
Project: MariaDB Server
Component/s: Character Sets
Fix Version/s: 10.6.5

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

Issue Links:
Blocks
blocks MCOL-4871 Extent elimination for short CHAR doe... Closed

 Description   

In order to fix MCOL-4871, ColumnStore needs two new functions in MY_COLLATION_HANDLER:

  /*
    Make minimum and maximum strings for the collation.
    Put not more than "nchars" characters.
  */
  size_t (*min_str)(CHARSET_INFO *cs, uchar *dst, size_t dstlen, size_t nchars);
  size_t (*max_str)(CHARSET_INFO *cs, uchar *dst, size_t dstlen, size_t nchars);

Note, this functionality is not needed in the server at this point. No MTR tests are possible. So tests should be done in unittest/strings/strings-t.c.



 Comments   
Comment by Alexey Botchkov [ 2021-09-26 ]

Ok to push.
Take a look at the comment to the patch.

Comment by Alexander Barkov [ 2023-04-24 ]

This task was pushed to 10.6.5 in September 2021.
Forgot to close the task at the same time. Closing now.

Generated at Thu Feb 08 09:47:03 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.