Merge remote-tracking branch 'origin/3.0' into enh/TD-30442

This commit is contained in:
Yihao Deng 2024-07-05 07:31:57 +00:00
commit 3202776f0a
1 changed files with 0 additions and 1 deletions

View File

@ -4834,7 +4834,6 @@ int32_t dbChkpDumpTo(SDbChkp* p, char* dname, SArray* list) {
stError("failed to copy file from %s to %s, reason:%s", srcBuf, dstBuf, tstrerror(code));
goto _ERROR;
}
memset(dstBuf, 0, cap);
nBytes = snprintf(dstDir, cap, "%s%s%s", dstDir, TD_DIRSEP, chkpMeta);
if (nBytes <= 0 || nBytes >= cap) {