Bug #12723 Shared memory connections not working
Submitted: 22 Aug 2005 14:14 Modified: 15 Sep 2005 19:05
Reporter: Reggie Burnett Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:4.1.13; 5.0.11/BK Windows OS:Windows (Windows)
Assigned to: Jim Winstead CPU Architecture:Any

[22 Aug 2005 14: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 14:45] MySQL Verification Team
It hangs with show variables command also.
[31 Aug 2005 19: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.
[31 Aug 2005 22: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 18:46] Jim Winstead
Fixed in 4.1.15 and 5.0.14.
[15 Sep 2005 19:05] Paul DuBois
Noted in 4.1.15, 5.0.14 changelogs.