mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
This commit is contained in:
commit
a55892acce
3 changed files with 6 additions and 2 deletions
|
@ -68,6 +68,8 @@ struct TCP_TransporterConfiguration {
|
|||
*/
|
||||
struct SHM_TransporterConfiguration {
|
||||
Uint32 port;
|
||||
const char *remoteHostName;
|
||||
const char *localHostName;
|
||||
NodeId remoteNodeId;
|
||||
NodeId localNodeId;
|
||||
bool checksum;
|
||||
|
|
|
@ -383,6 +383,8 @@ IPCConfig::configureTransporters(Uint32 nodeId,
|
|||
if(iter.get(CFG_SHM_BUFFER_MEM, &conf.shmSize)) break;
|
||||
|
||||
conf.port= server_port;
|
||||
conf.localHostName = localHostName;
|
||||
conf.remoteHostName = remoteHostName;
|
||||
|
||||
if(!tr.createTransporter(&conf)){
|
||||
DBUG_PRINT("error", ("Failed to create SHM Transporter from %d to %d",
|
||||
|
|
|
@ -358,8 +358,8 @@ TransporterRegistry::createTransporter(SHM_TransporterConfiguration *config) {
|
|||
return false;
|
||||
|
||||
SHM_Transporter * t = new SHM_Transporter(*this,
|
||||
"localhost",
|
||||
"localhost",
|
||||
config->localHostName,
|
||||
config->remoteHostName,
|
||||
config->port,
|
||||
localNodeId,
|
||||
config->remoteNodeId,
|
||||
|
|
Loading…
Reference in a new issue