Bug #2236 | mysql_real_connect() doesnt default to named pipe w/ null host | ||
---|---|---|---|
Submitted: | 30 Dec 2003 8:02 | Modified: | 6 Jan 2004 4:23 |
Reporter: | Edmund Mierzwa | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 4.1.2 | OS: | Windows (WinXP) |
Assigned to: | CPU Architecture: | Any |
[30 Dec 2003 8:02]
Edmund Mierzwa
[3 Jan 2004 11:19]
MySQL Verification Team
I assume that you are using a server built for yourself since the release package is 4.1.1. If yes could you please say me what is the last changeset from the BK tree that you used for to compile that server.
[5 Jan 2004 17:28]
MySQL Verification Team
The changeset you have mentioned are only one day later regarding to the changeset 1.1664.1.1 which has fixed a bug with the named pipe. Then please open the file /vio/vio.c and verify around the line 43: #ifdef __WIN__ if (type == VIO_TYPE_NAMEDPIPE) { vio->viodelete =vio_delete; vio->vioerrno =vio_errno; vio->read =vio_read_pipe; vio->write =vio_write_pipe; vio->fastsend =vio_fastsend; vio->viokeepalive =vio_keepalive; vio->should_retry =vio_should_retry; vio->vioclose =vio_close_pipe; vio->peer_addr =vio_peer_addr; vio->in_addr =vio_in_addr; vio->vioblocking =vio_blocking; vio->is_blocking =vio_is_blocking; vio->timeout =vio_ignore_timeout; } if exist the line: vio->timeout =vio_ignore_timeout; if no, please update your repository and compile the server and test it again. Otherwise let me know via this forum. Thanks.