Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb

into mysql.com:/home/jonas/src/mysql-5.0-ndb
This commit is contained in:
unknown 2005-01-21 13:20:35 +01:00
commit 99729cb1b3

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;
}