Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-26669

Add MY_COLLATION_HANDLER functions min_str() and max_str()

Details

    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.

      Attachments

        Issue Links

          Activity

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

            holyfoot Alexey Botchkov added a comment - Ok to push. Take a look at the comment to the patch.

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

            bar Alexander Barkov added a comment - This task was pushed to 10.6.5 in September 2021. Forgot to close the task at the same time. Closing now.

            People

              bar Alexander Barkov
              bar Alexander Barkov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.