add hard link
This commit is contained in:
parent
14a7fe114d
commit
f55c93b969
|
@ -419,6 +419,7 @@ int32_t backendFileCopyFilesImpl(char* src, char* dst) {
|
||||||
code = copyFiles_hardlink(srcName, dstName, 0);
|
code = copyFiles_hardlink(srcName, dstName, 0);
|
||||||
}
|
}
|
||||||
if (code != 0) {
|
if (code != 0) {
|
||||||
|
stError("failed to copy file, reason: %s", tstrerror(TAOS_SYSTEM_ERROR(code)));
|
||||||
goto _ERROR;
|
goto _ERROR;
|
||||||
}
|
}
|
||||||
memset(srcName, 0, sLen + 64);
|
memset(srcName, 0, sLen + 64);
|
||||||
|
|
Loading…
Reference in New Issue