Bug #12723 Shared memory connections not working
Submitted: 22 Aug 2005 16:14 Modified: 15 Sep 2005 21:05
Reporter: Reggie Burnett
Status: Closed
Category:Server Severity:S3 (Non-critical)
Version:4.1.13; 5.0.11/BK Windows OS:Microsoft Windows (Windows)
Assigned to: Jim Winstead Target Version:

[22 Aug 2005 16:14] Reggie Burnett
Description:
Shared memory connections do not work in the latest 4.1 and 5.0 releases.

How to repeat:
Either add shared-memory to  the appropriate my.ini file or add it to the comman d line
and start the server.  

Connect to the server using mysql -u root (it will use shared memory by default)

Issue status command.  The output stalls and mysql hangs.
It can be hung with other commands too.
[22 Aug 2005 16:45] Miguel Solorzano
It hangs with show variables command also.
[31 Aug 2005 21:09] Jim Winstead
this happens because we don't support non-blocking reads on shared memory, but the code
isn't quite set up right to deal with that.
[1 Sep 2005 0:04] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/internals/29136
[15 Sep 2005 20:46] Jim Winstead
Fixed in 4.1.15 and 5.0.14.
[15 Sep 2005 21:05] Paul DuBois
Noted in 4.1.15, 5.0.14 changelogs.