• unknown's avatar
    Add (optional) endian parameter to 'get nodeid' to warn on endian conflicts. · a5cc93b9
    unknown authored
    
    ndb/src/mgmapi/mgmapi.cpp:
      Send an extra (optional) parameter to 'get nodeid' to detect potential endianness conflicts.
      
      endian: big
      endian: small
      
      Server will deny our nodeid request if we're not compatible.
      
      If parameter is not specified, we behave how we used to (work or fail).
    ndb/src/mgmsrv/Services.cpp:
      Add extra (optional) parameter to 'get nodeid' to detect potential endianness conflicts.
      
      endian: big
      endian: little
      
      we will deny the nodeid request if the endian parameter is provided and the endian doesn't match.
      
      This should preserve compatibility with all clients.
    BitKeeper/etc/logging_ok:
      Logging to logging@openlogging.org accepted
    a5cc93b9
mgmapi.cpp 47.4 KB