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

Roles aren't supported in prepared statements

    XMLWordPrintable

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

            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.