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

Command-line client keeps showing database in prompt after changing user

Details

    Description

      MariaDB [test]> set session authorization foo@localhost;
      Query OK, 0 rows affected (0.001 sec)
       
      MariaDB [test]> select database();
      +------------+
      | database() |
      +------------+
      | NULL       |
      +------------+
      1 row in set (0.001 sec)
       
      MariaDB [test]> 
      

      It is a bit misleading if a user doesn't expect it and then hits "No database selected".

      Attachments

        Issue Links

          Activity

            Transition Time In Source Status Execution Times
            Sergei Golubchik made transition -
            Open In Progress
            30d 19h 27m 1
            Sergei Golubchik made transition -
            In Progress In Testing
            4s 1

            People

              serg Sergei Golubchik
              elenst Elena Stepanova
              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.