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

Cleanup: AUTHID is abused by being used as a struct

    XMLWordPrintable

Details

    • Task
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • None

    Description

      There is different logic (getters, setters) related to AUTHID spread around sql_class.h, sp.h, etc. as well as within the AUTHID class member functions as well.

      See: set_invoker, get_definer in sql_class.h.

      There is no constructor defined for AUTHID and it is possible to bring it into an inconsistent state. Refactor this code to make AUTHID self contained have code use it with its presented interface only.

      Attachments

        Activity

          People

            cvicentiu Vicențiu Ciorbaru
            cvicentiu Vicențiu Ciorbaru
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

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