Commit b04f21b5 authored by unknown's avatar unknown
Browse files

Merge mysql.com:/home/stewart/Documents/MySQL/5.0/main

into  mysql.com:/home/stewart/Documents/MySQL/5.0/bug15512

parents c9bf8e28 fc1c0f56
Loading
Loading
Loading
Loading
+10 −7
Original line number Diff line number Diff line
@@ -2040,19 +2040,22 @@ Qmgr::execAPI_VERSION_REQ(Signal * signal) {

  ApiVersionConf * conf = (ApiVersionConf *)req;
  if(getNodeInfo(nodeId).m_connected)
  {
    conf->version =  getNodeInfo(nodeId).m_version;
    struct in_addr in= globalTransporterRegistry.get_connect_address(nodeId);
    conf->inet_addr= in.s_addr;
  }
  else
  {
    conf->version =  0;
    conf->inet_addr= 0;
  }
  conf->nodeId = nodeId;
  struct in_addr in= globalTransporterRegistry.get_connect_address(nodeId);
  conf->inet_addr= in.s_addr;

  sendSignal(senderRef,
	     GSN_API_VERSION_CONF,
	     signal,
	     ApiVersionConf::SignalLength, JBB);


}