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

MYSQL struct in C/C and server differs

    XMLWordPrintable

Details

    Description

      The MYSQL structure in the server is not the same as in C/C — they diverged when MEM_ROOT got PSI_memory_key member and thus became larger than MA_MEM_ROOT. This means that all offsets in MYSQL after the memroot are different in the server. And if a server plugin (which uses server's MYSQL) needs to load a client plugin (which is part of C/C and uses its MYSQL definition), the plugin might corrupt caller's MYSQL.

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              serg Sergei Golubchik
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.