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

Roles aren't supported in prepared statements

Details

    • 10.1.13

    Description

      It's not possible to use CREATE/DROP ROLE in prepared statements. Example:

      MariaDB [(none)]> SET @createRole = 'CREATE ROLE developers';
      Query OK, 0 rows affected (0.00 sec)
      MariaDB [(none)]> PREPARE stmtCreateRole FROM @createRole;
      ERROR 1295 (HY000): This command is not supported in the prepared statement protocol yet

      Attachments

        Issue Links

          Activity

            ratzpo Rasmus Johansson (Inactive) created issue -
            ratzpo Rasmus Johansson (Inactive) made changes -
            Field Original Value New Value
            ratzpo Rasmus Johansson (Inactive) made changes -
            elenst Elena Stepanova made changes -
            Status Open [ 1 ] Confirmed [ 10101 ]
            elenst Elena Stepanova made changes -
            Comment [ We have this one already, MDEV-5522. ]
            cvicentiu Vicențiu Ciorbaru made changes -
            Assignee Vicentiu Ciorbaru [ cvicentiu ]
            ratzpo Rasmus Johansson (Inactive) made changes -
            Sprint 10.1.13 [ 42 ]
            ratzpo Rasmus Johansson (Inactive) made changes -
            Rank Ranked lower
            cvicentiu Vicențiu Ciorbaru made changes -
            Status Confirmed [ 10101 ] In Progress [ 3 ]
            cvicentiu Vicențiu Ciorbaru made changes -
            Assignee Vicentiu Ciorbaru [ cvicentiu ] Sergei Golubchik [ serg ]
            Status In Progress [ 3 ] In Review [ 10002 ]
            serg Sergei Golubchik made changes -
            Assignee Sergei Golubchik [ serg ] Vicentiu Ciorbaru [ cvicentiu ]
            Status In Review [ 10002 ] Stalled [ 10000 ]
            cvicentiu Vicențiu Ciorbaru made changes -
            issue.field.resolutiondate 2016-03-22 20:25:45.0 2016-03-22 20:25:45.856
            cvicentiu Vicențiu Ciorbaru made changes -
            Component/s Admin statements [ 11400 ]
            Component/s Prepared Statements [ 10804 ]
            Fix Version/s 10.1.13 [ 21803 ]
            Fix Version/s 10.1 [ 16100 ]
            Resolution Fixed [ 1 ]
            Status Stalled [ 10000 ] Closed [ 6 ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 73719 ] MariaDB v4 [ 150023 ]

            People

              cvicentiu Vicențiu Ciorbaru
              ratzpo Rasmus Johansson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 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.