Bug #4373 \u behaves differently
Submitted: 2 Jul 2004 12:39 Modified: 4 Sep 2004 5:51
Reporter: David Newcomb (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S3 (Non-critical)
Version:4.1.3-beta-nt-log OS:Microsoft Windows (Win200 sp4)
Assigned to: Sergei Glukhov CPU Architecture:Any

[2 Jul 2004 12:39] David Newcomb
Description:
Behaviour has changed. \u now requires a space before database name.

How to repeat:
C:\tmp\t>mysql -uroot
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 23 to server version: 4.1.3-beta-nt-log

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> show databases;
+----------+
| Database |
+----------+
| bob      |
| mysql    |
+----------+
2 rows in set (0.00 sec)

mysql> \umysql
ERROR:
USE must be followed by a database name
mysql> \u mysql
Database changed

Suggested fix:
4.1.2b - Broken
4.0.x - works
[3 Jul 2004 0:16] Dean Ellis
Verified with 4.1.4/Linux, thank you.
[3 Sep 2004 16:47] Sergei Glukhov
ChangeSet
  1.1993 04/09/03
  Fix for bug #4373: \u behaves differently
[4 Sep 2004 5:51] Sergei Glukhov
Fixed in 4.1 source tree