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

Feature Request: KILL USER <expr>

    XMLWordPrintable

Details

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

    Description

      I beilive this is a feature request, because KILL works as documented.

      With KILL <thread_id> one can pass an expression:

       
      MariaDB [(none)]> SET @x = 100;
      Query OK, 0 rows affected (0.00 sec)
       
      MariaDB [(none)]> KILL @x + 1;
      ERROR 1094 (HY000): Unknown thread id: 101

      But with KILL USER you can't. I'm writing a Stored Proc where I may want to execute KILL; Prepared Statements are a good workaround, but passing a variable could be much less verbose.

      Attachments

        Activity

          People

            Unassigned Unassigned
            f_razzoli Federico Razzoli
            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.