add hard link

This commit is contained in:
Yihao Deng 2024-01-15 08:27:35 +00:00
parent 14a7fe114d
commit f55c93b969
1 changed files with 1 additions and 0 deletions

View File

@ -419,6 +419,7 @@ int32_t backendFileCopyFilesImpl(char* src, char* dst) {
code = copyFiles_hardlink(srcName, dstName, 0);
}
if (code != 0) {
stError("failed to copy file, reason: %s", tstrerror(TAOS_SYSTEM_ERROR(code)));
goto _ERROR;
}
memset(srcName, 0, sLen + 64);