mirror of
https://github.com/MariaDB/server.git
synced 2026-05-02 13:15:32 +02:00
Merge mysql.com:/home/kent/bk/build/mysql-4.1-build
into mysql.com:/home/kent/bk/build/mysql-5.0-build ndb/src/common/util/SocketServer.cpp: Auto merged
This commit is contained in:
commit
720b3d15d8
2 changed files with 14 additions and 4 deletions
|
|
@ -112,7 +112,7 @@ SocketServer::setup(SocketServer::Service * service,
|
|||
const int on = 1;
|
||||
if (setsockopt(sock, SOL_SOCKET, SO_REUSEADDR,
|
||||
(const char*)&on, sizeof(on)) == -1) {
|
||||
DBUG_PRINT("error",("getsockopt() - %d - %s",
|
||||
DBUG_PRINT("error",("setsockopt() - %d - %s",
|
||||
errno, strerror(errno)));
|
||||
NDB_CLOSE_SOCKET(sock);
|
||||
DBUG_RETURN(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue