Bug #7922 prompt \p fails on Windows for shared-memory connections
Submitted: 15 Jan 2005 7:44 Modified: 17 Jan 2005 21:27
Reporter: Paul DuBois
Status: Closed
Category:Client Severity:S3 (Non-critical)
Version:4.1.8 OS:Microsoft Windows (Windows 2000)
Assigned to: Reggie Burnett Target Version:

[15 Jan 2005 7: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 2:27] Miguel Solorzano
Thank you for the bug report.