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

Roles aren't supported in prepared statements

    XMLWordPrintable

    Details

    • Sprint:
      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

              Assignee:
              cvicentiu Vicențiu Ciorbaru
              Reporter:
              ratzpo Rasmus Johansson
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: