EventLogger.cpp:

fixed node id printout bug


ndb/src/common/debugger/EventLogger.cpp:
  fixed node id printout bug
This commit is contained in:
unknown 2005-01-21 12:50:18 +01:00
parent e5dc829806
commit 9351499b2d

View file

@ -789,7 +789,8 @@ EventLogger::getText(char * dst, size_t dst_len,
BaseString::snprintf(dst, dst_len, "Node %u: ", nodeId);
pos= strlen(dst);
}
textF(dst,dst_len,theData);
if (dst_len-pos > 0)
textF(dst+pos,dst_len-pos,theData);
return dst;
}