Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
11.5.1
-
None
-
Can result in unexpected behaviour
Description
The command line client doesn't check session_track information and displays wrong database.
How to repeat:
$> mysql test
|
|
|
MariaDB [test]> execute immediate "use test1";
|
Query OK, 0 rows affected (0.000 sec)
|
|
|
MariaDB [test]> select database();
|
+------------+
|
| database() |
|
+------------+
|
| test1 |
|
+------------+
|
1 row in set (0.000 sec)
|
Only checked with 11.5.1 - but likely all versions are affected.
Attachments
Issue Links
- is duplicated by
-
MDEV-36384 Command-line client keeps showing database in prompt after changing user
-
- Closed
-