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

Add MY_COLLATION_HANDLER functions min_str() and max_str()

    XMLWordPrintable

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

            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.