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

Collation: Create shared library for engines to use

Details

    Description

      In order for handler engines, e.g. columnstore, to collate correctly and identically to innodb, we need access to the same collation code as the server. currently this code is included in server as object files, making it difficult for other projects to include it. This JIRA is a request to include the code in a shared library accessible by both the server and engines.

      Note that having it as service is not enough, because some engines (e.g. columnstore) has separately running binaries that needs to collate strings too.

      Attachments

        Issue Links

          Activity

            Code bloat is not an issue, those libraries are rather tiny. David.Hall, should be keep the issue open, or can we close this, if static linking works for you?

            wlad Vladislav Vaintroub added a comment - Code bloat is not an issue, those libraries are rather tiny. David.Hall , should be keep the issue open, or can we close this, if static linking works for you?

            If the libs are ready, this can be closed. I may need to bother you if I have problems getting things to link. Probably won't have a problem, but you never know.

            David.Hall David Hall (Inactive) added a comment - If the libs are ready, this can be closed. I may need to bother you if I have problems getting things to link. Probably won't have a problem, but you never know.

            The libs are "strings", they are there, and always been, during the server build. The interdependency between strings and mysys is mentioned by serg, so one might need to link with mysys as well, and also with dbug.

            wlad Vladislav Vaintroub added a comment - The libs are "strings", they are there, and always been, during the server build. The interdependency between strings and mysys is mentioned by serg , so one might need to link with mysys as well, and also with dbug.

            Supporting collation/charset code is in mysys — loading, comparing, compiling, etc. Actual collations/charsets are in string.

            serg Sergei Golubchik added a comment - Supporting collation/charset code is in mysys — loading, comparing, compiling, etc. Actual collations/charsets are in string.

            I'm closing it for now. Hopefully there is no problems with proposed solution (static libs)

            wlad Vladislav Vaintroub added a comment - I'm closing it for now. Hopefully there is no problems with proposed solution (static libs)

            People

              wlad Vladislav Vaintroub
              David.Hall David Hall (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              9 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.