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

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

    XMLWordPrintable

Details

    • Not for Release Notes

    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

            People

              serg Sergei Golubchik
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 0.5h
                  0.5h

                  Git Integration

                    Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.