Commit 2318f1bf authored by unknown's avatar unknown
Browse files

ndb -

  revert fix bug#21052 as it's wrong, and induces bus-error on node crashes


storage/ndb/src/mgmsrv/Services.cpp:
  revert fix bug#21052 as it's wrong, and induces bus-error on node crashes
parent d747f610
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -1368,12 +1368,6 @@ Ndb_mgmd_event_service::log(int eventType, const Uint32* theData, NodeId nodeId)
    if (ndb_logevent_body[i].index_fn)
      val= (*(ndb_logevent_body[i].index_fn))(val);
    str.appfmt("%s=%d\n",ndb_logevent_body[i].token, val);
    if(strcmp(ndb_logevent_body[i].token,"error") == 0)
    {
      int m_text_len= strlen(m_text);
      snprintf(m_text+m_text_len, 4 , " - ");
      ndb_error_string(theData[3], m_text+(m_text_len+3), sizeof(m_text)-m_text_len-3);
    }
  }
  
  Vector<NDB_SOCKET_TYPE> copy;