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

Hashicorp: refactoring to wrap static variables into a class

Details

    Description

      Based on the results of the review for MDEV-28277 and MDEV-28276, it was decided that it was necessary to refactor the code of initialization and deinitialization functions to get rid of a large number of gotos and complex conditions for memory deallocation. As a solution, it is proposed to move all variables that need to be deallocated to a special data class of the Hashicorp plugin.

      Attachments

        Issue Links

          Activity

            Ok to push.

            bar Alexander Barkov added a comment - Ok to push.
            sysprg Julius Goryavsky added a comment - Fixed, https://github.com/MariaDB/server/commit/8ae5408cab4452850a4de03032c7e8c8aa6dfbd9

            People

              sysprg Julius Goryavsky
              sysprg Julius Goryavsky
              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.