Bug #7922 prompt \p fails on Windows for shared-memory connections
Submitted: 15 Jan 2005 6:44 Modified: 17 Jan 2005 20:27
Reporter: Paul DuBois Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S3 (Non-critical)
Version:4.1.8 OS:Windows (Windows 2000)
Assigned to: Reggie Burnett CPU Architecture:Any

[15 Jan 2005 6:44] Paul DuBois
Description:
In mysql, the \p prompt string indicates the current
TCP/IP port number, Unix socket filename, or Windows
named pipe name. However, MySQL now supports
shared-memory connections on Windows, and these
are not reflected in the value of \p -- it should print
the shared-memory name. Instead, it prints the TCP/IP
port number.

How to repeat:
Start the server with --enable-shared-memory to make
sure that it supports shared-memory connections.

Start mysql with --protocol=memory to make sure that
it makes a shared-memory connection (verify with STATUS).

Then change the prompt with: prompt \p

The prompt will display the TCP/IP port number, not
the shared-memory name.
[16 Jan 2005 1:27] MySQL Verification Team
Thank you for the bug report.