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

Locking mysql.user view and invoking flush privileges

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 10.5
    • None
    • Server
    • None

    Description

      When locking the mysql.user view and invoking flush privileges obtained behavior is as such:

      MariaDB [(none)]> flush privileges;
      Query OK, 0 rows affected (0.001 sec)
       
      MariaDB [(none)]> lock tables mysql.user write;
      Query OK, 0 rows affected (0.001 sec)
       
      MariaDB [(none)]> flush privileges;
      ERROR 1100 (HY000): Table 'db' was not locked with LOCK TABLES
      

      Some reference (documentation) of above behavior would be great.

      Attachments

        Activity

          People

            Unassigned Unassigned
            anel Anel Husakovic
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.