mirror of
https://github.com/MariaDB/server.git
synced 2025-01-24 15:54:37 +01:00
EventLogger.cpp:
fixed node id printout bug ndb/src/common/debugger/EventLogger.cpp: fixed node id printout bug
This commit is contained in:
parent
e5dc829806
commit
9351499b2d
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue